From a8818e987597d73658c32d8d6d1c8903ecc4fc3f Mon Sep 17 00:00:00 2001 From: abiphilipnava Date: Fri, 10 Jan 2025 17:28:22 -0600 Subject: [PATCH] Updated Washington STLT transform to ignore AOE 01.9.2025 (#17034) * Updated Washington STLT transform to ignore AOE 01.9.2025 * Updated Washington STLT transform to ignore AOE 01.9.2025 fixed sytnax by adding value and hl7spec fields * Fixed WA-receiver-transform.yml * Fixed WA-receiver-transform.yml --------- Co-authored-by: victor-chaparro Co-authored-by: victor-chaparro <117938212+victor-chaparro@users.noreply.github.com> --- .../hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml | 3 ++- .../datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml b/prime-router/src/main/resources/metadata/hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml index c4fc5487234..139c65d91e1 100644 --- a/prime-router/src/main/resources/metadata/hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml +++ b/prime-router/src/main/resources/metadata/hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml @@ -163,4 +163,5 @@ elements: value: [ 'Bundle.entry.resource.ofType(Organization).telecom.value[x].replaceMatches("[^0-9]", "")' ] hl7Spec: [ '%{ORC}-23-12', '%{ORC}-23-1' ] - + - name: observation-result-with-aoe + resource: "Bundle.entry.resource.ofType(Observation).where(code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code in ('AOE')).exists().not())" \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 b/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 index 5c68836448b..4efac6915de 100644 --- a/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 +++ b/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 @@ -4,9 +4,4 @@ PID|1||10083d1d-dc8b-4ea0-91fa-8744cf0f013b^^^Testing Lab&12D4567890&CLIA^PI^Tes ORC|RE|12256b9a-0ca9-47ed-95b4-0d4ca60c4324^Testing Lab^12D4567890^CLIA|12256b9a-0ca9-47ed-95b4-0d4ca60c4324^Testing Lab^12D4567890^CLIA|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI||^WPN^PH^^1^530^8675309|20240815054718||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|^WPN^PH^^1^530^8675309|321 Ocean Drive^^Denver^CO^80210^USA OBR|1|12256b9a-0ca9-47ed-95b4-0d4ca60c4324^Testing Lab^12D4567890^CLIA|12256b9a-0ca9-47ed-95b4-0d4ca60c4324^Testing Lab^12D4567890^CLIA|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory system specimen by Rapid immunoassay^LN|||20240815053218|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI|^WPN^PH^^1^530^8675309|||||20240815054718|||F OBX|1|CWE|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory system specimen by Rapid immunoassay^LN^^^^^^COVID-19||260373001^Detected^SCT|||A^Abnormal^HL70078^^^^2.7|||F|||20240815053218|12D4567890^Testing Lab^CLIA||BinaxNOW COVID-19 Ag 2 Card_Abbott Diagnostics Scarborough, Inc.^BinaxNOW COVID-19 Ag 2 Card^^^^^^^BinaxNOW COVID-19 Ag 2 Card_Abbott Diagnostics Scarborough, Inc.|No Equipment|20240815054718||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|2|CWE|95419-8^Has symptoms related to condition of interest^LN^^^^2.69^^Has symptoms related to condition of interest||N^No^HL70136||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|3|CWE|82810-3^Pregnancy status^LN^^^^2.68^^Pregnancy status||60001007^Not pregnant^SCT||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|4|CWE|95418-0^Employed in a healthcare setting^LN^^^^2.69^^Employed in a healthcare setting||Y^Yes^HL70136||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|5|CWE|95421-4^Resides in a congregate care setting^LN^^^^2.69^^Resides in a congregate care setting||Y^Yes^HL70136||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|6|CWE|76691-5^Gender identity^LN^^^^^^Gender identity||UNK^Non-binary gender identity^NULLFL||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA SPM|1|12256b9a-0ca9-47ed-95b4-0d4ca60c4324&Testing Lab&12D4567890&CLIA^12256b9a-0ca9-47ed-95b4-0d4ca60c4324&Testing Lab&12D4567890&CLIA||433801000124107^Nasopharyngeal and oropharyngeal swab^SCT^^^^2.67^^Nasopharyngeal and oropharyngeal swab||||87100004^Topography unknown (body structure)^SCT^^^^^^Topography unknown (body structure)|||||||||20240815053218|20240815053218 \ No newline at end of file