Closed jbiskie closed 2 years ago
Example file (uploaded as .txt since GitHub does not support attaching .hl7):
Relevant curl command:
curl -X POST -H "client:prescryptive" -H "content-type:application/hl7-v2" --data-binary "@./result_files/prescryptive-sample1a.hl7" http://localhost:7071/api/reports
Using ./prime cli (rename the prescryptive1a.txt to *.hl7)
./prime data --input junk/prescryptive-sample1a.hl7 --input-schema HL7/prescryptive-covid-19 --output-dir junk/output --route
@jbiskie would you please take a look at the HL7 output file, is it acceptable to you?
The prescryptive1a.hl7 has sender: prescryptive, and reveivers: WA (wa-phd)
1.) For MSH-3
Add to organization.yml (name: -wa-dph)
translation:
replaceValueAwithB:
MSH-3: ["PHX.ProviderReportingService":"CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO"]
2.) For OBR-25 = 'F' only, Add to organazation.yml (name: wa-phd) translation: suppressHl7Fields: ... OBR-25-2, OBR-25-3, OBX-11-2, OBX-11-3
3.) For OBX-2 and OBX-11 unnecessary elements Add to organazation.yml (name: wa-phd) translation: suppressHl7Fields: ... OBX-2-2, OBX-2-3, OBX-11-2, OBX-11-3
Below is the organization.yml additional fields.
HL7 output file: cdcprime_testing_20220317155046_084933___neg.txt
Need to be reviewed and approved by @jbiskie
Problem statement
WA review of messages for Prescriptive and Medical Network Solutions uncovered some issues with our handling of messages from HL7 senders.
What you need to know
Missing MSH-3.2 and 3.3
Current
Desired
OBR-25 unnecessary elements
Current
Desired
OBX-2 and OBX-11 unnecessary elements
Current
Desired
Acceptance criteria