fixed OpenVistA MRN retrieval and Vitals typo
This commit is contained in:
parent
a7c7316e01
commit
d486df2760
|
@ -95,7 +95,7 @@ PATIENT(INXML,AIEN,AOID,OUTXML) ; PROCESS A PATIENT ACTOR
|
|||
S @AMAP@("ACTORSSN")=""
|
||||
S @AMAP@("ACTORSSNTEXT")=""
|
||||
S @AMAP@("ACTORSSNSOURCEID")=""
|
||||
I $G(^MSCDPTID)]"" S MRN=$$^MSCDPTID(DFN) ;TEST FOR MRN ON OPENVISTA ;GPL
|
||||
I $T(^MSCDPTID)]"" S MRN=$$^MSCDPTID(DFN) ;TEST FOR MRN ON OPENVISTA ;GPL
|
||||
I $D(MRN) D ; IF MRN IS PRESENT
|
||||
. S @AMAP@("ACTORSSN")=MRN
|
||||
. S @AMAP@("ACTORSSNTEXT")="MRN"
|
||||
|
|
|
@ -60,7 +60,7 @@ EXTRACT(VITXML,DFN,VITOUTXML) ; EXTRACT VITALS INTO PROVIDED XML TEMPLATE
|
|||
. . . S @VITVMAP@("VITALSIGNSTESTOBJECTID")="VITALTEST"_J
|
||||
. . . S @VITVMAP@("VITALSIGNSTESTTYPETEXT")="OBSERVED"
|
||||
. . . S @VITVMAP@("VITALSIGNSDESCRIPTIONTEXT")="HEIGHT"
|
||||
. . . S @VITVMAP@("VITALSIGNSDESCODEVALUE")="248327008"
|
||||
. . . S @VITVMAP@("VITALSIGNSDESCCODEVALUE")="248327008"
|
||||
. . . S @VITVMAP@("VITALSIGNSDESCCODINGSYSTEM")="SNOMED"
|
||||
. . . S @VITVMAP@("VITALSIGNSCODEVERSION")=""
|
||||
. . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P(^GMR(120.5,$P(VITPTMP,U,1),0),U,6)
|
||||
|
|
Loading…
Reference in New Issue