Skip to content

Commit

Permalink
OK UP Migration Validate Test Data (#15261)
Browse files Browse the repository at this point in the history
* OK UP Migration Validate Test Data

* Update integration test
  • Loading branch information
oslynn committed Jul 22, 2024
1 parent 3a590ad commit 0f79d0e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
7 changes: 4 additions & 3 deletions prime-router/settings/STLTs/OK/ok-phd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
topic: "full-elr"
customerStatus: "active"
translation:
schemaName: "azure:/metadata/hl7_mapping/receivers/STLTs/OK/OK-receiver-transform.yml"
schemaName: "azure:/hl7_mapping/receivers/STLTs/OK/OK-receiver-transform.yml"
useTestProcessingMode: false
useBatchHeaders: true
receivingApplicationName: null
Expand Down Expand Up @@ -70,8 +70,9 @@
processingModeFilter: []
reverseTheQualityFilter: false
conditionFilter:
# Accept COVID only
- "(%resource.code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code in ('840539006')).exists())"
# Accept following condition_code (see: observation-mapping.csv for more detail)
# COVID: 840539006, MPOX: 414015000
- "(%resource.code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code in ('840539006'|'414015000')).exists())"
mappedConditionFilter: []
deidentify: false
deidentifiedValue: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,33 @@ elements:
condition: '%resource.code.exists()'
value: [ '%resource.system.getCodingSystemMapping()' ]
hl7Spec: [ '/PATIENT_RESULT/PATIENT/PID-10-3' ]

- name: OK-name-of-the-receiving-application
condition: 'true'
value: [ '"OSDHMessaging"' ]
hl7Spec: [ 'MSH-5-1' ]

- name: OK-OID-of-the-receiving-application
condition: 'true'
value: [ '"2.16.840.1.113883.3.1014.4"' ]
hl7Spec: [ 'MSH-5-2' ]

- name: OK-indicates-that-5.2-is-an-OID
condition: 'true'
value: [ '"ISO"' ]
hl7Spec: [ 'MSH-5-3' ]

- name: OK-receiving-facility-namespace-ID
condition: 'true'
value: [ '"OSDH"' ]
hl7Spec: [ 'MSH-6-1' ]

- name: OK-receiving-facility-universal-ID
condition: 'true'
value: [ '"2.16.840.1.113883.3.1014"' ]
hl7Spec: [ 'MSH-6-2' ]

- name: OK-receiving-facility-universal-ID-Type
condition: 'true'
value: [ '"ISO"' ]
hl7Spec: [ 'MSH-6-3' ]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MSH|^~\&|CDC PRIME - Atlanta^2.16.840.1.114222.4.1.237821^ISO|Testing Lab^12D4567890^CLIA|||20240605185501+0000||ORU^R01^ORU_R01|0bab3f94-feb4-4915-939d-1adc5da201f3|P|2.5.1|||NE|NE|USA|UNICODE UTF-8|ENG^English^ISO||PHLabReport-NoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISOSFT|Centers for Disease Control and Prevention|0.2-SNAPSHOT|PRIME ReportStream|0.2-SNAPSHOT||20240605154252+0000PID|1||7c0d1de9-270e-4d9c-a4ec-af92560cec67^^^Testing Lab&12D4567890&CLIA^PI^Testing Lab&12D4567890&CLIA||Granger^Hermione^^^^^L||19900721|F||2028-9^asian^HL70005^^^^2.5.1^^asian|53 Buttonwood Ave^^Brooklyn^OK^11224^USA||(212) 555 1234^PRS^CP^^1^212^5551234^^^^^(212) 555 1234|||||||||N^Not Hispanic or Latino^HL70189^^^^2.9^^Not Hispanic or Latino||||||||NORC|RE|0bab3f94-feb4-4915-939d-1adc5da201f3^Testing Lab^12D4567890^CLIA|0bab3f94-feb4-4915-939d-1adc5da201f3^Testing Lab^12D4567890^CLIA|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI||(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|20240605185458+0000||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|321 Ocean Drive^^Denver^OK^80210^USAOBR|1|0bab3f94-feb4-4915-939d-1adc5da201f3^Testing Lab^12D4567890^CLIA|0bab3f94-feb4-4915-939d-1adc5da201f3^Testing Lab^12D4567890^CLIA|94531-1^SARS-CoV-2 (COVID-19) RNA panel - Respiratory system specimen by NAA with probe detection^LN|||20240605183958+0000|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI|(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|||||20240605185501+0000|||FOBX|1|CWE|94500-6^SARS-CoV-2 (COVID-19) RNA [Presence] in Respiratory system specimen by NAA with probe detection^LN^^^^^^COVID-19||260373001^Detected^SCT|||A^Abnormal^HL70078^^^^2.7|||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||CareStart COVID-19 MDx RT-PCR_Access Bio, Inc.^CareStart COVID-19 MDx RT-PCR^^^^^^^CareStart COVID-19 MDx RT-PCR_Access Bio, Inc.|^^MNI|20240605185458+0000||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USAOBX|2|CWE|95419-8^Has symptoms related to condition of interest^LN^^^^2.69^^Has symptoms related to condition of interest||Y^Yes^HL70136||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QSTOBX|3|DT|11368-8^Illness or injury onset date and time^LN^^^^^^Illness or injury onset date and time||20240601000000+0000||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QSTOBX|4|CWE|82810-3^Pregnancy status^LN^^^^2.68^^Pregnancy status||60001007^Not pregnant^SCT||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QSTOBX|5|CWE|95418-0^Employed in a healthcare setting^LN^^^^2.69^^Employed in a healthcare setting||Y^Yes^HL70136||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QSTOBX|6|CWE|95421-4^Resides in a congregate care setting^LN^^^^2.69^^Resides in a congregate care setting||Y^Yes^HL70136||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QSTSPM|1|0bab3f94-feb4-4915-939d-1adc5da201f3&Testing Lab&12D4567890&CLIA^0bab3f94-feb4-4915-939d-1adc5da201f3&Testing Lab&12D4567890&CLIA||258500001^Nasopharyngeal swab^SCT^^^^2.67^^Nasopharyngeal swab||||87100004^Topography unknown (body structure)^SCT^^^^^^Topography unknown (body structure)|||||||||20240605183958+0000|20240605183958+0000
MSH|^~\&|CDC PRIME - Atlanta^2.16.840.1.114222.4.1.237821^ISO|Testing Lab^12D4567890^CLIA|OSDHMessaging^2.16.840.1.113883.3.1014.4^ISO|OSDH^2.16.840.1.113883.3.1014^ISO|20240605185501+0000||ORU^R01^ORU_R01|0bab3f94-feb4-4915-939d-1adc5da201f3|P|2.5.1|||NE|NE|USA|UNICODE UTF-8|ENG^English^ISO||PHLabReport-NoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISOSFT|Centers for Disease Control and Prevention|0.2-SNAPSHOT|PRIME ReportStream|0.2-SNAPSHOT||20240605154252+0000PID|1||7c0d1de9-270e-4d9c-a4ec-af92560cec67^^^Testing Lab&12D4567890&CLIA^PI^Testing Lab&12D4567890&CLIA||Granger^Hermione^^^^^L||19900721|F||2028-9^asian^HL70005^^^^2.5.1^^asian|53 Buttonwood Ave^^Brooklyn^OK^11224^USA||(212) 555 1234^PRS^CP^^1^212^5551234^^^^^(212) 555 1234|||||||||N^Not Hispanic or Latino^HL70189^^^^2.9^^Not Hispanic or Latino||||||||NORC|RE|0bab3f94-feb4-4915-939d-1adc5da201f3^Testing Lab^12D4567890^CLIA|0bab3f94-feb4-4915-939d-1adc5da201f3^Testing Lab^12D4567890^CLIA|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI||(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|20240605185458+0000||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|321 Ocean Drive^^Denver^OK^80210^USAOBR|1|0bab3f94-feb4-4915-939d-1adc5da201f3^Testing Lab^12D4567890^CLIA|0bab3f94-feb4-4915-939d-1adc5da201f3^Testing Lab^12D4567890^CLIA|94531-1^SARS-CoV-2 (COVID-19) RNA panel - Respiratory system specimen by NAA with probe detection^LN|||20240605183958+0000|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI|(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|||||20240605185501+0000|||FOBX|1|CWE|94500-6^SARS-CoV-2 (COVID-19) RNA [Presence] in Respiratory system specimen by NAA with probe detection^LN^^^^^^COVID-19||260373001^Detected^SCT|||A^Abnormal^HL70078^^^^2.7|||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||CareStart COVID-19 MDx RT-PCR_Access Bio, Inc.^CareStart COVID-19 MDx RT-PCR^^^^^^^CareStart COVID-19 MDx RT-PCR_Access Bio, Inc.|^^MNI|20240605185458+0000||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USAOBX|2|CWE|95419-8^Has symptoms related to condition of interest^LN^^^^2.69^^Has symptoms related to condition of interest||Y^Yes^HL70136||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QSTOBX|3|DT|11368-8^Illness or injury onset date and time^LN^^^^^^Illness or injury onset date and time||20240601000000+0000||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QSTOBX|4|CWE|82810-3^Pregnancy status^LN^^^^2.68^^Pregnancy status||60001007^Not pregnant^SCT||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QSTOBX|5|CWE|95418-0^Employed in a healthcare setting^LN^^^^2.69^^Employed in a healthcare setting||Y^Yes^HL70136||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QSTOBX|6|CWE|95421-4^Resides in a congregate care setting^LN^^^^2.69^^Resides in a congregate care setting||Y^Yes^HL70136||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QSTSPM|1|0bab3f94-feb4-4915-939d-1adc5da201f3&Testing Lab&12D4567890&CLIA^0bab3f94-feb4-4915-939d-1adc5da201f3&Testing Lab&12D4567890&CLIA||258500001^Nasopharyngeal swab^SCT^^^^2.67^^Nasopharyngeal swab||||87100004^Topography unknown (body structure)^SCT^^^^^^Topography unknown (body structure)|||||||||20240605183958+0000|20240605183958+0000
Expand Down

0 comments on commit 0f79d0e

Please sign in to comment.