SDES2VALCONTEXT ;ALB/MGD,LAB - ACHERON CONTEXT VALIDATION UTILITIES ;SEP 01,2023
Source file <SDES2VALCONTEXT.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 4 | ERRLOG^SDES2JSON $$VALACHERONID^SDES2UTIL (VALPATDFN,VALPATICN)^SDES2VAL2 (VALSECID,VALUSERDUZ)^SDES2VAL200 |
VA FileMan | 1 | $$FIND1^DIC |
Name | Comments | DBIA/ICR reference |
---|---|---|
VALCONTEXT(SDERRORS,SDCONTEXT) | ; Validate SDCONTEXT Array
; Required Input Variables |
|
VALACHERONID(SDERRORS,SDACHERONID) | ; Validate Acheron EAS ID
|
|
DUZSECIDMATCH(SDERRORS,USERDUZ,USERSECID) | ;verify that sent in values are for same user
|
|
DFNICNMATCH(SDERRORS,PATDFN,PATICN) | ;verify that sent in values are same for patient
|
Name | Field # of Occurrence |
---|---|
$$FIND1^DIC | DUZSECIDMATCH+3 |
ERRLOG^SDES2JSON | VALACHERONID+1, VALACHERONID+2, DUZSECIDMATCH+4, DFNICNMATCH+2 |
$$VALACHERONID^SDES2UTIL | VALACHERONID+2 |
VALPATDFN^SDES2VAL2 | VALCONTEXT+4 |
VALPATICN^SDES2VAL2 | VALCONTEXT+5 |
VALSECID^SDES2VAL200 | VALCONTEXT+7 |
VALUSERDUZ^SDES2VAL200 | VALCONTEXT+6 |
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | FIND1^DIC |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT("AICN" | DFNICNMATCH+2 |
Name | Line Occurrences |
---|---|
DFNICNMATCH | VALCONTEXT+10 |
DUZSECIDMATCH | VALCONTEXT+9 |
VALACHERONID | VALCONTEXT+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
PATDFN | DFNICNMATCH~, DFNICNMATCH+1, DFNICNMATCH+2 |
PATICN | DFNICNMATCH~, DFNICNMATCH+1, DFNICNMATCH+2 |
SDACHERONID | VALACHERONID~, VALACHERONID+1, VALACHERONID+2 |
SDCONTEXT | VALCONTEXT~ |
SDCONTEXT("AC | HERON AUDIT ID" , VALCONTEXT+2 |
SDCONTEXT("PA | TIENT DFN" , VALCONTEXT+4, VALCONTEXT+10, TIENT ICN" , VALCONTEXT+5, VALCONTEXT+10 |
SDCONTEXT("US | ER DUZ" , VALCONTEXT+6, VALCONTEXT+9, ER SECID" , VALCONTEXT+7, VALCONTEXT+9 |
SDERRORS | VALCONTEXT~, VALCONTEXT+2, VALCONTEXT+4, VALCONTEXT+5, VALCONTEXT+6, VALCONTEXT+7, VALCONTEXT+8, VALCONTEXT+9, VALCONTEXT+10, VALACHERONID~ , VALACHERONID+1, VALACHERONID+2, DUZSECIDMATCH~, DUZSECIDMATCH+4, DFNICNMATCH~, DFNICNMATCH+2 |
SECIDDUZ | DUZSECIDMATCH+1~, DUZSECIDMATCH+3*, DUZSECIDMATCH+4 |
USERDUZ | DUZSECIDMATCH~, DUZSECIDMATCH+2, DUZSECIDMATCH+4 |
USERSECID | DUZSECIDMATCH~, DUZSECIDMATCH+2, DUZSECIDMATCH+3 |