SDES2GETMEDLIST ;ALB/JAS,JAS - SDES2 GET PATIENT'S MEDICATIONS LIST ; 27 Sept 2024 12:27 PM
Source file <SDES2GETMEDLIST.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 5 | $$FMTISO^SDAMUTDT (BUILDJSON,ERRLOG)^SDES2JSON VALCONTEXT^SDES2VALCONTEXT ($$VALISODATERANGE,$$VALISODTTM)^SDES2VALISODTTM VALFILEIEN^SDES2VALUTIL |
Order Entry Results Reporting | 1 | LIST^ORQQPS |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETMEDLIST(JSONRETURN,SDCONTEXT,PARAMS) | ; Get Patient's Medications List
|
|
VALPARAMS(PARAMS,SDERRORS) | ; Validate and Process DFNs
|
|
MEDLIST(SDRETURN,SDDFN,SDSTRTDT,SDENDDT) | ;
|
Name | Field # of Occurrence |
---|---|
LIST^ORQQPS | MEDLIST+5 |
$$FMTISO^SDAMUTDT | MEDLIST+19 |
BUILDJSON^SDES2JSON | GETMEDLIST+7, GETMEDLIST+12, GETMEDLIST+23 |
ERRLOG^SDES2JSON | VALPARAMS+25 |
VALCONTEXT^SDES2VALCONTEXT | GETMEDLIST+6 |
$$VALISODATERANGE^SDES2VALISODTTM | VALPARAMS+19 |
$$VALISODTTM^SDES2VALISODTTM | VALPARAMS+15, VALPARAMS+17 |
VALFILEIEN^SDES2VALUTIL | VALPARAMS+5 |
RPC Name | Call Tags |
---|---|
SDES2 GET PATIENT MED LIST | GETMEDLIST |
Name | Line Occurrences |
---|---|
$$VALPARAMS | GETMEDLIST+11 |
MEDLIST | GETMEDLIST+18 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DRG | MEDLIST+24! |
DT | VALPARAMS+23 |
DTRANGE | GETMEDLIST+2~, GETMEDLIST+11*, GETMEDLIST+13 |
ENDDT | VALPARAMS+10~, VALPARAMS+22*, VALPARAMS+24*, VALPARAMS+25, VALPARAMS+26 |
ENDDTISO | VALPARAMS+10~, VALPARAMS+13*, VALPARAMS+15, VALPARAMS+17, VALPARAMS+19 |
FMDATES | VALPARAMS+10~, VALPARAMS+15*, VALPARAMS+17*, VALPARAMS+19*, VALPARAMS+22 |
JSONRETURN | GETMEDLIST~, GETMEDLIST+7, GETMEDLIST+12, GETMEDLIST+23 |
LSTDS | MEDLIST+24! |
LSTFD | MEDLIST+24! |
LSTRD | MEDLIST+24! |
MEDDATA | MEDLIST+1~, MEDLIST+13* |
PARAMS | GETMEDLIST~, GETMEDLIST+11, VALPARAMS~ |
PARAMS("DFN" | GETMEDLIST+17, VALPARAMS+5 |
PARAMS("END D | ATE" , VALPARAMS+13 |
PARAMS("START | DATE" , VALPARAMS+12 |
SDCONTEXT | GETMEDLIST~, GETMEDLIST+6 |
SDCOUNT | MEDLIST+1~, MEDLIST+11*, MEDLIST+12*, MEDLIST+13, MEDLIST+17, MEDLIST+18, MEDLIST+19, MEDLIST+20, MEDLIST+21, MEDLIST+22 |
SDDFN | GETMEDLIST+2~, GETMEDLIST+17*, GETMEDLIST+18, MEDLIST~, MEDLIST+5 |
SDENDDT | GETMEDLIST+2~, GETMEDLIST+13*, GETMEDLIST+18, MEDLIST~, MEDLIST+5 |
SDERRORS | GETMEDLIST+2~, GETMEDLIST+6, GETMEDLIST+7, GETMEDLIST+11, GETMEDLIST+12, VALPARAMS~, VALPARAMS+5, VALPARAMS+6, VALPARAMS+15, VALPARAMS+17 , VALPARAMS+19, VALPARAMS+20, VALPARAMS+25 |
SDRESULT | MEDLIST+1~, MEDLIST+5, MEDLIST+7 |
SDRESULT( | MEDLIST+12, MEDLIST+13, MEDLIST+17, MEDLIST+18, MEDLIST+19, MEDLIST+20, MEDLIST+21, MEDLIST+22 |
SDRETURN | GETMEDLIST+2~, GETMEDLIST+7*, GETMEDLIST+12*, GETMEDLIST+18, GETMEDLIST+22, GETMEDLIST+23, MEDLIST~ |
SDRETURN("Medication" | GETMEDLIST+7*, GETMEDLIST+12*, GETMEDLIST+22*, MEDLIST+17*, MEDLIST+18*, MEDLIST+19*, MEDLIST+20*, MEDLIST+21*, MEDLIST+22* |
SDSTRTDT | GETMEDLIST+2~, GETMEDLIST+13*, GETMEDLIST+18, MEDLIST~, MEDLIST+5 |
STRTDT | VALPARAMS+10~, VALPARAMS+22*, VALPARAMS+23*, VALPARAMS+25, VALPARAMS+26 |
STRTDTISO | VALPARAMS+10~, VALPARAMS+12*, VALPARAMS+15, VALPARAMS+17, VALPARAMS+19 |
U | VALPARAMS+17, VALPARAMS+22 |
VALRET | VALPARAMS+4~, VALPARAMS+5, VALPARAMS+6 |