fixed crash in CCD processing

This commit is contained in:
george 2008-07-30 18:56:15 +00:00
parent 17411a6e9b
commit 6595d3260c
1 changed files with 3 additions and 3 deletions

View File

@ -77,11 +77,11 @@ CCDRPC(CCRGRTN,DFN,CCRPART,TIME1,TIME2,HDRARY) ;RPC ENTRY POINT FOR CCR OUTPUT
;
I 'CCD D HDRMAP(CCDGLO,DFN,HDRARY) ; MAP HEADER VARIABLES
; MAPPING THE PATIENT PORTION OF THE CDA HEADER
S ZX="//ContinuityOfCareRecord/recordTarget/patientRole/patient"
D QUERY^GPLXPATH(CCDGLO,ZX,"ACTT1")
S ZZX="//ContinuityOfCareRecord/recordTarget/patientRole/patient"
D QUERY^GPLXPATH(CCDGLO,ZZX,"ACTT1")
D PATIENT^GPLACTORS("ACTT1",DFN,"ACTORPATIENT_"_DFN,"ACTT2") ; MAP PATIENT
I DEBUG D PARY^GPLXPATH("ACTT2")
D REPLACE^GPLXPATH(CCDGLO,"ACTT2",ZX)
D REPLACE^GPLXPATH(CCDGLO,"ACTT2",ZZX)
I DEBUG D PARY^GPLXPATH(CCDGLO)
K ACTT1 K ACCT2
; MAPPING THE PROVIDER ORGANIZATION,AUTHOR,INFORMANT,CUSTODIAN CDA HEADER