WorldVistA / VistA-FHIR-Data-Loader

MUMPS/UI components for creating synthetic patient data from Synthea and loading the generated FHIR patient data to VistA EHR
Apache License 2.0
6 stars 7 forks source link

Imms active at date of encounter don't load because they are "inactive" #27

Closed shabiel closed 5 years ago

shabiel commented 5 years ago
OSEHRA>zwrite ^%wd(17.040801,2,5,"load","immunizations",130,*)
^%wd(17.040801,2,5,"load","immunizations",130,"log",1)="code is: 62"
^%wd(17.040801,2,5,"load","immunizations",130,"log",2)="code system is: http://hl7.org/fhir/sid/cvx"
^%wd(17.040801,2,5,"load","immunizations",130,"log",3)="effectiveDateTime is: 2016-06-20T03:23:55-04:00"
^%wd(17.040801,2,5,"load","immunizations",130,"log",4)="fileman dateTime is: 3160620.032355"
^%wd(17.040801,2,5,"load","immunizations",130,"log",5)="hl7 dateTime is: 20160620032355-0400"
^%wd(17.040801,2,5,"load","immunizations",130,"log",6)="reference encounter ID is : a051a5c9-ae0b-4098-95f5-8d269497e07b"
^%wd(17.040801,2,5,"load","immunizations",130,"log",7)="visit ien is: 115"
^%wd(17.040801,2,5,"load","immunizations",130,"log",8)="HL7 DateTime is: 20160620032355-0400"
^%wd(17.040801,2,5,"load","immunizations",130,"log",9)="Provider NPI for outpatient is: 9990000348"
^%wd(17.040801,2,5,"load","immunizations",130,"log",10)="Location for outpatient is: #12 GENERAL MEDICINE"
^%wd(17.040801,2,5,"load","immunizations",130,"log",11)="Calling IMMUNUPD^ZZDHP61 to add immunization"
^%wd(17.040801,2,5,"load","immunizations",130,"log",12)="Return from data loader was: -1^Immunization is inactive"
^%wd(17.040801,2,5,"load","immunizations",130,"parms","DHPLOC")=12
^%wd(17.040801,2,5,"load","immunizations",130,"parms","DHPPAT")="9618611252V573609"
^%wd(17.040801,2,5,"load","immunizations",130,"parms","EVENTDT")="20160620032355-0400"
^%wd(17.040801,2,5,"load","immunizations",130,"parms","IMMPROV")=9990000348
^%wd(17.040801,2,5,"load","immunizations",130,"parms","IMMUNIZ")=62
^%wd(17.040801,2,5,"load","immunizations",130,"parms","VISIT")=115
^%wd(17.040801,2,5,"load","immunizations",130,"status")="-1^Immunization is inactive"
^%wd(17.040801,2,5,"load","immunizations",130,"status","loadMessage")="-1^Immunization is inactive"
^%wd(17.040801,2,5,"load","immunizations",130,"status","loadstatus")="notLoaded"
^%wd(17.040801,2,5,"load","immunizations",130,"vars","code")=62
^%wd(17.040801,2,5,"load","immunizations",130,"vars","codeSystem")="http://hl7.org/fhir/sid/cvx"
^%wd(17.040801,2,5,"load","immunizations",130,"vars","effectiveDateTime")="2016-06-20T03:23:55-04:00"
^%wd(17.040801,2,5,"load","immunizations",130,"vars","encounterId")="a051a5c9-ae0b-4098-95f5-8d269497e07b"
^%wd(17.040801,2,5,"load","immunizations",130,"vars","fmDateTime")=3160620.032355
^%wd(17.040801,2,5,"load","immunizations",130,"vars","hl7DateTime")="20160620032355-0400"
^%wd(17.040801,2,5,"load","immunizations",130,"vars","resourceType")="Immunization"
^%wd(17.040801,2,5,"load","immunizations",130,"vars","visitIen")=115

OSEHRA>ZWRITE ^AUTTIMM("C",62,*)
^AUTTIMM("C",62,1062)=""

OSEHRA>zwrite ^AUTTIMM(1062,*)
^AUTTIMM(1062,0)="HPV, QUADRIVALENT^^62^^3^^1^^^^^^^^^^^^^0"
^AUTTIMM(1062,.5)=""
^AUTTIMM(1062,2,0)="^^1^1^3151102"
^AUTTIMM(1062,2,1,0)="HUMAN PAPILLOMA VIRUS VACCINE, QUADRIVALENT"
^AUTTIMM(1062,3,0)="^9999999.143^1^1"
^AUTTIMM(1062,3,1,0)="CPT"
^AUTTIMM(1062,3,1,1,0)="^9999999.1431^1^1"
^AUTTIMM(1062,3,1,1,1,0)=90649
^AUTTIMM(1062,3,1,1,"B",90649,1)=""
^AUTTIMM(1062,3,"B","CPT",1)=""
^AUTTIMM(1062,4,0)="^9999999.144P^3^3"
^AUTTIMM(1062,4,1,0)=10
^AUTTIMM(1062,4,2,0)=9
^AUTTIMM(1062,4,3,0)=53
^AUTTIMM(1062,4,"B",9,2)=""
^AUTTIMM(1062,4,"B",10,1)=""
^AUTTIMM(1062,4,"B",53,3)=""
^AUTTIMM(1062,5,0)="^9999999.145^1^1"
^AUTTIMM(1062,5,1,0)="GARDASIL"
^AUTTIMM(1062,5,"B","GARDASIL",1)=""
^AUTTIMM(1062,6)="Y"
^AUTTIMM(1062,7,0)="^9999999.147A^1^1"
^AUTTIMM(1062,7,1,0)="HPV"
^AUTTIMM(1062,7,"B","HPV",1)=""
^AUTTIMM(1062,88)="^HPV4"
^AUTTIMM(1062,100)="N"
^AUTTIMM(1062,"TERMSTATUS",0)="^9999999.1499DA^2^2"
^AUTTIMM(1062,"TERMSTATUS",1,0)="3151102.135341^1"
^AUTTIMM(1062,"TERMSTATUS",2,0)="3171228.122227^0"
^AUTTIMM(1062,"TERMSTATUS","B",3151102.135341,1)=""
^AUTTIMM(1062,"TERMSTATUS","B",3171228.122227,2)=""
^AUTTIMM(1062,"VUID")="5197687^1^"
shabiel commented 5 years ago

Could not replicate. Will reopen if we could.