Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encounter loader occasstionally fails with code -2^-1 #17

Open
shabiel opened this issue Jan 29, 2019 · 0 comments
Open

Encounter loader occasstionally fails with code -2^-1 #17

shabiel opened this issue Jan 29, 2019 · 0 comments

Comments

@shabiel
Copy link
Contributor

shabiel commented Jan 29, 2019

bash-3.2$ mumps -r ^%XCMD 'ZWRITE ^%wd(17.040801,3,49,"load","encounters",10,*)'
^%wd(17.040801,3,49,"load","encounters",10,"log",1)="ID is: 21b8fe35-3a31-42ec-8533-a224276b3745"
^%wd(17.040801,3,49,"load","encounters",10,"log",2)="code is: 185349003"
^%wd(17.040801,3,49,"load","encounters",10,"log",3)="code system is: http://snomed.info/sct"
^%wd(17.040801,3,49,"load","encounters",10,"log",4)="reasonCode is: "
^%wd(17.040801,3,49,"load","encounters",10,"log",5)="reasonCode system is: "
^%wd(17.040801,3,49,"load","encounters",10,"log",6)="effectiveDateTime is: 1924-04-01T00:41:40-05:00"
^%wd(17.040801,3,49,"load","encounters",10,"log",7)="fileman dateTime is: 2240401.00414"
^%wd(17.040801,3,49,"load","encounters",10,"log",8)="hl7 dateTime is: 19240401004140-0500"
^%wd(17.040801,3,49,"load","encounters",10,"log",9)="endDateTime is: 1924-04-01T00:56:40-05:00"
^%wd(17.040801,3,49,"load","encounters",10,"log",10)="fileman endDateTime is: 2240401.00564"
^%wd(17.040801,3,49,"load","encounters",10,"log",11)="hl7 endDateTime is: 19240401005640-0500"
^%wd(17.040801,3,49,"load","encounters",10,"log",12)="HL7 StartDateTime is: 19240401004140-0500"
^%wd(17.040801,3,49,"load","encounters",10,"log",13)="HL7 End DateTime is: 19240401005640-0500"
^%wd(17.040801,3,49,"load","encounters",10,"log",14)="Provider for outpatient is: 9990000348"
^%wd(17.040801,3,49,"load","encounters",10,"log",15)="Location for outpatient is: GENERAL MEDICINE"
^%wd(17.040801,3,49,"load","encounters",10,"log",16)="Calling ENCTUPD^SYNDHP61 data loader to add encounter"
^%wd(17.040801,3,49,"load","encounters",10,"log",17)="Return from data loader was: -2^-1"
^%wd(17.040801,3,49,"load","encounters",10,"parms","CLINIC")="GENERAL MEDICINE"
^%wd(17.040801,3,49,"load","encounters",10,"parms","DHPPAT")="1801988844V507048"
^%wd(17.040801,3,49,"load","encounters",10,"parms","ENCPROV")=9990000348
^%wd(17.040801,3,49,"load","encounters",10,"parms","ENDDT")="19240401005640-0500"
^%wd(17.040801,3,49,"load","encounters",10,"parms","SCTCPT")=185349003
^%wd(17.040801,3,49,"load","encounters",10,"parms","SCTDX")=""
^%wd(17.040801,3,49,"load","encounters",10,"parms","STARTDT")="19240401004140-0500"
^%wd(17.040801,3,49,"load","encounters",10,"status","loadMessage")="-2^-1"
^%wd(17.040801,3,49,"load","encounters",10,"status","loadstatus")="notLoaded"
^%wd(17.040801,3,49,"load","encounters",10,"status","return")="-2^-1"
^%wd(17.040801,3,49,"load","encounters",10,"status","return","APPT")=1
^%wd(17.040801,3,49,"load","encounters",10,"status","return","CKIN")=1
^%wd(17.040801,3,49,"load","encounters",10,"status","return","CKOUT")="-1^No Outpatient Encounter record^No Visit record"
^%wd(17.040801,3,49,"load","encounters",10,"status","return","ENCDATA","ENCOUNTER",1,"ENC D/T")=2240401.0041
^%wd(17.040801,3,49,"load","encounters",10,"status","return","ENCDATA","ENCOUNTER",1,"ENCOUNTER TYPE")="P"
^%wd(17.040801,3,49,"load","encounters",10,"status","return","ENCDATA","ENCOUNTER",1,"HOS LOC")=49
^%wd(17.040801,3,49,"load","encounters",10,"status","return","ENCDATA","ENCOUNTER",1,"PATIENT")=40
^%wd(17.040801,3,49,"load","encounters",10,"status","return","ENCDATA","ENCOUNTER",1,"SERVICE CATEGORY")="A"
^%wd(17.040801,3,49,"load","encounters",10,"status","return","ENCDATA","PROCEDURE",1,"PROCEDURE")="3543O"
^%wd(17.040801,3,49,"load","encounters",10,"status","return","ENCDATA","PROCEDURE",1,"QTY")=1
^%wd(17.040801,3,49,"load","encounters",10,"status","return","ENCDATA","PROVIDER",1,"NAME")=146
^%wd(17.040801,3,49,"load","encounters",10,"status","return","ENCDATA","PROVIDER",1,"PRIMARY")=1
^%wd(17.040801,3,49,"load","encounters",10,"vars","code")=185349003
^%wd(17.040801,3,49,"load","encounters",10,"vars","codeSystem")="http://snomed.info/sct"
^%wd(17.040801,3,49,"load","encounters",10,"vars","effectiveDateTime")="1924-04-01T00:41:40-05:00"
^%wd(17.040801,3,49,"load","encounters",10,"vars","endDateTime")="1924-04-01T00:56:40-05:00"
^%wd(17.040801,3,49,"load","encounters",10,"vars","fmDateTime")=2240401.00414
^%wd(17.040801,3,49,"load","encounters",10,"vars","fmEndDateTime")=2240401.00564
^%wd(17.040801,3,49,"load","encounters",10,"vars","hl7DateTime")="19240401004140-0500"
^%wd(17.040801,3,49,"load","encounters",10,"vars","hl7endDateTime")="19240401005640-0500"
^%wd(17.040801,3,49,"load","encounters",10,"vars","id")="21b8fe35-3a31-42ec-8533-a224276b3745"
^%wd(17.040801,3,49,"load","encounters",10,"vars","reasonCode")=""
^%wd(17.040801,3,49,"load","encounters",10,"vars","reasonCodeSys")=""
^%wd(17.040801,3,49,"load","encounters",10,"vars","resourceType")="Encounter"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant