From 29b1c03f075becd3af8fa5a17d0c93558fac8489 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Mon, 7 Oct 2024 07:45:01 -0700 Subject: [PATCH 01/16] Updated test files msh-11 to be either T or N --- .../Automated/001_Staging_ORM_O01_short_linked_to_002_ORU.hl7 | 2 +- .../Automated/002_Staging_ORU_O01_short_linked_to_001_ORM.hl7 | 2 +- examples/Test/Automated/003_CA_ORU_R01_CDPH_produced.hl7 | 2 +- .../003_AL_ORM_O01_NBS_Fully_Populated_0_initial_message.hl7 | 2 +- ...O01_NBS_Multiple_Races_Multiple_Births_0_initial_message.hl7 | 2 +- .../005_AL_ORM_O01_NBS_Incorrect_Units_0_initial_message.hl7 | 2 +- ...06_AL_ORM_O01_NBS_Incorrect_Data_Types_0_initial_message.hl7 | 2 +- ...AL_ORM_O01_NBS_Missing_Required_Fields_0_initial_message.hl7 | 2 +- ...8_AL_ORM_O01_NBS_Incorrect_Code_System_0_initial_message.hl7 | 2 +- ...RM_O01_NBS_Missing_Non_Required_Fields_0_initial_message.hl7 | 2 +- ..._Multiple_Parent_Contant_Phone_Numbers_0_initial_message.hl7 | 2 +- .../011_AL_ORM_O01_malformed_DTM_datatype_0_initial_message.hl7 | 2 +- .../012_AL_ORM_O01_malformed_XAD_datatype_0_initial_message.hl7 | 2 +- .../002_AL_ORU_R01_NBS_Fully_Populated_0_initial_message.hl7 | 2 +- ...RU_R01_NBS_Normal_And_Abnormal_Results_0_initial_message.hl7 | 2 +- ...AL_ORU_R01_NBS_Specimen_Unsatisfactory_0_initial_message.hl7 | 2 +- .../Results/005_AL_ORU_R01_NBS_Simplified_0_initial_message.hl7 | 2 +- .../orders/003_1_ORM_O01_short_linked_to_002_ORU_R01_short.hl7 | 2 +- .../results/002_1_ORU_R01_short_linked_to_003_ORM_O01_short.hl7 | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/examples/Test/Automated/001_Staging_ORM_O01_short_linked_to_002_ORU.hl7 b/examples/Test/Automated/001_Staging_ORM_O01_short_linked_to_002_ORU.hl7 index 789a99eb9..0729672fc 100644 --- a/examples/Test/Automated/001_Staging_ORM_O01_short_linked_to_002_ORU.hl7 +++ b/examples/Test/Automated/001_Staging_ORM_O01_short_linked_to_002_ORU.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^automated-staging-test-receiver-id^DNS|20230101010000-0000||ORM^O01^ORM_O01|001|T|2.5.1|||||||||| +MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^automated-staging-test-receiver-id^DNS|20230101010000-0000||ORM^O01^ORM_O01|001|N|2.5.1|||||||||| PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|4560411583^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Automated/002_Staging_ORU_O01_short_linked_to_001_ORM.hl7 b/examples/Test/Automated/002_Staging_ORU_O01_short_linked_to_001_ORM.hl7 index 18125721b..5996b0f5d 100644 --- a/examples/Test/Automated/002_Staging_ORU_O01_short_linked_to_001_ORM.hl7 +++ b/examples/Test/Automated/002_Staging_ORU_O01_short_linked_to_001_ORM.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^automated-staging-test-receiver-id^DNS|20230101010000-0000||ORU^R01^ORU_R01|002|T|2.5.1|||||||||| +MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^automated-staging-test-receiver-id^DNS|20230101010000-0000||ORU^R01^ORU_R01|002|N|2.5.1|||||||||| PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||20230504131000|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1|||||N| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063^^^^^^Mother||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS||||||| ORC|RE|4560411583^ORDERID|20231561137^ALPHL|||||||||1174911127^SMITH^SAMANTHA^^^^^^NPI^L^^^NPI|||||||||BAPTIST EAST^L^^^^CMS^NPI^^^1043269798~BAPTIST EAST^L^^^^AL Public Health Lab^Submitter ID^^^739||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/Test/Automated/003_CA_ORU_R01_CDPH_produced.hl7 b/examples/Test/Automated/003_CA_ORU_R01_CDPH_produced.hl7 index 2c4b787ac..8822140bf 100644 --- a/examples/Test/Automated/003_CA_ORU_R01_CDPH_produced.hl7 +++ b/examples/Test/Automated/003_CA_ORU_R01_CDPH_produced.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^automated-staging-test-receiver-id^L,M,N|20240226034304||ORU^R01^ORU_R01|AUTOMATEDTEST-003|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^automated-staging-test-receiver-id^L,M,N|20240226034304||ORU^R01^ORU_R01|003|N|2.5.1 PID|1||80008836^^^&NPI^MR||CDPHSIX^BOY MOMSIX^^^^^B|||M||2106-3^White||||||||||||2186-5^Not Hispanic or Latino||N|1 NK1|1|CDPHSIX|MTH^Mother|132 ST^^SAN DIEGO^CA^92126^USA ORC|RE|7181233072^FormNumber||189430284^HospOrdNumber||||||||^ROSEN^REBECCA|||||||||UCSD JACOBS MEDICAL CENTER^^^^^^^^^R797| 2961DR YLLUT^^SAN DIEGO^CA^99999-9999 diff --git a/examples/Test/Orders/003_AL_ORM_O01_NBS_Fully_Populated_0_initial_message.hl7 b/examples/Test/Orders/003_AL_ORM_O01_NBS_Fully_Populated_0_initial_message.hl7 index 4b93f9287..f56277006 100644 --- a/examples/Test/Orders/003_AL_ORM_O01_NBS_Fully_Populated_0_initial_message.hl7 +++ b/examples/Test/Orders/003_AL_ORM_O01_NBS_Fully_Populated_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690||2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|2801690163^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/004_AL_ORM_O01_NBS_Multiple_Races_Multiple_Births_0_initial_message.hl7 b/examples/Test/Orders/004_AL_ORM_O01_NBS_Multiple_Races_Multiple_Births_0_initial_message.hl7 index 49b1beb8f..545b182d3 100644 --- a/examples/Test/Orders/004_AL_ORM_O01_NBS_Multiple_Races_Multiple_Births_0_initial_message.hl7 +++ b/examples/Test/Orders/004_AL_ORM_O01_NBS_Multiple_Races_Multiple_Births_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistSouth^2.16.840.1.114222.4.1.000002^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202401180152||ORM^O01^ORM_O01|Q1960841872T2476960690||2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistSouth^2.16.840.1.114222.4.1.000002^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202401180152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 PID|1||1256872^^^Baptist South^MR||TWO^TESTCASE||202401150152-0500|M^Male^HL70001||2076-8^Native Hawaiian or Other Pacific Islander^HL70005~2028-9^American Indian or Alaska Native^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227644455||||U^Unknown^HL70189|||2||||| NK1|1|TWO^MOMFIRST|MTH^Mother^HL70063||^^^^^771^7867554||||||||||||||||||||||||||||9101112^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|5560411468^ORDERID||||||||||55566^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/005_AL_ORM_O01_NBS_Incorrect_Units_0_initial_message.hl7 b/examples/Test/Orders/005_AL_ORM_O01_NBS_Incorrect_Units_0_initial_message.hl7 index d6ceb1dbf..428a59f6a 100644 --- a/examples/Test/Orders/005_AL_ORM_O01_NBS_Incorrect_Units_0_initial_message.hl7 +++ b/examples/Test/Orders/005_AL_ORM_O01_NBS_Incorrect_Units_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistSouth^2.16.840.1.114222.4.1.000002^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202401200152||ORM^O01^ORM_O01|Q1960841872T2476960690||2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistSouth^2.16.840.1.114222.4.1.000002^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202401200152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 PID|1||1256872^^^Baptist South^MR||THREE^TESTCASE||202401160152-0500|U^Unknown^HL70001||2054-5^Black or African American^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227644455||||H^Hispanic or Latino^HL70189|||1||||| NK1|1|THREE^MOMFIRST|MTH^Mother^HL70063||^^^^^771^7867123||||||||||||||||||||||||||||9101000^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|8765411468^ORDERID||||||||||90535^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/006_AL_ORM_O01_NBS_Incorrect_Data_Types_0_initial_message.hl7 b/examples/Test/Orders/006_AL_ORM_O01_NBS_Incorrect_Data_Types_0_initial_message.hl7 index 54472b0de..b234c1000 100644 --- a/examples/Test/Orders/006_AL_ORM_O01_NBS_Incorrect_Data_Types_0_initial_message.hl7 +++ b/examples/Test/Orders/006_AL_ORM_O01_NBS_Incorrect_Data_Types_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistSouth^2.16.840.1.114222.4.1.000002^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202401200152||ORM^O01^ORM_O01|Q1960841872T2476960690||2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistSouth^2.16.840.1.114222.4.1.000002^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202401200152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 PID|1||1256872^^^Baptist South^MR||FOUR^TESTCASE||202401160152-0500|U^Unknown^HL70001||Asian|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227644455||||H^Hispanic or Latino^HL70189|||1||||| NK1|1|FOUR^MOMFIRST|MTH^Mother^HL70063||^^^^^771^7867123||||||||||||||||||||||||||||9101000^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|8765411468^ORDERID||||||||||90535^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/007_AL_ORM_O01_NBS_Missing_Required_Fields_0_initial_message.hl7 b/examples/Test/Orders/007_AL_ORM_O01_NBS_Missing_Required_Fields_0_initial_message.hl7 index cd20cc8f8..c30550a17 100644 --- a/examples/Test/Orders/007_AL_ORM_O01_NBS_Missing_Required_Fields_0_initial_message.hl7 +++ b/examples/Test/Orders/007_AL_ORM_O01_NBS_Missing_Required_Fields_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|||||202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690||2.5.1||||||8859/1 +MSH|^~\&|||||202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||FIVE^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|FIVE^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||9101000^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|4560411583^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/008_AL_ORM_O01_NBS_Incorrect_Code_System_0_initial_message.hl7 b/examples/Test/Orders/008_AL_ORM_O01_NBS_Incorrect_Code_System_0_initial_message.hl7 index a0fee7cc5..39add782b 100644 --- a/examples/Test/Orders/008_AL_ORM_O01_NBS_Incorrect_Code_System_0_initial_message.hl7 +++ b/examples/Test/Orders/008_AL_ORM_O01_NBS_Incorrect_Code_System_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690||2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||SIX^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||NO^Not Real^FAKE|||1||||| NK1|1|SIX^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||9101000^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|4560411583^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/009_AL_ORM_O01_NBS_Missing_Non_Required_Fields_0_initial_message.hl7 b/examples/Test/Orders/009_AL_ORM_O01_NBS_Missing_Non_Required_Fields_0_initial_message.hl7 index 262032828..0f4440b39 100644 --- a/examples/Test/Orders/009_AL_ORM_O01_NBS_Missing_Non_Required_Fields_0_initial_message.hl7 +++ b/examples/Test/Orders/009_AL_ORM_O01_NBS_Missing_Non_Required_Fields_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690||2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||^TESTCASE|||F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||9101000^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|4560411583^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/010_AL_ORM_O01_NBS_Multiple_Parent_Contant_Phone_Numbers_0_initial_message.hl7 b/examples/Test/Orders/010_AL_ORM_O01_NBS_Multiple_Parent_Contant_Phone_Numbers_0_initial_message.hl7 index c8b33f6c7..f6cdefdec 100644 --- a/examples/Test/Orders/010_AL_ORM_O01_NBS_Multiple_Parent_Contant_Phone_Numbers_0_initial_message.hl7 +++ b/examples/Test/Orders/010_AL_ORM_O01_NBS_Multiple_Parent_Contant_Phone_Numbers_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690||2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||SIX^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|SIX^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861~^^^^^801^5693800||||||||||||||||||||||||||||9101000^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|4560411583^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/011_AL_ORM_O01_malformed_DTM_datatype_0_initial_message.hl7 b/examples/Test/Orders/011_AL_ORM_O01_malformed_DTM_datatype_0_initial_message.hl7 index 3785488c0..4bbcf04cf 100644 --- a/examples/Test/Orders/011_AL_ORM_O01_malformed_DTM_datatype_0_initial_message.hl7 +++ b/examples/Test/Orders/011_AL_ORM_O01_malformed_DTM_datatype_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690||2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|2801690163^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/012_AL_ORM_O01_malformed_XAD_datatype_0_initial_message.hl7 b/examples/Test/Orders/012_AL_ORM_O01_malformed_XAD_datatype_0_initial_message.hl7 index 7629b75e7..c2ca9bd3a 100644 --- a/examples/Test/Orders/012_AL_ORM_O01_malformed_XAD_datatype_0_initial_message.hl7 +++ b/examples/Test/Orders/012_AL_ORM_O01_malformed_XAD_datatype_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690||2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|2801690163^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Results/002_AL_ORU_R01_NBS_Fully_Populated_0_initial_message.hl7 b/examples/Test/Results/002_AL_ORU_R01_NBS_Fully_Populated_0_initial_message.hl7 index a46eaf104..66e6b2253 100644 --- a/examples/Test/Results/002_AL_ORU_R01_NBS_Fully_Populated_0_initial_message.hl7 +++ b/examples/Test/Results/002_AL_ORU_R01_NBS_Fully_Populated_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|P|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||20230504131000|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1|||||N| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063^^^^^^Mother||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS||||||| ORC|RE|4560411583^ORDERID|20231561137^ALPHL|||||||||1174911127^SMITH^SAMANTHA^^^^^^NPI^L^^^NPI|||||||||BAPTIST EAST^L^^^^CMS^NPI^^^1043269798~BAPTIST EAST^L^^^^AL Public Health Lab^Submitter ID^^^739||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/Test/Results/003_AL_ORU_R01_NBS_Normal_And_Abnormal_Results_0_initial_message.hl7 b/examples/Test/Results/003_AL_ORU_R01_NBS_Normal_And_Abnormal_Results_0_initial_message.hl7 index 213b5ecad..a3c0d77b1 100644 --- a/examples/Test/Results/003_AL_ORU_R01_NBS_Normal_And_Abnormal_Results_0_initial_message.hl7 +++ b/examples/Test/Results/003_AL_ORU_R01_NBS_Normal_And_Abnormal_Results_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|P|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||20230504131000|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1|||||N| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063^^^^^^Mother||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS||||||| ORC|RE|4560411583^ORDERID|20231561137^ALPHL|||||||||1174911127^SMITH^SAMANTHA^^^^^^NPI^L^^^NPI|||||||||BAPTIST EAST^L^^^^CMS^NPI^^^1043269798~BAPTIST EAST^L^^^^AL Public Health Lab^Submitter ID^^^739||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/Test/Results/004_AL_ORU_R01_NBS_Specimen_Unsatisfactory_0_initial_message.hl7 b/examples/Test/Results/004_AL_ORU_R01_NBS_Specimen_Unsatisfactory_0_initial_message.hl7 index 953c4f2e0..d04af4d13 100644 --- a/examples/Test/Results/004_AL_ORU_R01_NBS_Specimen_Unsatisfactory_0_initial_message.hl7 +++ b/examples/Test/Results/004_AL_ORU_R01_NBS_Specimen_Unsatisfactory_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|P|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||20230504131000|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1|||||N| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063^^^^^^Mother||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS||||||| ORC|RE|4560411583^ORDERID|20231561137^ALPHL|||||||||1174911127^SMITH^SAMANTHA^^^^^^NPI^L^^^NPI|||||||||BAPTIST EAST^L^^^^CMS^NPI^^^1043269798~BAPTIST EAST^L^^^^AL Public Health Lab^Submitter ID^^^739||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/Test/Results/005_AL_ORU_R01_NBS_Simplified_0_initial_message.hl7 b/examples/Test/Results/005_AL_ORU_R01_NBS_Simplified_0_initial_message.hl7 index 15512a002..9f3e0baa0 100644 --- a/examples/Test/Results/005_AL_ORU_R01_NBS_Simplified_0_initial_message.hl7 +++ b/examples/Test/Results/005_AL_ORU_R01_NBS_Simplified_0_initial_message.hl7 @@ -1,6 +1,6 @@ FHS|^~\&|||0.0.0.0.1|0.0.0.0.1|202106221314-0400 BHS|^~\&|||0.0.0.0.1|0.0.0.0.1|202106221314-0400 -MSH|^~\&||Any facility USA^00D1063590^CLIA|0.0.0.0.1|0.0.0.0.1|20210622131413.8343-0400||ORU^R01^ORU_R01|858625|P|2.5.1|||NE|NE|USA|UNICODE UTF-8 +MSH|^~\&||Any facility USA^00D1063590^CLIA|0.0.0.0.1|0.0.0.0.1|20210622131413.8343-0400||ORU^R01^ORU_R01|858625|T|2.5.1|||NE|NE|USA|UNICODE UTF-8 SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME Data Hub|0.1-SNAPSHOT||20210622 PID|1||ty6vmz^^^Any lab USA&00D1063590&CLIA^sk6yx07d^&00D1063590&CLIA||Walker^Caleb^Elida^V^^^w9tdt9||19280828|A||2106-3^White^HL70005^^^^2.5.1|1663 Simonis Loaf^^^IG^^2ljq2bmyq||^NET^Internet^gaylord.schumm@email.com~(235)8597464^PRN^PH^^1^235^8597464|||||||470-08-1020||N^Non Hispanic or Latino^HL70189^^^^2.9|||||||20210619|UNK|||||||||83 ORC|RE|094127^Any lab USA^91D6499987^CLIA|790928^Any lab USA^91D6499987^CLIA|429385^zpa15khbo^23D3640684^CLIA||||||||9761354546^Hane^Merrill^Winston^^^^^0.0.0.0.1^^^^uyheq064u||(203)9088367^WPN^PH^^1^203^9088367|20210613||||||Any facility USA|52005 Jaime Courts^^^IG^^^^CSV|(226)4923361^WPN^PH^^1^226^4923361|495 Li Orchard^^^IG diff --git a/examples/Test/e2e/orders/003_1_ORM_O01_short_linked_to_002_ORU_R01_short.hl7 b/examples/Test/e2e/orders/003_1_ORM_O01_short_linked_to_002_ORU_R01_short.hl7 index 58afbe95f..87cacd9f0 100644 --- a/examples/Test/e2e/orders/003_1_ORM_O01_short_linked_to_002_ORU_R01_short.hl7 +++ b/examples/Test/e2e/orders/003_1_ORM_O01_short_linked_to_002_ORU_R01_short.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690||2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|4560411583^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/e2e/results/002_1_ORU_R01_short_linked_to_003_ORM_O01_short.hl7 b/examples/Test/e2e/results/002_1_ORU_R01_short_linked_to_003_ORM_O01_short.hl7 index 33bcb9623..815b35867 100644 --- a/examples/Test/e2e/results/002_1_ORU_R01_short_linked_to_003_ORM_O01_short.hl7 +++ b/examples/Test/e2e/results/002_1_ORU_R01_short_linked_to_003_ORM_O01_short.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|P|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||20230504131000|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1|||||N| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063^^^^^^Mother||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS||||||| ORC|RE|4560411583^ORDERID|20231561137^ALPHL|||||||||1174911127^SMITH^SAMANTHA^^^^^^NPI^L^^^NPI|||||||||BAPTIST EAST^L^^^^CMS^NPI^^^1043269798~BAPTIST EAST^L^^^^AL Public Health Lab^Submitter ID^^^739||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| From 578fbf672409b620a763a2e27cbbb7d58f73c5a6 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Mon, 7 Oct 2024 13:54:40 -0700 Subject: [PATCH 02/16] Updated test files msh-11 to be D instead of T --- examples/Test/Message/msh-12_has_value_2_3.hl7 | 2 +- examples/Test/Message/msh_present_but_missing_msh-10.hl7 | 2 +- examples/Test/Message/msh_present_but_missing_msh-2.hl7 | 2 +- examples/Test/Message/msh_present_but_missing_msh-6.hl7 | 2 +- examples/Test/Message/msh_present_but_missing_msh-9.hl7 | 2 +- examples/Test/Message/orm_obx-5_is_not_a_numeric_value.hl7 | 2 +- .../003_AL_ORM_O01_NBS_Fully_Populated_0_initial_message.hl7 | 2 +- ...O01_NBS_Multiple_Races_Multiple_Births_0_initial_message.hl7 | 2 +- .../005_AL_ORM_O01_NBS_Incorrect_Units_0_initial_message.hl7 | 2 +- ...06_AL_ORM_O01_NBS_Incorrect_Data_Types_0_initial_message.hl7 | 2 +- ...AL_ORM_O01_NBS_Missing_Required_Fields_0_initial_message.hl7 | 2 +- ...8_AL_ORM_O01_NBS_Incorrect_Code_System_0_initial_message.hl7 | 2 +- ...RM_O01_NBS_Missing_Non_Required_Fields_0_initial_message.hl7 | 2 +- ..._Multiple_Parent_Contant_Phone_Numbers_0_initial_message.hl7 | 2 +- .../011_AL_ORM_O01_malformed_DTM_datatype_0_initial_message.hl7 | 2 +- .../012_AL_ORM_O01_malformed_XAD_datatype_0_initial_message.hl7 | 2 +- ...L_ORM_O01_invalid_text_as_txt_datatype_0_initial_message.hl7 | 2 +- .../002_AL_ORU_R01_NBS_Fully_Populated_0_initial_message.hl7 | 2 +- ...RU_R01_NBS_Normal_And_Abnormal_Results_0_initial_message.hl7 | 2 +- ...AL_ORU_R01_NBS_Specimen_Unsatisfactory_0_initial_message.hl7 | 2 +- .../Results/005_AL_ORU_R01_NBS_Simplified_0_initial_message.hl7 | 2 +- .../orders/003_1_ORM_O01_short_linked_to_002_ORU_R01_short.hl7 | 2 +- .../results/002_1_ORU_R01_short_linked_to_003_ORM_O01_short.hl7 | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/examples/Test/Message/msh-12_has_value_2_3.hl7 b/examples/Test/Message/msh-12_has_value_2_3.hl7 index ddd346fe9..cdae59d94 100644 --- a/examples/Test/Message/msh-12_has_value_2_3.hl7 +++ b/examples/Test/Message/msh-12_has_value_2_3.hl7 @@ -1 +1 @@ -MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^receiver.test.com^DNS|20230101010000-0000||ORM^O01^ORM_O01|111111|T|2.3|||||||||| +MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^receiver.test.com^DNS|20230101010000-0000||ORM^O01^ORM_O01|111111|D|2.3|||||||||| diff --git a/examples/Test/Message/msh_present_but_missing_msh-10.hl7 b/examples/Test/Message/msh_present_but_missing_msh-10.hl7 index 96572cd90..7f938bcad 100644 --- a/examples/Test/Message/msh_present_but_missing_msh-10.hl7 +++ b/examples/Test/Message/msh_present_but_missing_msh-10.hl7 @@ -1 +1 @@ -MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^receiver.test.com^DNS|20230101010000-0000||ORM^O01^ORM_O01||T|2.5.1|||||||||| +MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^receiver.test.com^DNS|20230101010000-0000||ORM^O01^ORM_O01||D|2.5.1|||||||||| diff --git a/examples/Test/Message/msh_present_but_missing_msh-2.hl7 b/examples/Test/Message/msh_present_but_missing_msh-2.hl7 index bf5229f94..66e9b4bde 100644 --- a/examples/Test/Message/msh_present_but_missing_msh-2.hl7 +++ b/examples/Test/Message/msh_present_but_missing_msh-2.hl7 @@ -1 +1 @@ -MSH||Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^receiver.test.com^DNS|20230101010000-0000||ORM^O01^ORM_O01|111111|T|2.5.1|||||||||| +MSH||Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^receiver.test.com^DNS|20230101010000-0000||ORM^O01^ORM_O01|111111|D|2.5.1|||||||||| diff --git a/examples/Test/Message/msh_present_but_missing_msh-6.hl7 b/examples/Test/Message/msh_present_but_missing_msh-6.hl7 index 93fac2f10..5bdde3bb8 100644 --- a/examples/Test/Message/msh_present_but_missing_msh-6.hl7 +++ b/examples/Test/Message/msh_present_but_missing_msh-6.hl7 @@ -1 +1 @@ -MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO||20230101010000-0000||ORM^O01^ORM_O01|111111|T|2.5.1|||||||||| +MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO||20230101010000-0000||ORM^O01^ORM_O01|111111|D|2.5.1|||||||||| diff --git a/examples/Test/Message/msh_present_but_missing_msh-9.hl7 b/examples/Test/Message/msh_present_but_missing_msh-9.hl7 index a7b1b9acd..a03c5e317 100644 --- a/examples/Test/Message/msh_present_but_missing_msh-9.hl7 +++ b/examples/Test/Message/msh_present_but_missing_msh-9.hl7 @@ -1 +1 @@ -MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^receiver.test.com^DNS|20230101010000-0000|||111111|T|2.5.1|||||||||| +MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^receiver.test.com^DNS|20230101010000-0000|||111111|D|2.5.1|||||||||| diff --git a/examples/Test/Message/orm_obx-5_is_not_a_numeric_value.hl7 b/examples/Test/Message/orm_obx-5_is_not_a_numeric_value.hl7 index 93152c4ac..a28149c6e 100644 --- a/examples/Test/Message/orm_obx-5_is_not_a_numeric_value.hl7 +++ b/examples/Test/Message/orm_obx-5_is_not_a_numeric_value.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^receiver.test.com^DNS|20230101010000-0000||ORM^O01^ORM_O01|111111|T|2.5.1|||||||||| +MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^receiver.test.com^DNS|20230101010000-0000||ORM^O01^ORM_O01|111111|D|2.5.1|||||||||| ORC|NW|421832901^EPIC^1.2.840.114350.1.13.145.2.7.2.695071^ISO|||||||20230506052913-0500|||1265136360^JONES^JANE^^^^^^NPI^L^^^NPI|||||||||ST. CLOUD HOSPITAL^L^^^^CMS^NPI^^^1043269798~ST. CLOUD HOSPITAL^L^^^^MN Public Health Lab^Submitter ID^^^739 OBR|1|421832901^EPIC^1.2.840.114350.1.13.145.2.7.2.695071^ISO||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN|||20230506050000||||||||440500007&Blood spot specimen&SCT OBX|1|NM|8339-4^BIRTH WEIGHT MEASURED^LN|1|NOVALUE|g^gram^UCUM|||||O|||20230506050000-0500|||||||||||||||QST|AOE diff --git a/examples/Test/Orders/003_AL_ORM_O01_NBS_Fully_Populated_0_initial_message.hl7 b/examples/Test/Orders/003_AL_ORM_O01_NBS_Fully_Populated_0_initial_message.hl7 index f56277006..346f9cd76 100644 --- a/examples/Test/Orders/003_AL_ORM_O01_NBS_Fully_Populated_0_initial_message.hl7 +++ b/examples/Test/Orders/003_AL_ORM_O01_NBS_Fully_Populated_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690|D|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|2801690163^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/004_AL_ORM_O01_NBS_Multiple_Races_Multiple_Births_0_initial_message.hl7 b/examples/Test/Orders/004_AL_ORM_O01_NBS_Multiple_Races_Multiple_Births_0_initial_message.hl7 index 545b182d3..4e251da93 100644 --- a/examples/Test/Orders/004_AL_ORM_O01_NBS_Multiple_Races_Multiple_Births_0_initial_message.hl7 +++ b/examples/Test/Orders/004_AL_ORM_O01_NBS_Multiple_Races_Multiple_Births_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistSouth^2.16.840.1.114222.4.1.000002^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202401180152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistSouth^2.16.840.1.114222.4.1.000002^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202401180152||ORM^O01^ORM_O01|Q1960841872T2476960690|D|2.5.1||||||8859/1 PID|1||1256872^^^Baptist South^MR||TWO^TESTCASE||202401150152-0500|M^Male^HL70001||2076-8^Native Hawaiian or Other Pacific Islander^HL70005~2028-9^American Indian or Alaska Native^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227644455||||U^Unknown^HL70189|||2||||| NK1|1|TWO^MOMFIRST|MTH^Mother^HL70063||^^^^^771^7867554||||||||||||||||||||||||||||9101112^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|5560411468^ORDERID||||||||||55566^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/005_AL_ORM_O01_NBS_Incorrect_Units_0_initial_message.hl7 b/examples/Test/Orders/005_AL_ORM_O01_NBS_Incorrect_Units_0_initial_message.hl7 index 428a59f6a..605b2c59f 100644 --- a/examples/Test/Orders/005_AL_ORM_O01_NBS_Incorrect_Units_0_initial_message.hl7 +++ b/examples/Test/Orders/005_AL_ORM_O01_NBS_Incorrect_Units_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistSouth^2.16.840.1.114222.4.1.000002^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202401200152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistSouth^2.16.840.1.114222.4.1.000002^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202401200152||ORM^O01^ORM_O01|Q1960841872T2476960690|D|2.5.1||||||8859/1 PID|1||1256872^^^Baptist South^MR||THREE^TESTCASE||202401160152-0500|U^Unknown^HL70001||2054-5^Black or African American^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227644455||||H^Hispanic or Latino^HL70189|||1||||| NK1|1|THREE^MOMFIRST|MTH^Mother^HL70063||^^^^^771^7867123||||||||||||||||||||||||||||9101000^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|8765411468^ORDERID||||||||||90535^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/006_AL_ORM_O01_NBS_Incorrect_Data_Types_0_initial_message.hl7 b/examples/Test/Orders/006_AL_ORM_O01_NBS_Incorrect_Data_Types_0_initial_message.hl7 index b234c1000..0934fc94a 100644 --- a/examples/Test/Orders/006_AL_ORM_O01_NBS_Incorrect_Data_Types_0_initial_message.hl7 +++ b/examples/Test/Orders/006_AL_ORM_O01_NBS_Incorrect_Data_Types_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistSouth^2.16.840.1.114222.4.1.000002^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202401200152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistSouth^2.16.840.1.114222.4.1.000002^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202401200152||ORM^O01^ORM_O01|Q1960841872T2476960690|D|2.5.1||||||8859/1 PID|1||1256872^^^Baptist South^MR||FOUR^TESTCASE||202401160152-0500|U^Unknown^HL70001||Asian|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227644455||||H^Hispanic or Latino^HL70189|||1||||| NK1|1|FOUR^MOMFIRST|MTH^Mother^HL70063||^^^^^771^7867123||||||||||||||||||||||||||||9101000^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|8765411468^ORDERID||||||||||90535^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/007_AL_ORM_O01_NBS_Missing_Required_Fields_0_initial_message.hl7 b/examples/Test/Orders/007_AL_ORM_O01_NBS_Missing_Required_Fields_0_initial_message.hl7 index c30550a17..f74bf8d22 100644 --- a/examples/Test/Orders/007_AL_ORM_O01_NBS_Missing_Required_Fields_0_initial_message.hl7 +++ b/examples/Test/Orders/007_AL_ORM_O01_NBS_Missing_Required_Fields_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|||||202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 +MSH|^~\&|||||202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690|D|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||FIVE^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|FIVE^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||9101000^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|4560411583^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/008_AL_ORM_O01_NBS_Incorrect_Code_System_0_initial_message.hl7 b/examples/Test/Orders/008_AL_ORM_O01_NBS_Incorrect_Code_System_0_initial_message.hl7 index 39add782b..fb20da452 100644 --- a/examples/Test/Orders/008_AL_ORM_O01_NBS_Incorrect_Code_System_0_initial_message.hl7 +++ b/examples/Test/Orders/008_AL_ORM_O01_NBS_Incorrect_Code_System_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690|D|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||SIX^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||NO^Not Real^FAKE|||1||||| NK1|1|SIX^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||9101000^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|4560411583^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/009_AL_ORM_O01_NBS_Missing_Non_Required_Fields_0_initial_message.hl7 b/examples/Test/Orders/009_AL_ORM_O01_NBS_Missing_Non_Required_Fields_0_initial_message.hl7 index 0f4440b39..a486c54bf 100644 --- a/examples/Test/Orders/009_AL_ORM_O01_NBS_Missing_Non_Required_Fields_0_initial_message.hl7 +++ b/examples/Test/Orders/009_AL_ORM_O01_NBS_Missing_Non_Required_Fields_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690|D|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||^TESTCASE|||F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||9101000^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|4560411583^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/010_AL_ORM_O01_NBS_Multiple_Parent_Contant_Phone_Numbers_0_initial_message.hl7 b/examples/Test/Orders/010_AL_ORM_O01_NBS_Multiple_Parent_Contant_Phone_Numbers_0_initial_message.hl7 index f6cdefdec..898c1501f 100644 --- a/examples/Test/Orders/010_AL_ORM_O01_NBS_Multiple_Parent_Contant_Phone_Numbers_0_initial_message.hl7 +++ b/examples/Test/Orders/010_AL_ORM_O01_NBS_Multiple_Parent_Contant_Phone_Numbers_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|202402240152||ORM^O01^ORM_O01|Q1960841872T2476960690|D|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||SIX^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|SIX^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861~^^^^^801^5693800||||||||||||||||||||||||||||9101000^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|4560411583^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/011_AL_ORM_O01_malformed_DTM_datatype_0_initial_message.hl7 b/examples/Test/Orders/011_AL_ORM_O01_malformed_DTM_datatype_0_initial_message.hl7 index 4bbcf04cf..7a846c885 100644 --- a/examples/Test/Orders/011_AL_ORM_O01_malformed_DTM_datatype_0_initial_message.hl7 +++ b/examples/Test/Orders/011_AL_ORM_O01_malformed_DTM_datatype_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690|D|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|2801690163^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/012_AL_ORM_O01_malformed_XAD_datatype_0_initial_message.hl7 b/examples/Test/Orders/012_AL_ORM_O01_malformed_XAD_datatype_0_initial_message.hl7 index c2ca9bd3a..deced8fde 100644 --- a/examples/Test/Orders/012_AL_ORM_O01_malformed_XAD_datatype_0_initial_message.hl7 +++ b/examples/Test/Orders/012_AL_ORM_O01_malformed_XAD_datatype_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690|D|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|2801690163^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Orders/013_AL_ORM_O01_invalid_text_as_txt_datatype_0_initial_message.hl7 b/examples/Test/Orders/013_AL_ORM_O01_invalid_text_as_txt_datatype_0_initial_message.hl7 index 71727c691..57f97edf8 100644 --- a/examples/Test/Orders/013_AL_ORM_O01_invalid_text_as_txt_datatype_0_initial_message.hl7 +++ b/examples/Test/Orders/013_AL_ORM_O01_invalid_text_as_txt_datatype_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690||2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^simulated-lab-id^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690|D|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|2801690163^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/Results/002_AL_ORU_R01_NBS_Fully_Populated_0_initial_message.hl7 b/examples/Test/Results/002_AL_ORU_R01_NBS_Fully_Populated_0_initial_message.hl7 index 66e6b2253..50ea63254 100644 --- a/examples/Test/Results/002_AL_ORU_R01_NBS_Fully_Populated_0_initial_message.hl7 +++ b/examples/Test/Results/002_AL_ORU_R01_NBS_Fully_Populated_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||20230504131000|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1|||||N| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063^^^^^^Mother||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS||||||| ORC|RE|4560411583^ORDERID|20231561137^ALPHL|||||||||1174911127^SMITH^SAMANTHA^^^^^^NPI^L^^^NPI|||||||||BAPTIST EAST^L^^^^CMS^NPI^^^1043269798~BAPTIST EAST^L^^^^AL Public Health Lab^Submitter ID^^^739||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/Test/Results/003_AL_ORU_R01_NBS_Normal_And_Abnormal_Results_0_initial_message.hl7 b/examples/Test/Results/003_AL_ORU_R01_NBS_Normal_And_Abnormal_Results_0_initial_message.hl7 index a3c0d77b1..b3671431c 100644 --- a/examples/Test/Results/003_AL_ORU_R01_NBS_Normal_And_Abnormal_Results_0_initial_message.hl7 +++ b/examples/Test/Results/003_AL_ORU_R01_NBS_Normal_And_Abnormal_Results_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||20230504131000|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1|||||N| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063^^^^^^Mother||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS||||||| ORC|RE|4560411583^ORDERID|20231561137^ALPHL|||||||||1174911127^SMITH^SAMANTHA^^^^^^NPI^L^^^NPI|||||||||BAPTIST EAST^L^^^^CMS^NPI^^^1043269798~BAPTIST EAST^L^^^^AL Public Health Lab^Submitter ID^^^739||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/Test/Results/004_AL_ORU_R01_NBS_Specimen_Unsatisfactory_0_initial_message.hl7 b/examples/Test/Results/004_AL_ORU_R01_NBS_Specimen_Unsatisfactory_0_initial_message.hl7 index d04af4d13..ae4694d82 100644 --- a/examples/Test/Results/004_AL_ORU_R01_NBS_Specimen_Unsatisfactory_0_initial_message.hl7 +++ b/examples/Test/Results/004_AL_ORU_R01_NBS_Specimen_Unsatisfactory_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||20230504131000|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1|||||N| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063^^^^^^Mother||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS||||||| ORC|RE|4560411583^ORDERID|20231561137^ALPHL|||||||||1174911127^SMITH^SAMANTHA^^^^^^NPI^L^^^NPI|||||||||BAPTIST EAST^L^^^^CMS^NPI^^^1043269798~BAPTIST EAST^L^^^^AL Public Health Lab^Submitter ID^^^739||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/Test/Results/005_AL_ORU_R01_NBS_Simplified_0_initial_message.hl7 b/examples/Test/Results/005_AL_ORU_R01_NBS_Simplified_0_initial_message.hl7 index 9f3e0baa0..fbc0d8370 100644 --- a/examples/Test/Results/005_AL_ORU_R01_NBS_Simplified_0_initial_message.hl7 +++ b/examples/Test/Results/005_AL_ORU_R01_NBS_Simplified_0_initial_message.hl7 @@ -1,6 +1,6 @@ FHS|^~\&|||0.0.0.0.1|0.0.0.0.1|202106221314-0400 BHS|^~\&|||0.0.0.0.1|0.0.0.0.1|202106221314-0400 -MSH|^~\&||Any facility USA^00D1063590^CLIA|0.0.0.0.1|0.0.0.0.1|20210622131413.8343-0400||ORU^R01^ORU_R01|858625|T|2.5.1|||NE|NE|USA|UNICODE UTF-8 +MSH|^~\&||Any facility USA^00D1063590^CLIA|0.0.0.0.1|0.0.0.0.1|20210622131413.8343-0400||ORU^R01^ORU_R01|858625|D|2.5.1|||NE|NE|USA|UNICODE UTF-8 SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME Data Hub|0.1-SNAPSHOT||20210622 PID|1||ty6vmz^^^Any lab USA&00D1063590&CLIA^sk6yx07d^&00D1063590&CLIA||Walker^Caleb^Elida^V^^^w9tdt9||19280828|A||2106-3^White^HL70005^^^^2.5.1|1663 Simonis Loaf^^^IG^^2ljq2bmyq||^NET^Internet^gaylord.schumm@email.com~(235)8597464^PRN^PH^^1^235^8597464|||||||470-08-1020||N^Non Hispanic or Latino^HL70189^^^^2.9|||||||20210619|UNK|||||||||83 ORC|RE|094127^Any lab USA^91D6499987^CLIA|790928^Any lab USA^91D6499987^CLIA|429385^zpa15khbo^23D3640684^CLIA||||||||9761354546^Hane^Merrill^Winston^^^^^0.0.0.0.1^^^^uyheq064u||(203)9088367^WPN^PH^^1^203^9088367|20210613||||||Any facility USA|52005 Jaime Courts^^^IG^^^^CSV|(226)4923361^WPN^PH^^1^226^4923361|495 Li Orchard^^^IG diff --git a/examples/Test/e2e/orders/003_1_ORM_O01_short_linked_to_002_ORU_R01_short.hl7 b/examples/Test/e2e/orders/003_1_ORM_O01_short_linked_to_002_ORU_R01_short.hl7 index 87cacd9f0..656372f5f 100644 --- a/examples/Test/e2e/orders/003_1_ORM_O01_short_linked_to_002_ORU_R01_short.hl7 +++ b/examples/Test/e2e/orders/003_1_ORM_O01_short_linked_to_002_ORU_R01_short.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690|T|2.5.1||||||8859/1 +MSH|^~\&|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|20240224134009||ORM^O01^ORM_O01|Q1960841872T2476960690|D|2.5.1||||||8859/1 PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||202402210152-0500|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1||||| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS ORC|NW|4560411583^ORDERID||||||||||12345^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L||||||||| diff --git a/examples/Test/e2e/results/002_1_ORU_R01_short_linked_to_003_ORM_O01_short.hl7 b/examples/Test/e2e/results/002_1_ORU_R01_short_linked_to_003_ORM_O01_short.hl7 index 815b35867..c08f9c04a 100644 --- a/examples/Test/e2e/results/002_1_ORU_R01_short_linked_to_003_ORM_O01_short.hl7 +++ b/examples/Test/e2e/results/002_1_ORU_R01_short_linked_to_003_ORM_O01_short.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|ALlabNatus^2.16.840.1.114222.4.1.181960.2^ISO|ALlab^2.16.840.1.114222.4.1.181960^ISO|BaptistOracle^2.16.840.1.114222.4.1.000000^ISO|BaptistEast^2.16.840.1.114222.4.1.000001^ISO|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||1300974^^^Baptist East^MR||ONE^TESTCASE||20230504131000|F^Female^HL70001||2106-3^White^HL70005|1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery|||||||2227600015||||N^Not Hispanic or Latino^HL70189|||1|||||N| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063^^^^^^Mother||^^^^^804^5693861||||||||||||||||||||||||||||123456789^^^Medicaid&2.16.840.1.113883.4.446&ISO^MD||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS||||||| ORC|RE|4560411583^ORDERID|20231561137^ALPHL|||||||||1174911127^SMITH^SAMANTHA^^^^^^NPI^L^^^NPI|||||||||BAPTIST EAST^L^^^^CMS^NPI^^^1043269798~BAPTIST EAST^L^^^^AL Public Health Lab^Submitter ID^^^739||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| From d8938559c3395206d41aca6ac1fe2f0d57b053f3 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Tue, 8 Oct 2024 10:29:20 -0700 Subject: [PATCH 03/16] Updated MSH-11 from D to T for CA sample OML --- examples/CA/001_CA_OML_O21.hl7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/CA/001_CA_OML_O21.hl7 b/examples/CA/001_CA_OML_O21.hl7 index 3e16e9df8..f6b921c27 100644 --- a/examples/CA/001_CA_OML_O21.hl7 +++ b/examples/CA/001_CA_OML_O21.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|EPIC|R356|SISHIERECEIVER|SISGDSP|20220207150825|RL6240|OML^O21|121121|D|2.5.1 +MSH|^~\&|EPIC|R356|SISHIERECEIVER|SISGDSP|20220207150825|RL6240|OML^O21|121121|T|2.5.1 PID|||3000657^^^EPI||SURROGATEEVENT^BABYBOY|BLUEBERRY|20220203182821|M||2054- 5^Black or African American|4040 CENTRAL AVE^^PACIFIC GROVE^CA^93950||||E^ENGLISH|||||||2186-5^Not Hispanic|||A PD1||||1234567890^PCPLASTNAME^PCPFIRSTNAME^^^^^^^^^^NPI^^ NK1|1|SURROGA TEEVENT^NORMA|||8315550909^^^GBS@nomail.com|||||||||||19980131|||||||||||||||||12 3-09-8555 From b4d7b835730adeb842dcdf8950e19b6b210922a9 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Tue, 8 Oct 2024 10:56:03 -0700 Subject: [PATCH 04/16] Removed hurl script MSH overwrite that is not needed now that we're using MSH-11 for test message routing --- scripts/hurl/rs/hrl | 37 +------------------------------------ scripts/hurl/rs/readme.md | 1 - 2 files changed, 1 insertion(+), 37 deletions(-) diff --git a/scripts/hurl/rs/hrl b/scripts/hurl/rs/hrl index e6c8ee3cc..121526896 100755 --- a/scripts/hurl/rs/hrl +++ b/scripts/hurl/rs/hrl @@ -14,8 +14,6 @@ client_id=flexion client_sender=simulated-hospital verbose="" submission_id="" -allow_outbound=false -msh_header_replacement="" show_help() { echo "Usage: $(basename $0) [OPTIONS]" @@ -31,7 +29,6 @@ show_help() { echo " -i The submissionId to call the history API with (Required for history API)" echo " -v Verbose mode" echo " -h Display this help and exit" - echo " -p By default, the MSH segment is replaced to contain a Flexion receiver in order to avoid sending messages to partners inadvertently. When using this flag, the MSH segment will not be replaced" } # Check if required HURL_FILE is provided @@ -50,7 +47,7 @@ fi hurl_file="$1" # Assign the first argument to hurl_file shift # Remove the first argument from the list of arguments -while getopts ':f:r:t:e:c:s:x:i:vh:p' opt; do +while getopts ':f:r:t:e:c:s:x:i:vh' opt; do case "$opt" in f) fpath="$OPTARG" @@ -83,9 +80,6 @@ while getopts ':f:r:t:e:c:s:x:i:vh:p' opt; do show_help exit 0 ;; - p) - allow_outbound=true - ;; :) echo -e "Option requires an argument" show_help @@ -123,30 +117,6 @@ if [ -z "$secret" ]; then exit 1 fi -if [ "$allow_outbound" = false ] && [ -n "$fpath" ]; then - # Grab MSH Header - msh_header=$(head -n1 "$CDCTI_HOME/$fpath") - # Check message type - if [[ "$msh_header" = *"^R01"* ]]; then - msh_header_replacement="MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^simulated-hospital-id^DNS|20230101010000-0000||ORU^R01^ORU_R01|111111|T|2.5.1||||||||||" - elif [[ "$msh_header" = *"^O01"* ]]; then - msh_header_replacement="MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^simulated-lab-id^DNS|20230101010000-0000||ORM^O01^ORM_O01|111111|T|2.5.1||||||||||" - elif [[ "$msh_header" = *"^O21"* ]]; then - msh_header_replacement="MSH|^~\&|Sender Application^sender.test.com^DNS|Sender Facility^0.0.0.0.0.0.0.0^ISO|Receiver Application^0.0.0.0.0.0.0.0^ISO|Receiver Facility^simulated-lab-id^DNS|20230101010000-0000||OML^O21^OML_O21|111111|T|2.5.1||||||||||" - else - echo "File does not contain valid message type (MSH-9) values." - exit 1 - fi - file_path=$(dirname "$fpath") - substitutedFilePathPrefix="$CDCTI_HOME/substituted_header" - # Make temporary directory to store scrambled file - mkdir -p "$substitutedFilePathPrefix/$file_path" && touch -f "$substitutedFilePathPrefix/$fpath" - # Replace MSH Header and write into temporary directory - sed "1s/.*/$msh_header_replacement/" "$CDCTI_HOME/$fpath" >"$substitutedFilePathPrefix/$fpath" - fpath=$substitutedFilePathPrefix/$fpath - echo "By default, the MSH segment is replaced to contain a Flexion receiver in order to avoid sending messages to partners inadvertently. To toggle this, run with -p." -fi - hurl \ --variable fpath=$fpath \ --file-root $root \ @@ -159,8 +129,3 @@ hurl \ $verbose \ $hurl_file \ $@ - -# Remove temporary directory -if [ "$allow_outbound" = false ]; then - rm -r "$substitutedFilePathPrefix" -fi diff --git a/scripts/hurl/rs/readme.md b/scripts/hurl/rs/readme.md index f196ea9b9..d73e46e77 100644 --- a/scripts/hurl/rs/readme.md +++ b/scripts/hurl/rs/readme.md @@ -16,7 +16,6 @@ Options: -i The submissionId to call the history API with (Required for history API) -v Verbose mode -h Display this help and exit - -p By default, the MSH segment is replaced to contain a Flexion receiver in order to avoid sending messages to partners inadvertently. When using this flag, the MSH segment will not be replaced ``` ## Examples From 2b604a1ea982f91e977e5a24cdf140af2ff94c26 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:06:48 -0700 Subject: [PATCH 05/16] Added docs in the readme --- examples/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/examples/README.md b/examples/README.md index 6abe12bb8..b9b496786 100644 --- a/examples/README.md +++ b/examples/README.md @@ -15,6 +15,15 @@ - `3_hl7_translation_final` - File extension: either `hl7` or `fhir` +## Routing of these files + +To avoid routing issues, we have decided to use `MSH-11` for routing of test messages. The values that we have decided to use are: +- `D`: for test files not to be sent to partners and to be sent manually. Any files under `examples/Test/` and not in `examples/Test/Automated/` should have this value +- `N`: for test files not to be sent to partners and sent by a scheduled task. Any files under `examples/Test/Automated/` should have this value +- `T`: for test files to be sent to partners and to be sent manually. Usually files in `examples/` and not in `examples/Test/`, should have this value. Other values like `P` could be used, but they **should not** have `D` or `N` + +**Note**: for some sample files, our transformations will rewrite the `MSH-5` and/or `MSH-6` HL7 fields normally used for routing, so we can't rely only on those fields to route. This is the case for most of the files in the `examples/CA` folder. If you are sending any files in that folder and you don't want the message to be delivered to our partner, please make sure `MSH-11` is **not** `T`. Otherwise the message will be delivered to our partner regardless of what is there in `MSH-5` and `MSH-6` + ## Previously renamed files - `fhir/MN NBS FHIR Order Message.json` => `Test/e2e/orders/002_ORM_O01.fhir` @@ -43,3 +52,4 @@ - The `ORM` messages with ids `003`, `004`, `005`, `006`, `007`, `008`, `009`, `010` in the `Test/Orders` folder were modified to comply with current requirements for ReportStream, as it doesn't yet support HL7 `2.3`: - Added `MSH-9.3` - Changed `MSH-10` to `2.5.1` +- The `MSH-11` value for `CA/001_CA_OML_O21.hl7` was changed from `D` to `T` to comply with our routing requirements From f5de6e37b3bea6060f5f9cdb10d4864fe86baec8 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Tue, 8 Oct 2024 14:35:25 -0700 Subject: [PATCH 06/16] Updated readme and added ADR skeleton --- adr/026-hl7-test-message-routing.md | 23 +++++++++++++++++++++++ examples/README.md | 6 +++--- 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 adr/026-hl7-test-message-routing.md diff --git a/adr/026-hl7-test-message-routing.md b/adr/026-hl7-test-message-routing.md new file mode 100644 index 000000000..a0fa83051 --- /dev/null +++ b/adr/026-hl7-test-message-routing.md @@ -0,0 +1,23 @@ +# 26. Architecture Decision Records + +Date: + +## Decision + + + +## Status + +Accepted. + +## Context + +## Impact + +### Positive + +## Negative + +### Risks + +## Related Issues diff --git a/examples/README.md b/examples/README.md index b9b496786..b1b90cb9f 100644 --- a/examples/README.md +++ b/examples/README.md @@ -20,9 +20,9 @@ To avoid routing issues, we have decided to use `MSH-11` for routing of test messages. The values that we have decided to use are: - `D`: for test files not to be sent to partners and to be sent manually. Any files under `examples/Test/` and not in `examples/Test/Automated/` should have this value - `N`: for test files not to be sent to partners and sent by a scheduled task. Any files under `examples/Test/Automated/` should have this value -- `T`: for test files to be sent to partners and to be sent manually. Usually files in `examples/` and not in `examples/Test/`, should have this value. Other values like `P` could be used, but they **should not** have `D` or `N` +- `T`: for test files to be sent to partners and to be sent manually. Usually files in `examples/` and not in `examples/Test/`, should have this value. `P` could be used as well -**Note**: for some sample files, our transformations will rewrite the `MSH-5` and/or `MSH-6` HL7 fields normally used for routing, so we can't rely only on those fields to route. This is the case for most of the files in the `examples/CA` folder. If you are sending any files in that folder and you don't want the message to be delivered to our partner, please make sure `MSH-11` is **not** `T`. Otherwise the message will be delivered to our partner regardless of what is there in `MSH-5` and `MSH-6` +**Note**: for some sample files, our transformations will rewrite the `MSH-5` and/or `MSH-6` HL7 fields normally used for routing, so we can't rely only on those fields to route. This is the case for most of the files in the `examples/CA` folder. If you are sending any files in that folder and you don't want the message to be delivered to our partner, please make sure `MSH-11` is **not** `T` or `P`. Otherwise the message will be delivered to our partner regardless of what is there in `MSH-5` and `MSH-6` ## Previously renamed files @@ -52,4 +52,4 @@ To avoid routing issues, we have decided to use `MSH-11` for routing of test mes - The `ORM` messages with ids `003`, `004`, `005`, `006`, `007`, `008`, `009`, `010` in the `Test/Orders` folder were modified to comply with current requirements for ReportStream, as it doesn't yet support HL7 `2.3`: - Added `MSH-9.3` - Changed `MSH-10` to `2.5.1` -- The `MSH-11` value for `CA/001_CA_OML_O21.hl7` was changed from `D` to `T` to comply with our routing requirements +- The `MSH-11` value for all sample files in `examples/` (with the exception of files in `examples/Test/Automated/`) was changed to `D`. This is to comply with our routing filters in RS for test messages From dc42d60cddfbbb5df73e2ec5a826aca2590d1095 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:04:00 -0700 Subject: [PATCH 07/16] Updated MSH-11 to D for files in examples folder --- examples/CA/001_CA_OML_O21.hl7 | 2 +- examples/CA/002_CA_ORU_R01.hl7 | 2 +- examples/CA/003_CA_ORU_R01_CDPH_produced_0_initial_message.hl7 | 2 +- examples/CA/004_CA_ORU_R01_CDPH_produced_0_initial_message.hl7 | 2 +- examples/CA/005_CA_ORU_R01_CDPH_generated_0_initial_message.hl7 | 2 +- ...CA_ORU_R01_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 | 2 +- ...H_produced_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 | 2 +- ...DPH_produced_from_UCSD_order_189556932_0_initial_message.hl7 | 2 +- ...DPH_produced_from_UCSD_order_189417053_0_initial_message.hl7 | 2 +- ...DPH_produced_from_UCSD_order_189394505_0_initial_message.hl7 | 2 +- ...DPH_produced_from_UCSD_order_189609160_0_initial_message.hl7 | 2 +- ...mpty_obr16_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 | 2 +- ...mpty_orc12_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 | 2 +- ...rc12_obr16_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 | 2 +- .../CA/020_CA_ORU_R01_CDPH_OBX_to_LOINC_0_initial_message.hl7 | 2 +- examples/Epic/001_Epic_ORM_O01.hl7 | 2 +- examples/Epic/002_Epic_ORU_R01.hl7 | 2 +- examples/LA/001_LA_ORM_O01_NBS.hl7 | 2 +- examples/MN/002_MN_OML_O21_NBS.hl7 | 2 +- examples/MN/003_MN_ORM_O01_NBS.hl7 | 2 +- examples/MN/003_MN_ORM_O01_NBS_extended.hl7 | 2 +- examples/MN/003_MN_ORM_O01_NBS_simplified.hl7 | 2 +- examples/MN/004_MN_ORU_R01_NBS_0_initial_message.hl7 | 2 +- examples/MN/005_MN_ADT_A01.hl7 | 2 +- examples/Natus/001_Natus_ACK.hl7 | 2 +- examples/Natus/002_Natus_ORU_R01_NBS_0_initial_message.hl7 | 2 +- examples/Natus/003_Natus_ORU_R01_NBS_0_initial_message.hl7 | 2 +- examples/Natus/004_Natus_ORU_R01_NBS_0_initial_message.hl7 | 2 +- examples/Natus/005_Natus_ORU_R01_NBS_0_initial_message.hl7 | 2 +- examples/Natus/006_Natus_ORU_R01_NBS_0_initial_message.hl7 | 2 +- examples/Natus/007_Natus_ORU_R01_NBS_0_initial_message.hl7 | 2 +- examples/Natus/008_Natus_ORU_R01_NBS_0_initial_message.hl7 | 2 +- examples/NewSTEPs/001_NewSTEPs_OML_021.hl7 | 2 +- examples/NewSTEPs/002_NewSTEPs_ORU_R01.hl7 | 2 +- examples/Oracle/001_Oracle_ORM_O01.hl7 | 2 +- examples/Oracle/002_Oracle_ORM_O01.hl7 | 2 +- examples/Oracle/003_Oracle_ORM_O01.hl7 | 2 +- examples/Oracle/004_Oracle_ORU_R01.hl7 | 2 +- .../Oracle/005_Oracle_ORM_O01_2_3_non_NBS_0_initial_message.hl7 | 2 +- .../Oracle/006_Oracle_ORM_O01_2_3_non_NBS_0_initial_message.hl7 | 2 +- examples/Oracle/007_Oracle_OML_O21_NBS_for_second_twin.hl7 | 2 +- examples/Oracle/008_Oracle_OML_O21_NBS_with_two_races.hl7 | 2 +- examples/Other/001_ADT_A01.hl7 | 2 +- examples/TN/001_TN_ORU_R01_LRI.hl7 | 2 +- examples/TN/001_TN_ORU_R01_LRI_annotated_for_transformation.hl7 | 2 +- examples/TN/001_TN_ORU_R01_LRI_transformed_to_r5.hl7 | 2 +- examples/TN/002_TN_OML_O21_NBS.hl7 | 2 +- examples/TX/001_TX_OML_O21.hl7 | 2 +- examples/TX/002_TX_ORU_R01.hl7 | 2 +- 49 files changed, 49 insertions(+), 49 deletions(-) diff --git a/examples/CA/001_CA_OML_O21.hl7 b/examples/CA/001_CA_OML_O21.hl7 index f6b921c27..3e16e9df8 100644 --- a/examples/CA/001_CA_OML_O21.hl7 +++ b/examples/CA/001_CA_OML_O21.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|EPIC|R356|SISHIERECEIVER|SISGDSP|20220207150825|RL6240|OML^O21|121121|T|2.5.1 +MSH|^~\&|EPIC|R356|SISHIERECEIVER|SISGDSP|20220207150825|RL6240|OML^O21|121121|D|2.5.1 PID|||3000657^^^EPI||SURROGATEEVENT^BABYBOY|BLUEBERRY|20220203182821|M||2054- 5^Black or African American|4040 CENTRAL AVE^^PACIFIC GROVE^CA^93950||||E^ENGLISH|||||||2186-5^Not Hispanic|||A PD1||||1234567890^PCPLASTNAME^PCPFIRSTNAME^^^^^^^^^^NPI^^ NK1|1|SURROGA TEEVENT^NORMA|||8315550909^^^GBS@nomail.com|||||||||||19980131|||||||||||||||||12 3-09-8555 diff --git a/examples/CA/002_CA_ORU_R01.hl7 b/examples/CA/002_CA_ORU_R01.hl7 index 16b100b57..630b55d87 100644 --- a/examples/CA/002_CA_ORU_R01.hl7 +++ b/examples/CA/002_CA_ORU_R01.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11223344^L,M,N|^^L,M,N|20230706093730||ORU^R01^ORU_R01|220220550|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11223344^L,M,N|^^L,M,N|20230706093730||ORU^R01^ORU_R01|220220550|D|2.5.1 PID|1||^^^NPI^MR||Smith^John^^^^^B||202202050000|||2106-3^White||||||||||||2186-5^Not Hispanic or Latino||N|1 NK1|1|Smith^Sarah|MTH^Mother|850 Marina Bay Parkway, APT 125^^Richmond^CA^94806-4000^USA|^^^^^916^3720117|^^^^^916^3729999||||||||||199107010000 ORC|RE|^FormNumber||^HospOrdNumber||||||||^CORTEZ^ALAN^^^^^^^NPI||||||||||300 PASTEUR DR, RM H1524^^PALO ALTO^CA^94305-2200 diff --git a/examples/CA/003_CA_ORU_R01_CDPH_produced_0_initial_message.hl7 b/examples/CA/003_CA_ORU_R01_CDPH_produced_0_initial_message.hl7 index c044c3a84..13951bc6a 100644 --- a/examples/CA/003_CA_ORU_R01_CDPH_produced_0_initial_message.hl7 +++ b/examples/CA/003_CA_ORU_R01_CDPH_produced_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240212103049||ORU^R01^ORU_R01|243408787|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240212103049||ORU^R01^ORU_R01|243408787|D|2.5.1 PID|1||80008715^^^&NPI^MR||CDPH-FOUR^GIRL A MOMFOUR^^^^^B|||F||2076-8^Native Hawaiian or Other Pacific Islander||||||||||||2186-5^Not Hispanic or Latino||Y|1 NK1|1|CDPH-FOUR^MOMFOUR|MTH^Mother|123 TOWNE-CENTER DRIVE^^SAN-DIEGO^CA^92126^USA|^^^^^619^1231234|^^^^^858^2493690 ORC|RE|7171232842^FormNumber||189403712^HospOrdNumber||||||||^WILKINSON^LESLEY|||||||||UCSD JACOBS MEDICAL CENTER^^^^^^^^^R797| 2961DR YLLUT^^SAN DIEGO^CA^99999-9999 diff --git a/examples/CA/004_CA_ORU_R01_CDPH_produced_0_initial_message.hl7 b/examples/CA/004_CA_ORU_R01_CDPH_produced_0_initial_message.hl7 index bfa0228c4..b3a2905b3 100644 --- a/examples/CA/004_CA_ORU_R01_CDPH_produced_0_initial_message.hl7 +++ b/examples/CA/004_CA_ORU_R01_CDPH_produced_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240226034304||ORU^R01^ORU_R01|243408836|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240226034304||ORU^R01^ORU_R01|243408836|D|2.5.1 PID|1||80008836^^^&NPI^MR||CDPHSIX^BOY MOMSIX^^^^^B|||M||2106-3^White||||||||||||2186-5^Not Hispanic or Latino||N|1 NK1|1|CDPHSIX|MTH^Mother|132 ST^^SAN DIEGO^CA^92126^USA ORC|RE|7181233072^FormNumber||189430284^HospOrdNumber||||||||^ROSEN^REBECCA|||||||||UCSD JACOBS MEDICAL CENTER^^^^^^^^^R797| 2961DR YLLUT^^SAN DIEGO^CA^99999-9999 diff --git a/examples/CA/005_CA_ORU_R01_CDPH_generated_0_initial_message.hl7 b/examples/CA/005_CA_ORU_R01_CDPH_generated_0_initial_message.hl7 index 45a5224e3..7c24b9867 100644 --- a/examples/CA/005_CA_ORU_R01_CDPH_generated_0_initial_message.hl7 +++ b/examples/CA/005_CA_ORU_R01_CDPH_generated_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11223344^L,M,N|^^L,M,N|20240716090632||ORU^R01^ORU_R01|220220550|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11223344^L,M,N|^^L,M,N|20240716090632||ORU^R01^ORU_R01|220220550|D|2.5.1 PID|1||80008715^^^NPI^MR||Bird^Tweety^^^^^B||202407100000|M||2106-3^White||||||||||||2186-5^Not Hispanic or Latino||N|1 NK1|1|Bird^Big|MTH^Mother|850 Marina Bay Parkway, APT 125^^Richmond^CA^94806-4000^USA|^^^^^916^3720117|^^^^^916^3729999||||||||||199301010000 ORC|RE|ABC888^FormNumber||Q12345^HospOrdNumber||||||||^CORTEZ^ALAN^^^^^^^NPI|||||||||UCSD JACOBS MEDICAL CENTER^^^^^^^^^R797|300 PASTEUR DR, RM H1524^^PALO ALTO^CA^94305-2200 diff --git a/examples/CA/006_CA_ORU_R01_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 b/examples/CA/006_CA_ORU_R01_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 index 9ca25bcf2..1d09fdfa0 100644 --- a/examples/CA/006_CA_ORU_R01_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 +++ b/examples/CA/006_CA_ORU_R01_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11223344^L,M,N|^^L,M,N|20240716090632||ORU^R01^ORU_R01|220220550|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11223344^L,M,N|^^L,M,N|20240716090632||ORU^R01^ORU_R01|220220550|D|2.5.1 PID|1||80008715^^^NPI^MR||Bird^Tweety^^^^^B||202407100000|M||2106-3^White||||||||||||2186-5^Not Hispanic or Latino||N|1 NK1|1|Bird^Big|MTH^Mother|850 Marina Bay Parkway, APT 125^^Richmond^CA^94806-4000^USA|^^^^^916^3720117|^^^^^916^3729999||||||||||199301010000 ORC|RE|ABC888^FormNumber||Q12345^HospOrdNumber||||||||^CORTEZ^ALAN^^^^^^^NPI|||||||||UCSD JACOBS MEDICAL CENTER^^^^^^^^^R797|300 PASTEUR DR, RM H1524^^PALO ALTO^CA^94305-2200 diff --git a/examples/CA/007_CA_ORU_R01_CDPH_produced_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 b/examples/CA/007_CA_ORU_R01_CDPH_produced_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 index 813ac6681..5f7b63087 100644 --- a/examples/CA/007_CA_ORU_R01_CDPH_produced_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 +++ b/examples/CA/007_CA_ORU_R01_CDPH_produced_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240711034913||ORU^R01^ORU_R01|243747623|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240711034913||ORU^R01^ORU_R01|243747623|D|2.5.1 PID|1||80009197^^^&NPI^MR||NICUABG^TESTONE^^^^^B||20240607|M||2076-8^Native Hawaiian or Other Pacific Islander||||||||||||2186-5^Not Hispanic or Latino||N|1 NK1|1|NICUABG|MTH^Mother ORC|RE|7241234515^FormNumber||189609160^HospOrdNumber||||||||1790743185^HUBBARD^EUSTRATIA^^^^^^^NPI|||||||||^^^^^^^^^R797| N 054TS ARALC, TS102 E^^SAN DIEGO^CA^99999-9999 diff --git a/examples/CA/010_CA_ORU_R01_CDPH_produced_from_UCSD_order_189556932_0_initial_message.hl7 b/examples/CA/010_CA_ORU_R01_CDPH_produced_from_UCSD_order_189556932_0_initial_message.hl7 index b7a6c75a0..c395c3329 100644 --- a/examples/CA/010_CA_ORU_R01_CDPH_produced_from_UCSD_order_189556932_0_initial_message.hl7 +++ b/examples/CA/010_CA_ORU_R01_CDPH_produced_from_UCSD_order_189556932_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^1730127069^L,M,N|20240722103544||ORU^R01^ORU_R01|243747672|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^1730127069^L,M,N|20240722103544||ORU^R01^ORU_R01|243747672|D|2.5.1 PID|1||80008765^^^1730127069&NPI^MR||CDPHTWENTYFIVE^BOY MOM^^^^^B||202308101318|M||2131-1^Other Race||||||||||||2135-2^Hispanic or Latino||Y|2 NK1|1|CDPHTWENTYFIVE^MOM|MTH^Mother|125 STREET^^SAN DIEGO^CA^92126^USA|^^^^^619^6363636 ORC|RE|7251234856^FormNumber||189556932^HospOrdNumber||||||||1790743185^HUBBARD^EUSTRATIA^^^^^^^NPI|||||||||UC SAN DIEGO MEDICAL CENTER^^^^^^^^^R508| 5421TS HT61, SR ET^^SAN DIEGO^CA^99999-9999 diff --git a/examples/CA/012_CA_ORU_R01_CDPH_produced_from_UCSD_order_189417053_0_initial_message.hl7 b/examples/CA/012_CA_ORU_R01_CDPH_produced_from_UCSD_order_189417053_0_initial_message.hl7 index 250cb34d7..32d2fb595 100644 --- a/examples/CA/012_CA_ORU_R01_CDPH_produced_from_UCSD_order_189417053_0_initial_message.hl7 +++ b/examples/CA/012_CA_ORU_R01_CDPH_produced_from_UCSD_order_189417053_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240722010205||ORU^R01^ORU_R01|243747677|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240722010205||ORU^R01^ORU_R01|243747677|D|2.5.1 PID|1||80008766^^^&NPI^MR||CDPHTWENTYFIVE^BOY B MOM^^^^^B||202308101318|M||2131-1^Other Race||||||||||||2135-2^Hispanic or Latino||Y|1 NK1|1|CDPHTWENTYFIVE^MOM|MTH^Mother ORC|RE|7261235086^FormNumber||189417053^HospOrdNumber||||||||1790743185^HUBBARD^EUSTRATIA^^^^^^^NPI|||||||||^^^^^^^^^R508| 5421TS HT61, SR ET^^SAN DIEGO^CA^99999-9999 diff --git a/examples/CA/014_CA_ORU_R01_CDPH_produced_from_UCSD_order_189394505_0_initial_message.hl7 b/examples/CA/014_CA_ORU_R01_CDPH_produced_from_UCSD_order_189394505_0_initial_message.hl7 index 154161918..eeb1727d5 100644 --- a/examples/CA/014_CA_ORU_R01_CDPH_produced_from_UCSD_order_189394505_0_initial_message.hl7 +++ b/examples/CA/014_CA_ORU_R01_CDPH_produced_from_UCSD_order_189394505_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240722021721||ORU^R01^ORU_R01|243747680|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240722021721||ORU^R01^ORU_R01|243747680|D|2.5.1 PID|1||80008667^^^&NPI^MR||ADT^BOY A ARTICHOKE^^^^^B||202305250959|M||2076-8^Native Hawaiian or Other Pacific Islander||||||||||||2186-5^Not Hispanic or Latino||Y|1 NK1|1|ADT^ARTICHOKE|MTH^Mother ORC|RE|7271235330^FormNumber||189394505^HospOrdNumber||||||||1790743185^HUBBARD^EUSTRATIA^^^^^^^NPI|||||||||^^^^^^^^^R797| N 054TS ARALC, TS102 E^^SAN DIEGO^CA^99999-9999 diff --git a/examples/CA/016_CA_ORU_R01_CDPH_produced_from_UCSD_order_189609160_0_initial_message.hl7 b/examples/CA/016_CA_ORU_R01_CDPH_produced_from_UCSD_order_189609160_0_initial_message.hl7 index 813ac6681..5f7b63087 100644 --- a/examples/CA/016_CA_ORU_R01_CDPH_produced_from_UCSD_order_189609160_0_initial_message.hl7 +++ b/examples/CA/016_CA_ORU_R01_CDPH_produced_from_UCSD_order_189609160_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240711034913||ORU^R01^ORU_R01|243747623|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240711034913||ORU^R01^ORU_R01|243747623|D|2.5.1 PID|1||80009197^^^&NPI^MR||NICUABG^TESTONE^^^^^B||20240607|M||2076-8^Native Hawaiian or Other Pacific Islander||||||||||||2186-5^Not Hispanic or Latino||N|1 NK1|1|NICUABG|MTH^Mother ORC|RE|7241234515^FormNumber||189609160^HospOrdNumber||||||||1790743185^HUBBARD^EUSTRATIA^^^^^^^NPI|||||||||^^^^^^^^^R797| N 054TS ARALC, TS102 E^^SAN DIEGO^CA^99999-9999 diff --git a/examples/CA/017_CA_ORU_R01_CDPH_empty_obr16_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 b/examples/CA/017_CA_ORU_R01_CDPH_empty_obr16_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 index 3adfd154f..597e0a4dd 100644 --- a/examples/CA/017_CA_ORU_R01_CDPH_empty_obr16_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 +++ b/examples/CA/017_CA_ORU_R01_CDPH_empty_obr16_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240711034913||ORU^R01^ORU_R01|243747623|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240711034913||ORU^R01^ORU_R01|243747623|D|2.5.1 PID|1||80009197^^^&NPI^MR||NICUABG^TESTONE^^^^^B||20240607|M||2076-8^Native Hawaiian or Other Pacific Islander||||||||||||2186-5^Not Hispanic or Latino||N|1 NK1|1|NICUABG|MTH^Mother ORC|RE|7241234515^FormNumber||189609160^HospOrdNumber||||||||1790743185^HUBBARD^EUSTRATIA^^^^^^^^^^NPI|||||||||^^^^^^^^^R797| N 054TS ARALC, TS102 E^^SAN DIEGO^CA^99999-9999 diff --git a/examples/CA/018_CA_ORU_R01_CDPH_empty_orc12_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 b/examples/CA/018_CA_ORU_R01_CDPH_empty_orc12_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 index 11bb742d0..2ae4bb405 100644 --- a/examples/CA/018_CA_ORU_R01_CDPH_empty_orc12_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 +++ b/examples/CA/018_CA_ORU_R01_CDPH_empty_orc12_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240711034913||ORU^R01^ORU_R01|243747623|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240711034913||ORU^R01^ORU_R01|243747623|D|2.5.1 PID|1||80009197^^^&NPI^MR||NICUABG^TESTONE^^^^^B||20240607|M||2076-8^Native Hawaiian or Other Pacific Islander||||||||||||2186-5^Not Hispanic or Latino||N|1 NK1|1|NICUABG|MTH^Mother ORC|RE|7241234515^FormNumber||189609160^HospOrdNumber|||||||||||||||||^^^^^^^^^R797| N 054TS ARALC, TS102 E^^SAN DIEGO^CA^99999-9999 diff --git a/examples/CA/019_CA_ORU_R01_CDPH_empty_orc12_obr16_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 b/examples/CA/019_CA_ORU_R01_CDPH_empty_orc12_obr16_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 index 86ad6a2b7..fbdc78740 100644 --- a/examples/CA/019_CA_ORU_R01_CDPH_empty_orc12_obr16_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 +++ b/examples/CA/019_CA_ORU_R01_CDPH_empty_orc12_obr16_UCSD2024-07-11-16-02-17-749_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240711034913||ORU^R01^ORU_R01|243747623|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240711034913||ORU^R01^ORU_R01|243747623|D|2.5.1 PID|1||80009197^^^&NPI^MR||NICUABG^TESTONE^^^^^B||20240607|M||2076-8^Native Hawaiian or Other Pacific Islander||||||||||||2186-5^Not Hispanic or Latino||N|1 NK1|1|NICUABG|MTH^Mother ORC|RE|7241234515^FormNumber||189609160^HospOrdNumber|||||||||||||||||^^^^^^^^^R797| N 054TS ARALC, TS102 E^^SAN DIEGO^CA^99999-9999 diff --git a/examples/CA/020_CA_ORU_R01_CDPH_OBX_to_LOINC_0_initial_message.hl7 b/examples/CA/020_CA_ORU_R01_CDPH_OBX_to_LOINC_0_initial_message.hl7 index 2d3d0867a..80e086953 100644 --- a/examples/CA/020_CA_ORU_R01_CDPH_OBX_to_LOINC_0_initial_message.hl7 +++ b/examples/CA/020_CA_ORU_R01_CDPH_OBX_to_LOINC_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240711034913||ORU^R01^ORU_R01|243747623|T|2.5.1 +MSH|^~\&|SISGDSP|SISGDSP|SISHIERECEIVER^11903029^L,M,N|^^L,M,N|20240711034913||ORU^R01^ORU_R01|243747623|D|2.5.1 PID|1||80009197^^^&NPI^MR||NICUABG^TESTONE^^^^^B||20240607|M||2076-8^Native Hawaiian or Other Pacific Islander||||||||||||2186-5^Not Hispanic or Latino||N|1 NK1|1|NICUABG|MTH^Mother ORC|RE|7241234515^FormNumber||189609160^HospOrdNumber|||||||||||||||||^^^^^^^^^R797| N 054TS ARALC, TS102 E^^SAN DIEGO^CA^99999-9999 diff --git a/examples/Epic/001_Epic_ORM_O01.hl7 b/examples/Epic/001_Epic_ORM_O01.hl7 index b0cce27a3..94cda0506 100644 --- a/examples/Epic/001_Epic_ORM_O01.hl7 +++ b/examples/Epic/001_Epic_ORM_O01.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|EPICSTND|MB003480|PSC|MB|20230927071047|265108|ORM^O01|550162|P|2.3 +MSH|^~\&|EPICSTND|MB003480|PSC|MB|20230927071047|265108|ORM^O01|550162|D|2.3 PID|1|E7082628^^^^EPI||E7082628^^^^EPI|LAST NAME^FIRST NAME^MIDDLEJ||DOB|SEX|^^^||ADDRESS 1^ADDRESS 2^CITY^STATE^ZIP^US^P^^COUNT/PARISH|COUNTY PARISH|2253351752|||MARITAL||CSN/VISIT^^^T|SSN|||ETHNICITY||||||||N IN1|1|SRCTR^AETNA MEDICARE PLAN PPO^LCPLAN||AETNA MEDICARE PLAN PPO|PO BOX 981106^^EL PASO^TX^79998-1106^||8886323862|200-00313||||20230101||||LAST NAME ^FIRST^MIDDLE^|1|1|DOB|ADDRESS^^CITY^STATE^ZIP^US^^^PARISH/COUNTY|||4|||||||||N|||||101657292100|||||||F GT1|1|102656163|FIRST NAME ^LAST NAME^MIDDLE^^^^L|| ADDRESS^^CITY^STATE^ZIP^US^^^PARISH/COUNTY|2253351752~2253351752||19430118|F|P/F|1|435604788|||||^^^^^US|||UNKNOWN diff --git a/examples/Epic/002_Epic_ORU_R01.hl7 b/examples/Epic/002_Epic_ORU_R01.hl7 index b3d5fee51..69ca3a5ca 100644 --- a/examples/Epic/002_Epic_ORU_R01.hl7 +++ b/examples/Epic/002_Epic_ORU_R01.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|MAYOREFLAB|MAYOREFLAB|C7041420||202309260758|C7041420|ORU^R01|169066674328696234|P|2.3 +MSH|^~\&|MAYOREFLAB|MAYOREFLAB|C7041420||202309260758|C7041420|ORU^R01|169066674328696234|D|2.3 PID|||MRN||LAST NAME^FIRST^MIDDLE||DOB|SEX|||ADDRESS 1^ADDRESS 2^CITY^STATE^ZIP||PHONE|||||VISIT ID/CSN OBR|1|1008303116^EPC|23MAYO-265S0173^Beaker~M186031683^MAYO|F5DNA^Factor V Leiden (R506Q) Mutation, B|||202309221145|||||||202309230940||90111^BLANCHET^PAULETTE^M||||||202309260754|||F OBX|1|ST|21838^Factor V Leiden (R506Q) Mutation, B^MAYO^21668-9^F5 gene.p.Arg506Gln:PrThr:Pt:Bld/Tiss:Ord:Molgen^LN||Negative||Negative||||F||||||||202309260754 diff --git a/examples/LA/001_LA_ORM_O01_NBS.hl7 b/examples/LA/001_LA_ORM_O01_NBS.hl7 index d7d91b5c4..cbcd6e6b6 100644 --- a/examples/LA/001_LA_ORM_O01_NBS.hl7 +++ b/examples/LA/001_LA_ORM_O01_NBS.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Ochsner Health^ochsner.org^DNS|NATUS^natus.health.state.la.us^DNS|LA Public Health Lab^2.16.840.1.114222.4.3.26.3.2^ISO|20240702052916||ORM^O01^ORM_O01|31808297|T|2.5.1|||AL|AL|||||LAB_PRU_COMPONENT^^2.16.840.1.113883.9.82^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO +MSH|^~\&|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Ochsner Health^ochsner.org^DNS|NATUS^natus.health.state.la.us^DNS|LA Public Health Lab^2.16.840.1.114222.4.3.26.3.2^ISO|20240702052916||ORM^O01^ORM_O01|31808297|D|2.5.1|||AL|AL|||||LAB_PRU_COMPONENT^^2.16.840.1.113883.9.82^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO NK1|2|SMITH^SADIE^S^^^^L|MTH^Mother^HL70063^^^^^^Mother|555 STATE HIGHWAY 13^^DEER CREEK^LA^56527-9657^USA^H^^OTTER TAIL|^^PH^^^763^5555555^^(763)555-5555 NK1|1|SMITH^SAMUAL^^^^^L|FTH^Father^HL70063^^^^^^Father|^^^^^USA^H^^|^^PH^^^507^5556666^^(507)555-6666 PID|1||11102779^^^CRPMRN^MR||SMITH^BB SARAH^^^^^L|SMITH^SADIE^S|20240630131023|M|||555 STATE HIGHWAY 13^^DEER CREEK^LA^56527-9657^USA^H^^OTTER TAIL||^^PH^^^763^5555555^^(763)555-5555|||||||||||N|1|||||N diff --git a/examples/MN/002_MN_OML_O21_NBS.hl7 b/examples/MN/002_MN_OML_O21_NBS.hl7 index 7942fdb12..2186752ab 100644 --- a/examples/MN/002_MN_OML_O21_NBS.hl7 +++ b/examples/MN/002_MN_OML_O21_NBS.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|NATUS^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|20230506052916-0500||OML^O21^OML_O21|31808297|P|2.5.1|||AL|AL|||||LAB_PRU_COMPONENT^^2.16.840.1.113883.9.82^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO +MSH|^~\&|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|NATUS^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|20230506052916-0500||OML^O21^OML_O21|31808297|D|2.5.1|||AL|AL|||||LAB_PRU_COMPONENT^^2.16.840.1.113883.9.82^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO PID|1||11102779^^^CRPMRN^MR||SMITH^BB SARAH^^^^^L||20230504131023-0500|M|||555 STATE HIGHWAY 13^^DEER CREEK^MN^56527-9657^USA^^^OTTER TAIL|||||||||||||N|1|||||N NK1|1|SMITH^SAMUAL^^^^^L|FTH^Father^HL70063^^^^^^Father|^^^^^USA^H^^|^^PH^^^507^5556666^^(507)555-6666 NK1|2|SMITH^SADIE^S^^^^L|MTH^Mother^HL70063^^^^^^Mother|555 STATE HIGHWAY 13^^DEER CREEK^MN^56527-9657^USA^H^^OTTER TAIL|^^PH^^^763^5555555^^(763)555-5555 diff --git a/examples/MN/003_MN_ORM_O01_NBS.hl7 b/examples/MN/003_MN_ORM_O01_NBS.hl7 index 9f0e26fbb..4e9ebde43 100644 --- a/examples/MN/003_MN_ORM_O01_NBS.hl7 +++ b/examples/MN/003_MN_ORM_O01_NBS.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|NATUS^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|20230506052916-0500||ORM^O01^ORM_O01|31808297|P|2.5.1|||AL|AL|||||LAB_PRU_COMPONENT^^2.16.840.1.113883.9.82^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO +MSH|^~\&|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|NATUS^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|20230506052916-0500||ORM^O01^ORM_O01|31808297|D|2.5.1|||AL|AL|||||LAB_PRU_COMPONENT^^2.16.840.1.113883.9.82^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO PID|1||11102779^^^CRPMRN^MR||SMITH^BB SARAH^^^^^L|SMITH^SADIE^S|20230504131023-0500|M|||555 STATE HIGHWAY 13^^DEER CREEK^MN^56527-9657^USA^H^^OTTER TAIL||^^PH^^^763^5555555^^(763)555-5555|||||||||||N|1|||||N ORC|NW|421832901^EPIC^1.2.840.114350.1.13.145.2.7.2.695071^ISO|||||||20230506052913-0500|||1265136360^JONES^JANE^^^^^^NPI^L^^^NPI|||||||||ST. CLOUD HOSPITAL^L^^^^CMS^NPI^^^1043269798~ST. CLOUD HOSPITAL^L^^^^MN Public Health Lab^Submitter ID^^^739 OBR|1|421832901^EPIC^1.2.840.114350.1.13.145.2.7.2.695071^ISO||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN|||20230506050000||||||||440500007&Blood spot specimen&SCT diff --git a/examples/MN/003_MN_ORM_O01_NBS_extended.hl7 b/examples/MN/003_MN_ORM_O01_NBS_extended.hl7 index 3b0ff3a9e..7e3872d33 100644 --- a/examples/MN/003_MN_ORM_O01_NBS_extended.hl7 +++ b/examples/MN/003_MN_ORM_O01_NBS_extended.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|NATUS^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|20230506052916-0500||ORM^O01^ORM_O01|31808297|P|2.5.1|||AL|AL|||||LAB_PRU_COMPONENT^^2.16.840.1.113883.9.82^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO +MSH|^~\&|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|NATUS^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|20230506052916-0500||ORM^O01^ORM_O01|31808297|D|2.5.1|||AL|AL|||||LAB_PRU_COMPONENT^^2.16.840.1.113883.9.82^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO PID|1||11102779^^^CRPMRN^MR||SMITH^BB SARAH^^^^^L||20230504131023-0500|M|||555 STATE HIGHWAY 13^^DEER CREEK^MN^56527-9657^USA^^^OTTER TAIL|||||||||||||N|1|||||N NK1|1|SMITH^SAMUAL^^^^^L|FTH^Father^HL70063^^^^^^Father|^^^^^USA^H^^|^^PH^^^507^5556666^^(507)555-6666 NK1|2|SMITH^SADIE^S^^^^L|MTH^Mother^HL70063^^^^^^Mother|555 STATE HIGHWAY 13^^DEER CREEK^MN^56527-9657^USA^H^^OTTER TAIL|^^PH^^^763^5555555^^(763)555-5555 diff --git a/examples/MN/003_MN_ORM_O01_NBS_simplified.hl7 b/examples/MN/003_MN_ORM_O01_NBS_simplified.hl7 index d5c251252..3ba484649 100644 --- a/examples/MN/003_MN_ORM_O01_NBS_simplified.hl7 +++ b/examples/MN/003_MN_ORM_O01_NBS_simplified.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|NATUS^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|20230506052916-0500||ORM^O01^ORM_O01|31808297|P|2.5.1|||AL|AL|||||LAB_PRU_COMPONENT^^2.16.840.1.113883.9.82^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO +MSH|^~\&|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|NATUS^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|20230506052916-0500||ORM^O01^ORM_O01|31808297|D|2.5.1|||AL|AL|||||LAB_PRU_COMPONENT^^2.16.840.1.113883.9.82^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO PID|1||11102779^^^CRPMRN^MR||SMITH^BB SARAH^^^^^L|SMITH^SADIE^S|20230504131023-0500|M|||555 STATE HIGHWAY 13^^DEER CREEK^MN^56527-9657^USA^H^^OTTER TAIL||^^PH^^^763^555555^^(763)555-5555|||||||||||N|1|||||N ORC|NW|421832901^EPIC^1.2.840.114350.1.13.145.2.7.2.695071^ISO|||||||20230506052913-0500|||1265136360^JONES^JANE^^^^^^NPI^L^^^NPI|||||||||ST. CLOUD HOSPITAL^L^^^^CMS^NPI^^^1043269798~ST. CLOUD HOSPITAL^L^^^^MN Public Health Lab^Submitter ID^^^739 OBR|1|421832901^EPIC^1.2.840.114350.1.13.145.2.7.2.695071^ISO||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN|||20230506050000|||||||20230506060000-0500|440500007&Blood spot specimen&SCT diff --git a/examples/MN/004_MN_ORU_R01_NBS_0_initial_message.hl7 b/examples/MN/004_MN_ORU_R01_NBS_0_initial_message.hl7 index 8e68becdb..26e599970 100644 --- a/examples/MN/004_MN_ORU_R01_NBS_0_initial_message.hl7 +++ b/examples/MN/004_MN_ORU_R01_NBS_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|P|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20230606192849-0500||ORU^R01^ORU_R01|20230607002849_0365|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||11102779^^^CRPMRN^MR||SMITH^BB SARAH^^^^L||20230504131000||||555 STATE HIGHWAY 13^^DEER CREEK^MN^565279657^^H^^|||||||||||||||||||N| NK1|1|SMITH^SADIE^S^^^^L|MTH^Mother^HL70063^^^^^^Mother|555 STATE HIGHWAY 13^^DEER CREEK^MN^565279657^USA^H^^|^^PH^^^763^5555555^^(763)555-5555^^^7635555555| ORC|RE|423787478^EPIC^1.2.840.114350.1.13.145.2.7.2.695071^ISO|20231561137^MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|||||||||1174911127^SMITH^SAMANTHA^^^^^^NPI^L^^^NPI|||||||||ST. CLOUD HOSPITAL^L^^^^CMS^NPI^^^1043269798~ST. CLOUD HOSPITAL^L^^^^MN Public Health Lab^Submitter ID^^^739||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/MN/005_MN_ADT_A01.hl7 b/examples/MN/005_MN_ADT_A01.hl7 index 85c793561..1a26fd2bb 100644 --- a/examples/MN/005_MN_ADT_A01.hl7 +++ b/examples/MN/005_MN_ADT_A01.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SCH|SCH||Idx|20230504131924||ADT^A01|407750281|P|2.3 +MSH|^~\&|SCH|SCH||Idx|20230504131924||ADT^A01|407750281|D|2.3 EVN|A01|20230504131924||ADT_EVENT|CSY6293^JOHNSON^JANE^J^^^^^CCHS^^^^^SCH PID|1||11102779^^^SCH||SMITH^BB SARAH||20230504131023|M|||555 STATE HIGHWAY 13^^DEER CREEK^MN^56527-9657^US^^^OTTER TAIL||||||||||SMITH^SADIE^S^|||N|1|||||N NK1|1|SMITH^SAMUAL^^|FTH^Father^HL70063|^^^^^^^^|^^|||||||||||||||||||||||||||||| diff --git a/examples/Natus/001_Natus_ACK.hl7 b/examples/Natus/001_Natus_ACK.hl7 index 5da3feff8..875a8e86f 100644 --- a/examples/Natus/001_Natus_ACK.hl7 +++ b/examples/Natus/001_Natus_ACK.hl7 @@ -1,2 +1,2 @@ -MSH|^~\&|NBS|TN|OZNBS|FSR|||ACK|A0A173B79-D7AC-444F-99E7-C96B4A68B188|P|2.5.1| +MSH|^~\&|NBS|TN|OZNBS|FSR|||ACK|A0A173B79-D7AC-444F-99E7-C96B4A68B188|D|2.5.1| MSA|AA|0A173B79-D7AC-444F-99E7-C96B4A68B188| diff --git a/examples/Natus/002_Natus_ORU_R01_NBS_0_initial_message.hl7 b/examples/Natus/002_Natus_ORU_R01_NBS_0_initial_message.hl7 index eed6bb9c3..33ee71f74 100644 --- a/examples/Natus/002_Natus_ORU_R01_NBS_0_initial_message.hl7 +++ b/examples/Natus/002_Natus_ORU_R01_NBS_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215140725-0600||ORU^R01^ORU_R01|20240215200725_0005|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215140725-0600||ORU^R01^ORU_R01|20240215200725_0005|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||60170806^^^^MR||BUNDY^BB PEGGY^ISO^^^^L||20231110075200|M|||1125 SAINT AVE W^^SAINT CLOUD^MN^56304^^H^^|||||||||||||||||||N| NK1|1|BUNDY^PEGGY^^^^^L|MTH^Mother^HL70063|1125 SAINT AVE W^^SAINT CLOUD^MN^56304^^H^^|^^PH^^^320^2370000^^^^^3202370000| ORC|RE||20240041011^MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO||||||||||||||||||||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/Natus/003_Natus_ORU_R01_NBS_0_initial_message.hl7 b/examples/Natus/003_Natus_ORU_R01_NBS_0_initial_message.hl7 index 99941b749..f63d76adf 100644 --- a/examples/Natus/003_Natus_ORU_R01_NBS_0_initial_message.hl7 +++ b/examples/Natus/003_Natus_ORU_R01_NBS_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215110458-0600||ORU^R01^ORU_R01|20240215170458_0005|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215110458-0600||ORU^R01^ORU_R01|20240215170458_0005|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||60171020^^^^MR||EVERDEEN^BG KATNISS^ISO^^^^L||20240120215200|F|||101 STARLING DR^^SAINT CLOUD^MN^56301^^H^^|||||||||||||||||||N| NK1|1|EVERDEEN^KATNISS^^^^^L|MTH^Mother^HL70063|101 STARLING DR^^SAINT CLOUD^MN^56301^^H^^|^^PH^^^320^4920000^^^^^3204920000| ORC|RE||20240311001^MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO||||||||||||||||||||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/Natus/004_Natus_ORU_R01_NBS_0_initial_message.hl7 b/examples/Natus/004_Natus_ORU_R01_NBS_0_initial_message.hl7 index 4b2740814..fa17f380c 100644 --- a/examples/Natus/004_Natus_ORU_R01_NBS_0_initial_message.hl7 +++ b/examples/Natus/004_Natus_ORU_R01_NBS_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215140724-0600||ORU^R01^ORU_R01|20240215200724_0004|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215140724-0600||ORU^R01^ORU_R01|20240215200724_0004|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||60170808^^^^MR||NYLAND^BB ROSE^ISO^^^^L||20231110002000|M|||399 TOWER LN^^ALBANY^MN^56307^^H^^|||||||||||||||||||N| NK1|1|NYLAND^ROSE^^^^^L|MTH^Mother^HL70063|399 TOWER LN^^ALBANY^MN^56307^^H^^|^^PH^^^320^2660000^^^^^3202660000| ORC|RE||20240041010^MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO||||||||||||||||||||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/Natus/005_Natus_ORU_R01_NBS_0_initial_message.hl7 b/examples/Natus/005_Natus_ORU_R01_NBS_0_initial_message.hl7 index 6f8847e97..87a972c2e 100644 --- a/examples/Natus/005_Natus_ORU_R01_NBS_0_initial_message.hl7 +++ b/examples/Natus/005_Natus_ORU_R01_NBS_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215110509-0600||ORU^R01^ORU_R01|20240215170509_0006|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215110509-0600||ORU^R01^ORU_R01|20240215170509_0006|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||60171022^^^^MR||STARK^BG SANSA^ISO^^^^L||20240120153000|F|||201 BIRCH ST^^PRINCETON^MN^55371^^H^^|||||||||||||||||||N| NK1|1|STARK^SANSA^^^^^L|MTH^Mother^HL70063|201 BIRCH ST^^PRINCETON^MN^55371^^H^^|^^PH^^^320^4930101^^^^^3204930101| ORC|RE||20240311002^MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO||||||||||||||||||||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/Natus/006_Natus_ORU_R01_NBS_0_initial_message.hl7 b/examples/Natus/006_Natus_ORU_R01_NBS_0_initial_message.hl7 index 23b4ef8a6..27bb5e8e5 100644 --- a/examples/Natus/006_Natus_ORU_R01_NBS_0_initial_message.hl7 +++ b/examples/Natus/006_Natus_ORU_R01_NBS_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215140721-0600||ORU^R01^ORU_R01|20240215200721_0001|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215140721-0600||ORU^R01^ORU_R01|20240215200721_0001|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||60170807^^^^MR||BOWER^BB ANGELA^ISO^^^^L||20231110144500|M|||4567 IRONWOOD AVE^^FOLEY^MN^56329^^H^^|||||||||||||||||||N| NK1|1|BOWER^ANGELA^^^^^L|MTH^Mother^HL70063|4567 IRONWOOD AVE^^FOLEY^MN^56329^^H^^|^^PH^^^320^3308000^^^^^3203308000| ORC|RE||20240041009^MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO||||||||||||||||||||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/Natus/007_Natus_ORU_R01_NBS_0_initial_message.hl7 b/examples/Natus/007_Natus_ORU_R01_NBS_0_initial_message.hl7 index 76a3c71a4..00b25b0b4 100644 --- a/examples/Natus/007_Natus_ORU_R01_NBS_0_initial_message.hl7 +++ b/examples/Natus/007_Natus_ORU_R01_NBS_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215140722-0600||ORU^R01^ORU_R01|20240215200722_0002|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215140722-0600||ORU^R01^ORU_R01|20240215200722_0002|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||60170810^^^^MR||COHEN^BB LOIS^ISO^^^^L||20231109233800|M|||4321 23RD AVE APT 301^^PRINCETON^MN^55371^^H^^|||||||||||||||||||N| NK1|1|COHEN^LOIS^^^^^L|MTH^Mother^HL70063|4321 23RD AVE APT 301^^PRINCETON^MN^55371^^H^^|^^PH^^^320^1230005^^^^^3201230005| ORC|RE||20240041007^MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO||||||||||||||||||||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/Natus/008_Natus_ORU_R01_NBS_0_initial_message.hl7 b/examples/Natus/008_Natus_ORU_R01_NBS_0_initial_message.hl7 index f8d11c23a..1857fc0c1 100644 --- a/examples/Natus/008_Natus_ORU_R01_NBS_0_initial_message.hl7 +++ b/examples/Natus/008_Natus_ORU_R01_NBS_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215140723-0600||ORU^R01^ORU_R01|20240215200723_0003|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|Natus^natus.health.state.mn.us^DNS|MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO|Epic^1.2.840.114350.1.13.145.2.7.2.695071^ISO|Centracare^centracare.com^DNS|20240215140723-0600||ORU^R01^ORU_R01|20240215200723_0003|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||60170809^^^^MR||PIERCE^BB MARGARET^ISO^^^^L||20231110105800|M|||3967 590TH AVE^^WAITE PARK^MN^56387^^H^^|||||||||||||||||||N| NK1|1|PIERCE^MARGARET^^^^^L|MTH^Mother^HL70063|3967 590TH AVE^^WAITE PARK^MN^56387^^H^^|^^PH^^^320^2829000^^^^^3202829000| ORC|RE||20240041008^MN Public Health Lab^2.16.840.1.114222.4.1.10080^ISO||||||||||||||||||||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/NewSTEPs/001_NewSTEPs_OML_021.hl7 b/examples/NewSTEPs/001_NewSTEPs_OML_021.hl7 index bc592c798..42868ba7d 100644 --- a/examples/NewSTEPs/001_NewSTEPs_OML_021.hl7 +++ b/examples/NewSTEPs/001_NewSTEPs_OML_021.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|SendingApplicationName^2.16.840.1.114222.XXX^ISO|SendingFacilityName^2.16.840.1.114222.XXX^ISO|VA StarLIMSv10 Prod^2.16.840.1.114222.4.3.3.2.2.4^ISO|VA PHL Richmond^2.16.840.1.114222.4.1.9977^ISO|20170222185600-0500||OML^O21^OML_O21|MessageControlID|T|2.5.1|||AL|AL|||||LOI_NG_PRN_Profile^^2.16.840.1.113883.9.88^ISO~LOI_NDBS_COMPONENT^^2.16.840.1.113883.9.5^ISO|||||||||||||||||||||| +MSH|^~\&|SendingApplicationName^2.16.840.1.114222.XXX^ISO|SendingFacilityName^2.16.840.1.114222.XXX^ISO|VA StarLIMSv10 Prod^2.16.840.1.114222.4.3.3.2.2.4^ISO|VA PHL Richmond^2.16.840.1.114222.4.1.9977^ISO|20170222185600-0500||OML^O21^OML_O21|MessageControlID|D|2.5.1|||AL|AL|||||LOI_NG_PRN_Profile^^2.16.840.1.113883.9.88^ISO~LOI_NDBS_COMPONENT^^2.16.840.1.113883.9.5^ISO|||||||||||||||||||||| PID|1||987654321^^^HospitalSystem&2.16.840.1.114222.XXX&ISO^MR^MR||ONE^TESTCASE|MOMMAIDENONE|201702210152-0500|F||2106-3^White^HL70005|1776 Main Street^^Richmond^VA^23219||^^^^^804^5693861|||||||||N^Not Hispanic or Latino^HL70189||N|1|||||N|||||||||||| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063|1776 Main Street^^Richmond^VA^23219|^^^^^804^5693861||N^Next-of-Kin^HL70131|||||||||19860416|||||||||||||||||9683^^^SSA&2.16.840.1.113883.4.1&ISO^SS||||||||| ORC|NW|XXXXX^HospitalSystem^2.16.840.1.114222.XXX^ISO|||||||201702221854-0500|||321^Rahal^Frederick^^^Dr^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^^^MD|||||||||BON SECOURS ST MARY'S HOSPITAL^^^^^NPI&2.16.840.1.113883.4.6&ISO^XX^^^10614|5801 BREMO RD^^RICHMOND^VA^23226^USA^^^51760|^^^^^804^2852011||||||||||||||||||| diff --git a/examples/NewSTEPs/002_NewSTEPs_ORU_R01.hl7 b/examples/NewSTEPs/002_NewSTEPs_ORU_R01.hl7 index 9e302225b..3e64760c8 100644 --- a/examples/NewSTEPs/002_NewSTEPs_ORU_R01.hl7 +++ b/examples/NewSTEPs/002_NewSTEPs_ORU_R01.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|VA StarLIMSv10 Prod^2.16.840.1.114222.4.3.3.2.2.4^ISO|VA PHL Richmond^2.16.840.1.114222.4.1.9977^ISO|ReceivingApplicationName^2.16.840.1.114222.XXX^ISO|ReceivingFacilityName^2.16.840.1.114222.XXX^ISO|20170228125400-0500||ORU^R01^ORU_R01|MessageControlID|T|2.5.1|||AL|ER|||||LRI_NG_FRN_Profile^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_Component^^2.16.840.1.113883.9.195.3.6^ISO|||||||| +MSH|^~\&|VA StarLIMSv10 Prod^2.16.840.1.114222.4.3.3.2.2.4^ISO|VA PHL Richmond^2.16.840.1.114222.4.1.9977^ISO|ReceivingApplicationName^2.16.840.1.114222.XXX^ISO|ReceivingFacilityName^2.16.840.1.114222.XXX^ISO|20170228125400-0500||ORU^R01^ORU_R01|MessageControlID|D|2.5.1|||AL|ER|||||LRI_NG_FRN_Profile^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_Component^^2.16.840.1.113883.9.195.3.6^ISO|||||||| PID|1||987654321^^^HospitalSystem&2.16.840.1.114222.XXX&ISO^MR||ONE^TESTCASE|MOMMAIDENONE|201702210152-0500|F||2106-3^White^HL70005|1776 Main Street^^Richmond^VA^23219||^^^^^804^5693861|||||||||N^Not Hispanic or Latino^HL70189||N|1|||| NK1|1|ONE^MOMFIRST|MTH^Mother^HL70063|1776 Main Street^^Richmond^VA^23219|^^^^^804^5693861||N^Next-of-Kin^HL70131|||||||||19860416|||||||||||||||||9683^^^SSA&2.16.840.1.113883.4.1&ISO^SS||||||||||||||||| ORC|RE|XXXXX^HospitalSystem^2.16.840.1.114222.XXX^ISO|555550001^VA PHL Richmond^2.16.840.1.114222.4.1.9977^ISO|||||||||321^Rahal^Frederick^^^Dr^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^^^MD|||||||||BON SECOURS ST MARY'S HOSPITAL^^^^^NPI&2.16.840.1.113883.4.6&ISO^XX^^^10614|5801 BREMO RD^^RICHMOND^VA^23226^USA^^^51760|^^^^^804^2852011|||||| diff --git a/examples/Oracle/001_Oracle_ORM_O01.hl7 b/examples/Oracle/001_Oracle_ORM_O01.hl7 index f4f35dd76..34714d532 100644 --- a/examples/Oracle/001_Oracle_ORM_O01.hl7 +++ b/examples/Oracle/001_Oracle_ORM_O01.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&||HNA|||20231023170230||ORM^O01|Q1283765463T1850878697||2.3||||||8859/1 +MSH|^~\&||HNA|||20231023170230||ORM^O01|Q1283765463T1850878697|D|2.3||||||8859/1 PID|1|1300964^^^MRN^CD:1079^CD:17598964|1300964^^^MRN^CD:10^CD:17598964|1300964^^^MRN^CD:660921|TEST^TEST, SCENERIO02, BB^^^^^CD:766||20230913|M||2106-3|2314 S 10TH STREET^^MCALLEN^TX^78504^US^Home^^""||(999)232-4395^Home^""||CD:151|CD:309239|Unknown|11052895^^^FIN^CD:1077^CD:17598964|000-00-0000|||H||""|0|""|""|""||CD:684730 ORC|CD:2539|2801515645^HNAM_ORDERID|||CD:9324||||20231023165600|2013059-035^SYSTEM^SYSTEM^^^^^^External Id^CD:614387^^^CD:1086^CD:72218685~1^SYSTEM^SYSTEM^^^^^^PERSONNEL PRIMARY IDENTIFIER^CD:614387^^^CD:685806^""||6927439045004^HONRUBIA^DYNIO^^MD^^^^Surescripts Prescriber ID^CD:614387^^^CD:4045114^""~92543^HONRUBIA^DYNIO^^MD^^^^External Id^CD:614387^^^CD:1086^CD:17598964~0073868^HONRUBIA^DYNIO^^MD^^^^Liability - Insurance^CD:614387^^^CD:1089^""~1487614269^HONRUBIA^DYNIO^^MD^^^^National Provider Identifier^CD:614387^^^National Provider Identifier^CD:17598964~BH6076132^HONRUBIA^DYNIO^^MD^^^^DEA^CD:614387^^^CD:1084^CD:17598964~E0142028^HONRUBIA^DYNIO^^MD^^^^DPS^CD:614387^^^CD:1088^CD:17598964~H87466^HONRUBIA^DYNIO^^MD^^^^UPIN^CD:614387^^^CD:1085^CD:17598964~TXBM1765^HONRUBIA^DYNIO^^MD^^^^State^CD:614387^^^CD:1083^CD:17598964|""||20231023165615||||2013059-035^SYSTEM^SYSTEM^^^^^^External Id^CD:614387^^^CD:1086^CD:72218685~1^SYSTEM^SYSTEM^^^^^^PERSONNEL PRIMARY IDENTIFIER^CD:614387^^^CD:685806^"" OBR|1|2801515645^HNAM_ORDERID||57128-1^Newborn Screening Panel|||20231023164950|||2010346-006^Lopez^Martha^^^^^^External Id^CD:614387^^^CD:1086^""||||20231023165500|440500007&Blood|6927439045004^HONRUBIA^DYNIO^^MD^^^^Surescripts Prescriber ID^CD:614387^^^CD:4045114^""~92543^HONRUBIA^DYNIO^^MD^^^^External Id^CD:614387^^^CD:1086^CD:17598964~0073868^HONRUBIA^DYNIO^^MD^^^^Liability - Insurance^CD:614387^^^CD:1089^""~1487614269^HONRUBIA^DYNIO^^MD^^^^National Provider Identifier^CD:614387^^^National Provider Identifier^CD:17598964~BH6076132^HONRUBIA^DYNIO^^MD^^^^DEA^CD:614387^^^CD:1084^CD:17598964~E0142028^HONRUBIA^DYNIO^^MD^^^^DPS^CD:614387^^^CD:1088^CD:17598964~H87466^HONRUBIA^DYNIO^^MD^^^^UPIN^CD:614387^^^CD:1085^CD:17598964~TXBM1765^HONRUBIA^DYNIO^^MD^^^^State^CD:614387^^^CD:1083^CD:17598964||||000002023296000002^HNA_ACCN~16720597^HNA_ACCNID||20231023165615||CD:692|||1^^0^20231023164300^^ST~^^^^^CD:1758|||||||||20231023164800||||||||||Laboratory^Laboratory^^Send Out^Send Out diff --git a/examples/Oracle/002_Oracle_ORM_O01.hl7 b/examples/Oracle/002_Oracle_ORM_O01.hl7 index cffae6c40..f176006b4 100644 --- a/examples/Oracle/002_Oracle_ORM_O01.hl7 +++ b/examples/Oracle/002_Oracle_ORM_O01.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&||HNA|||20231017165042||ORM^O01|Q1283695599T1850810956||2.3||||||8859/1 +MSH|^~\&||HNA|||20231017165042||ORM^O01|Q1283695599T1850810956|D|2.3||||||8859/1 PID|1|1300962^^^MRN^CD:1079^CD:17598964|1300962^^^MRN^CD:10^CD:17598964|1300962^^^MRN^CD:660921|TEST^SCENERIO01, BG^^^^^CD:766||20230913|F||2106-3|8802 S MCCOLL RD^^EDINBURG^TX^78539^US^Home^^""||(999)999-9999^Home^""||CD:151|CD:309239|Unknown|11052893^^^FIN^CD:1077^CD:17598964|000-00-0000|||N||""|0|""|""|""||CD:684730 ORC|CD:2539|2801432857^HNAM_ORDERID|||CD:9324||||20231016113400|2010346-006^Lopez^Martha^^^^^^External Id^CD:614387^^^CD:1086^""||6927439045004^HONRUBIA^DYNIO^^MD^^^^Surescripts Prescriber ID^CD:614387^^^CD:4045114^""~92543^HONRUBIA^DYNIO^^MD^^^^External Id^CD:614387^^^CD:1086^CD:17598964~0073868^HONRUBIA^DYNIO^^MD^^^^Liability - Insurance^CD:614387^^^CD:1089^""~1487614269^HONRUBIA^DYNIO^^MD^^^^National Provider Identifier^CD:614387^^^National Provider Identifier^CD:17598964~BH6076132^HONRUBIA^DYNIO^^MD^^^^DEA^CD:614387^^^CD:1084^CD:17598964~E0142028^HONRUBIA^DYNIO^^MD^^^^DPS^CD:614387^^^CD:1088^CD:17598964~H87466^HONRUBIA^DYNIO^^MD^^^^UPIN^CD:614387^^^CD:1085^CD:17598964~TXBM1765^HONRUBIA^DYNIO^^MD^^^^State^CD:614387^^^CD:1083^CD:17598964|""||20231016113457||||2010346-006^Lopez^Martha^^^^^^External Id^CD:614387^^^CD:1086^"" OBR|1|2801432857^HNAM_ORDERID||57128-1^Newborn Screening Panel|||20231016113025|||2010346-006^Lopez^Martha^^^^^^External Id^CD:614387^^^CD:1086^""||||20231016113400|440500007&Blood|6927439045004^HONRUBIA^DYNIO^^MD^^^^Surescripts Prescriber ID^CD:614387^^^CD:4045114^""~92543^HONRUBIA^DYNIO^^MD^^^^External Id^CD:614387^^^CD:1086^CD:17598964~0073868^HONRUBIA^DYNIO^^MD^^^^Liability - Insurance^CD:614387^^^CD:1089^""~1487614269^HONRUBIA^DYNIO^^MD^^^^National Provider Identifier^CD:614387^^^National Provider Identifier^CD:17598964~BH6076132^HONRUBIA^DYNIO^^MD^^^^DEA^CD:614387^^^CD:1084^CD:17598964~E0142028^HONRUBIA^DYNIO^^MD^^^^DPS^CD:614387^^^CD:1088^CD:17598964~H87466^HONRUBIA^DYNIO^^MD^^^^UPIN^CD:614387^^^CD:1085^CD:17598964~TXBM1765^HONRUBIA^DYNIO^^MD^^^^State^CD:614387^^^CD:1083^CD:17598964||||000002023289000004^HNA_ACCN~16718602^HNA_ACCNID||20231016113457||CD:692|||1^^0^20231016112000^^ST~^^^^^CD:1758|||||||||20231016112800||||||||||Laboratory^Laboratory^^Send Out^Send Out diff --git a/examples/Oracle/003_Oracle_ORM_O01.hl7 b/examples/Oracle/003_Oracle_ORM_O01.hl7 index 6072322f8..e2bfc193a 100644 --- a/examples/Oracle/003_Oracle_ORM_O01.hl7 +++ b/examples/Oracle/003_Oracle_ORM_O01.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|DHRHEALTH|Doctors Hospital at Renaissance|txdshslabNBS^2.16.840.1.114222.4.1.181960.2^ISO|txdshslab^2.16.840.1.114222.4.1.181960^ISO|20231130123716||ORM^O01^ORM_O01|Q1284092494T18512201481300974|T|2.5.1||||||8859/1 +MSH|^~\&|DHRHEALTH|Doctors Hospital at Renaissance|txdshslabNBS^2.16.840.1.114222.4.1.181960.2^ISO|txdshslab^2.16.840.1.114222.4.1.181960^ISO|20231130123716||ORM^O01^ORM_O01|Q1284092494T18512201481300974|D|2.5.1||||||8859/1 PID|1||1300974^^^Doctors Hospital at Renaissance^MR||TEST^SCENERIO03BG^TWIN A^^^^CD:766|TEST|20230913120400|F^Female^HL70001||2076-8^Native Hawaiian or Other Pacific Islander^HL70005|9999 E ARMSTRONG AVE^^EDINBURG^TX^78542^US^Home^^""||||CD:151|||11052905^^^Doctors Hospital at Renaissance^AN^CD:17598964||||N||N|1|""|""|""||N NK1|1|TEST^SCENERIO03|MTH^Mother^HL70063|9999 E ARMSTRONG AVE^^EDINBURG^TX^78542|^^PH^^^956^5553122||N^Next of Kin^HL70131|||||||||19861113|||||||||||||||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS~123456789^^^txMCDmedIDadm&2.16.840.1.113883.4.446&ISO^MA ORC|NW|2801690163^HNAM_ORDERID||||||||||^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L|||||||||Doctors Hospital at Renaissance^^^^^txdshslabNBS&2.16.840.1.114222.4.1.181960.2&ISO^FI^^^10859464 diff --git a/examples/Oracle/004_Oracle_ORU_R01.hl7 b/examples/Oracle/004_Oracle_ORU_R01.hl7 index 45d65ed6d..53ce1cce3 100644 --- a/examples/Oracle/004_Oracle_ORU_R01.hl7 +++ b/examples/Oracle/004_Oracle_ORU_R01.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|LABGEM|SONIC.RLN|UTMPMSE|UTMPMSE|202303171705||ORU^R01|20230317-29887.E.106214|P|2.3||OB_MS_MEM_Cerner_Methodist_Ambulatory_ORU +MSH|^~\&|LABGEM|SONIC.RLN|UTMPMSE|UTMPMSE|202303171705||ORU^R01|20230317-29887.E.106214|D|2.3||OB_MS_MEM_Cerner_Methodist_Ambulatory_ORU PID|1|557204|557204|557204|CPSI^DONNA||19651015|F|||12345 Main Street^^San Diego^CA^92121^CD:272668093||||CD:151|||62419135||||CD:312507|||0 PV1|1|O|CD:116209255^^^MNGL^^^MNGL|||||||CD:272669551||||CD:309191||||O||CD:271975007|||||||||||||||||||MNGL|||||20230309095432 ORC|RE|23075003068|335707581||CM||^^^202303160000^^R||202303171705|||^HOMMOS^NISREEN^A|||||||||MMG MULTI SPECIALTY - EASTMORELAND|1325 EASTMORELAND AVE STE 370^^MEMPHIS^TN^38104^9017587888 diff --git a/examples/Oracle/005_Oracle_ORM_O01_2_3_non_NBS_0_initial_message.hl7 b/examples/Oracle/005_Oracle_ORM_O01_2_3_non_NBS_0_initial_message.hl7 index 8600fafed..2addb166d 100644 --- a/examples/Oracle/005_Oracle_ORM_O01_2_3_non_NBS_0_initial_message.hl7 +++ b/examples/Oracle/005_Oracle_ORM_O01_2_3_non_NBS_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BB|HNAM|LIFE LINK||20240213134009||ORM^O01|Q1960841872T2476960690||2.3||||||8859/1 +MSH|^~\&|BB|HNAM|LIFE LINK||20240213134009||ORM^O01|Q1960841872T2476960690|D|2.3||||||8859/1 PID|1|994952^^^ST1B^^HBOC STAR NEW|994952^^^ST1B^MRN^HBOC STAR NEW~2126675^^^CMRN Pool^^HBOC STAR NEW|2126675^^^^^HBOC STAR NEW|TEST^GPCSCOVID||19420718|F|TEST||1234 GPCS WAY^^MONTGOMERY^Alabama^36117^USA^home^^Montgomery||~^MOBILE|||Single||2227600015^^^ST1B^^HBOC STAR NEW|||||||0||N|||N PV1|1||MIC^MIC^03^B^^^B|Elective|||D3389^Nagarad^Rajeev^C^(HPS)^MD^^^^Personnel^^^External Identifier|||Medicine||||CLIN OR PHYS OFFICE|||D3389^Nagarad^Rajeev^C^(HPS)^MD^^^^Personnel^^^External Identifier|MIP||||||||||||||||||IP Disch to Home|||B|||||20220919090000|20221003185300 ORC|NW|4560411583^HNAM_ORDERID|||Ordered||||20240213133900|^Fowler^QueShaundra^L^^CT(ASCP)^^^^Personnel||D3389^Nagarad^Rajeev^C^(HPS)^MD^^^^Personnel^^^External Identifier~3389^Nagarad^Rajeev^C^(HPS)^MD^^^^Personnel^^^COMMUNITY DR NBR~FN1551894^Nagarad^Rajeev^C^(HPS)^MD^^^^Personnel^^^DOCDEA~29682^Nagarad^Rajeev^C^(HPS)^MD^^^^Personnel^^^LICENSENBR~1417164831^Nagarad^Rajeev^C^(HPS)^MD^^^National Provider ID^Personnel^^^National Provider Identifier~6136514869001^Nagarad^Rajeev^C^(HPS)^MD^^^Surescripts Prescriber ID^Personnel^^^SureScripts Prescriber Index~6136514869005^Nagarad^Rajeev^C^(HPS)^MD^^^Surescripts Prescriber ID^Personnel^^^SureScripts Prescriber Index~6136514869006^Nagarad^Rajeev^C^(HPS)^MD^^^Surescripts Prescriber ID^Personnel^^^SureScripts Prescriber Index|||20240213134009|||^Written or Faxed Order|^Fowler^QueShaundra^L^^CT(ASCP)^^^^Personnel diff --git a/examples/Oracle/006_Oracle_ORM_O01_2_3_non_NBS_0_initial_message.hl7 b/examples/Oracle/006_Oracle_ORM_O01_2_3_non_NBS_0_initial_message.hl7 index 28a3384c3..4e52bd066 100644 --- a/examples/Oracle/006_Oracle_ORM_O01_2_3_non_NBS_0_initial_message.hl7 +++ b/examples/Oracle/006_Oracle_ORM_O01_2_3_non_NBS_0_initial_message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|BB|HNAM|LIFE LINK||20240213134428||ORM^O01|Q1960841881T2476960703||2.3||||||8859/1 +MSH|^~\&|BB|HNAM|LIFE LINK||20240213134428||ORM^O01|Q1960841881T2476960703|D|2.3||||||8859/1 PID|1|1022097^^^ST1B^^HBOC STAR NEW|2133843^^^CMRN Pool^^HBOC STAR NEW~1022097^^^ST1B^MRN^HBOC STAR NEW|2133843^^^^^HBOC STAR NEW|TEST^GUIDISCHARGE||19530119|F|TEST||482 ELM ST^^MONTGOMERY^Alabama^36108^USA^home^^Montgomery||~^MOBILE|||Single||2231200004^^^ST1B^^HBOC STAR NEW|||||||0||N|||N PV1|1||CAR^^1^B^^^B|Urgent|||D3389^Nagarad^Rajeev^C^(HPS)^MD^^^^Personnel^^^External Identifier|D7933^Sabio^Norman^A^^MD^^^^Personnel^^^External Identifier||Medicine||||NON-HLTHCR FACILITY|||D3389^Nagarad^Rajeev^C^(HPS)^MD^^^^Personnel^^^External Identifier|MIP||||||||||||||||||IP Disch to Home|||B|||||20221108084900|20221109094600 ORC|NW|4560411645^HNAM_ORDERID|||Ordered||||20240213134427|^Fowler^QueShaundra^L^^CT(ASCP)^^^^Personnel||^Fowler^QueShaundra^L^^CT(ASCP)^^^^Personnel|||20240213134428|||^Written or Faxed Order|^Fowler^QueShaundra^L^^CT(ASCP)^^^^Personnel diff --git a/examples/Oracle/007_Oracle_OML_O21_NBS_for_second_twin.hl7 b/examples/Oracle/007_Oracle_OML_O21_NBS_for_second_twin.hl7 index 8c9613dbb..63ef17e28 100644 --- a/examples/Oracle/007_Oracle_OML_O21_NBS_for_second_twin.hl7 +++ b/examples/Oracle/007_Oracle_OML_O21_NBS_for_second_twin.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|DHRHEALTH|Doctors Hospital at Renaissance|txdshslabNBS^2.16.840.1.114222.4.1.181960.2^ISO|txdshslab^2.16.840.1.114222.4.1.181960^ISO|20231130123716||OML^O21^OML_O21|Q1284092494T18512201481300974|T|2.5.1||||||8859/1 +MSH|^~\&|DHRHEALTH|Doctors Hospital at Renaissance|txdshslabNBS^2.16.840.1.114222.4.1.181960.2^ISO|txdshslab^2.16.840.1.114222.4.1.181960^ISO|20231130123716||OML^O21^OML_O21|Q1284092494T18512201481300974|D|2.5.1||||||8859/1 PID|1||1300975^^^Doctors Hospital at Renaissance^MR||TEST^SCENERIO03BG^TWIN B^^^^CD:766|TEST|20230913120400|F^Female^HL70001||2076-8^Native Hawaiian or Other Pacific Islander^HL70005|3200 E ARMSTRONG AVE^^EDINBURG^TX^78542^US^Home^^""||||CD:151|||11052905^^^Doctors Hospital at Renaissance^AN^CD:17598964||||N||Y|2|""|""|""||N NK1|1|TEST^SCENERIO03|MTH^Mother^HL70063|3200 E ARMSTRONG AVE^^EDINBURG^TX^78542|^^PH^^^956^2223122||N^Next of Kin^HL70131|||||||||19861113|||||||||||||||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS~123456789^^^txMCDmedIDadm&2.16.840.1.113883.4.446&ISO^MA ORC|NW|2801690164^HNAM_ORDERID||||||||||^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L|||||||||Doctors Hospital at Renaissance^^^^^txdshslabNBS&2.16.840.1.114222.4.1.181960.2&ISO^FI^^^10859464 diff --git a/examples/Oracle/008_Oracle_OML_O21_NBS_with_two_races.hl7 b/examples/Oracle/008_Oracle_OML_O21_NBS_with_two_races.hl7 index a3e98b59b..b2e61a658 100644 --- a/examples/Oracle/008_Oracle_OML_O21_NBS_with_two_races.hl7 +++ b/examples/Oracle/008_Oracle_OML_O21_NBS_with_two_races.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|DHRHEALTH|Doctors Hospital at Renaissance|txdshslabNBS^2.16.840.1.114222.4.1.181960.2^ISO|txdshslab^2.16.840.1.114222.4.1.181960^ISO|20231130123716||OML^O21^OML_O21|Q1284092494T18512201481300974|T|2.5.1||||||8859/1 +MSH|^~\&|DHRHEALTH|Doctors Hospital at Renaissance|txdshslabNBS^2.16.840.1.114222.4.1.181960.2^ISO|txdshslab^2.16.840.1.114222.4.1.181960^ISO|20231130123716||OML^O21^OML_O21|Q1284092494T18512201481300974|D|2.5.1||||||8859/1 PID|1||1300974^^^Doctors Hospital at Renaissance^MR||TEST^SCENERIO03BG^TWIN A^^^^CD:766|TEST|20230913120400|F^Female^HL70001||2076-8^Native Hawaiian or Other Pacific Islander^HL70005~2028-9^American Indian or Alaska Native^HL70005|3200 E ARMSTRONG AVE^^EDINBURG^TX^78542^US^Home^^""||||CD:151|||11052905^^^Doctors Hospital at Renaissance^AN^CD:17598964||||N||N|1|""|""|""||N NK1|1|TEST^SCENERIO03|MTH^Mother^HL70063|3200 E ARMSTRONG AVE^^EDINBURG^TX^78542|^^PH^^^956^2223122||N^Next of Kin^HL70131|||||||||19861113|||||||||||||||||000-00-0000^^^ssn&2.16.840.1.113883.4.1&ISO^SS~123456789^^^txMCDmedIDadm&2.16.840.1.113883.4.446&ISO^MA ORC|NW|2801690163^HNAM_ORDERID||||||||||^^^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L|||||||||Doctors Hospital at Renaissance^^^^^txdshslabNBS&2.16.840.1.114222.4.1.181960.2&ISO^FI^^^10859464 diff --git a/examples/Other/001_ADT_A01.hl7 b/examples/Other/001_ADT_A01.hl7 index 4adb34111..f10b04976 100644 --- a/examples/Other/001_ADT_A01.hl7 +++ b/examples/Other/001_ADT_A01.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|ADT1|GOOD HEALTH HOSPITAL|GHH LAB, INC.|GOOD HEALTH HOSPITAL|198808181126|SECURITY|ADT^A01^ADT_A01|MSG00001|P|2.8|| +MSH|^~\&|ADT1|GOOD HEALTH HOSPITAL|GHH LAB, INC.|GOOD HEALTH HOSPITAL|198808181126|SECURITY|ADT^A01^ADT_A01|MSG00001|D|2.8|| EVN|A01|200708181123|| PID|1||PATID1234^5^M11^ADT1^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||DOGCOW^CLARUS^M^III||19610615173619|M||2028-9^Asian^HL70005|2222 HOME STREET^^GREENSBORO^NC^27401-1020|GL|(555) 555-2004|(555)555-2004||S||PATID12345001^2^M10^ADT1^AN^A|444333333|987654^NC|||||2| NK1|1|NUCLEAR^NELDA^W|SPO^SPOUSE||^^^^1^555^8675309||NK^NEXT OF KIN diff --git a/examples/TN/001_TN_ORU_R01_LRI.hl7 b/examples/TN/001_TN_ORU_R01_LRI.hl7 index 0c751add5..b67fef6c7 100644 --- a/examples/TN/001_TN_ORU_R01_LRI.hl7 +++ b/examples/TN/001_TN_ORU_R01_LRI.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Natus^natus.health.state.tn.us^DNS|TN.Nashville.SPHL^2.16.840.1.114222.4.1.175791^ISO|OZNBS|MHHS^2.16.840.1.113883.9.189.106.47^HL7|20221114150300-0600||ORU^R01^ORU_R01|20221114210300_0001|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|Natus^natus.health.state.tn.us^DNS|TN.Nashville.SPHL^2.16.840.1.114222.4.1.175791^ISO|OZNBS|MHHS^2.16.840.1.113883.9.189.106.47^HL7|20221114150300-0600||ORU^R01^ORU_R01|20221114210300_0001|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||914193^^^Covenant- Morristown-Hamblen Healthcare System^MR||ZZZTEST^BOY MOMELO^ISO^^^^L||20220804124000|M||2106-3^White^HL70005|1410 CENTERPOINT^^KNOXVILLE^TN^37932^^H^^|||||||||||H^Hispanic or Latino^HL70189|||6|||||N| NK1|1|ZZZTEST^MOMELO^^^^^L|MTH^Mother^HL70063|1410 CENTERPOINT^^KNOXVILLE^TN^37932^^H^^|^^PH^^^423^5551212^^^^^4235551212|||||||||||19980214|||||||||||||||||^^^^United States (US) Social Security Number (SSN)| ORC|RE|^4744621287|20222561001^TN.Nashville.SPHL^2.16.840.1.114222.4.1.175791^ISO|||||||||3209224|||||||||Covenant- Morristown-Hamblen Healthcare System^^^^^^NPI^^^3209224|908 West Fourth North Street^^Morristown^TN^37814|^^PH^^^423^4929000||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/TN/001_TN_ORU_R01_LRI_annotated_for_transformation.hl7 b/examples/TN/001_TN_ORU_R01_LRI_annotated_for_transformation.hl7 index c5a533827..f68348d89 100644 --- a/examples/TN/001_TN_ORU_R01_LRI_annotated_for_transformation.hl7 +++ b/examples/TN/001_TN_ORU_R01_LRI_annotated_for_transformation.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Natus^natus.health.state.tn.us^DNS|TN.Nashville.SPHL^2.16.840.1.114222.4.1.175791^ISO|OZNBS|MHHS^2.16.840.1.113883.9.189.106.47^HL7|20221114150300-0600||ORU^R01^ORU_R01|20221114210300_0001|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|Natus^natus.health.state.tn.us^DNS|TN.Nashville.SPHL^2.16.840.1.114222.4.1.175791^ISO|OZNBS|MHHS^2.16.840.1.113883.9.189.106.47^HL7|20221114150300-0600||ORU^R01^ORU_R01|20221114210300_0001|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||914193^^^Covenant- Morristown-Hamblen Healthcare System^MR||ZZZTEST^BOY MOMELO^ISO^^^^L||20220804124000|M||2106-3^White^HL70005|1410 CENTERPOINT^^KNOXVILLE^TN^37932^^H^^|||||||||||H^Hispanic or Latino^HL70189|||6|||||N| NK1|1|ZZZTEST^MOMELO^^^^^L|MTH^Mother^HL70063|1410 CENTERPOINT^^KNOXVILLE^TN^37932^^H^^|^^PH^^^423^5551212^^^^^4235551212|||||||||||19980214|||||||||||||||||^^^^United States (US) Social Security Number (SSN)| ORC|RE|^4744621287|20222561001^TN.Nashville.SPHL^2.16.840.1.114222.4.1.175791^ISO|||||||||3209224|||||||||Covenant- Morristown-Hamblen Healthcare System^^^^^^NPI^^^3209224|908 West Fourth North Street^^Morristown^TN^37814|^^PH^^^423^4929000||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| diff --git a/examples/TN/001_TN_ORU_R01_LRI_transformed_to_r5.hl7 b/examples/TN/001_TN_ORU_R01_LRI_transformed_to_r5.hl7 index db6947bdc..759bc919d 100644 --- a/examples/TN/001_TN_ORU_R01_LRI_transformed_to_r5.hl7 +++ b/examples/TN/001_TN_ORU_R01_LRI_transformed_to_r5.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Natus^natus.health.state.tn.us^DNS|TN.Nashville.SPHL^2.16.840.1.114222.4.1.175791^ISO|OZNBS|MHHS^2.16.840.1.113883.9.189.106.47^HL7|20221114150300-0600||ORU^R01^ORU_R01|20221114210300_0001|T|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| +MSH|^~\&|Natus^natus.health.state.tn.us^DNS|TN.Nashville.SPHL^2.16.840.1.114222.4.1.175791^ISO|OZNBS|MHHS^2.16.840.1.113883.9.189.106.47^HL7|20221114150300-0600||ORU^R01^ORU_R01|20221114210300_0001|D|2.5.1|||AL|AL|||||LRI_NG_FRN_PROFILE^^2.16.840.1.113883.9.195.3.4^ISO~LRI_NDBS_COMPONENT^^2.16.840.1.113883.9.195.3.6^ISO~LAB_PRN_Component^^2.16.840.1.113883.9.81^ISO~LAB_TO_COMPONENT^^2.16.840.1.113883.9.22^ISO| PID|1||914193^^^Covenant- Morristown-Hamblen Healthcare System^MR||ZZZTEST^BOY MOMELO^ISO^^^^L||20220804124000|M||2106-3^White^HL70005|1410 CENTERPOINT^^KNOXVILLE^TN^37932^^H^^|||||||||||H^Hispanic or Latino^HL70189|||6|||||N| NK1|1|ZZZTEST^MOMELO^^^^^L|MTH^Mother^HL70063|1410 CENTERPOINT^^KNOXVILLE^TN^37932^^H^^|^^PH^^^423^5551212^^^^^4235551212|||||||||||19980214|||||||||||||||||^^^^United States (US) Social Security Number (SSN)| ORC|RE|^4744621287|20222561001^TN.Nashville.SPHL^2.16.840.1.114222.4.1.175791^ISO|||||||||3209224|||||||||Covenant- Morristown-Hamblen Healthcare System^^^^^^NPI^^^3209224|908 West Fourth North Street^^Morristown^TN^37814|^^PH^^^423^4929000||||||||| diff --git a/examples/TN/002_TN_OML_O21_NBS.hl7 b/examples/TN/002_TN_OML_O21_NBS.hl7 index 67f0f721b..fe36f6b33 100644 --- a/examples/TN/002_TN_OML_O21_NBS.hl7 +++ b/examples/TN/002_TN_OML_O21_NBS.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|OZNBS|MHHS^2.16.840.1.113883.9.189.106.47^HL7|NBS^natus.health.state.TN.us^DNS|TN^2.16.840.1.114222.4.1.175791^ISO|20221216140529||OML^O21^OML_O21|C8E93305-2069-46A0-89D7-A58C80DB0FDE|T|2.5.1|||AL|AL|||||LOI_NG_PRN_Profile^^2.16.840.1.113883.9.88^ISO~LOI_NDBS_COMPONENT^^2.16.840.1.113883.9.5^ISO|||||||||||||||||||||| +MSH|^~\&|OZNBS|MHHS^2.16.840.1.113883.9.189.106.47^HL7|NBS^natus.health.state.TN.us^DNS|TN^2.16.840.1.114222.4.1.175791^ISO|20221216140529||OML^O21^OML_O21|C8E93305-2069-46A0-89D7-A58C80DB0FDE|D|2.5.1|||AL|AL|||||LOI_NG_PRN_Profile^^2.16.840.1.113883.9.88^ISO~LOI_NDBS_COMPONENT^^2.16.840.1.113883.9.5^ISO|||||||||||||||||||||| PID|1|1000420000000001290|914265^^^Covenant- Morristown-Hamblen Healthcare System^MR||ZZZTEST^GIRL WHOZNEW||20221215134500|F||^||||||||||||||N||||||0| NK1|1|ZZZTEST^WHOZNEW|MTH^Mother^HL70063|1410 CENTERPOINT BLVD^^KNOXVILLE^TN^37932^^^^47|^^PH^^^555^5555555|||||||||||19931225|||||||||||||||||^^^^United States (US) Social Security Number (SSN)&2.16.840.1.113883.4.1&ISO||||| ORC|NW|^4754768137^|||||||20221216135000|||3209224|||||||||Covenant- Morristown-Hamblen Healthcare System^^^^^^NPI^^^3209224|908 West Fourth North Street^^Morristown^TN^37814^^^^^^^^^|^^PH^^^423^4929000^| diff --git a/examples/TX/001_TX_OML_O21.hl7 b/examples/TX/001_TX_OML_O21.hl7 index 106dccde6..36862e4d5 100644 --- a/examples/TX/001_TX_OML_O21.hl7 +++ b/examples/TX/001_TX_OML_O21.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|OrderingFacilityApplicationName^2.16.840.1.114222.XXX^ISO|OrderingFacilityName^2.16.840.1.114222.XXX^ISO|txdshslabNBS^2.16.840.1.114222.4.1.181960.2^ISO|txdshslab^2.16.840.1.114222.4.1.181960^ISO|20190720091229||OML^O21^OML_O21|0123|P|2.5.1|||AL|AL +MSH|^~\&|OrderingFacilityApplicationName^2.16.840.1.114222.XXX^ISO|OrderingFacilityName^2.16.840.1.114222.XXX^ISO|txdshslabNBS^2.16.840.1.114222.4.1.181960.2^ISO|txdshslab^2.16.840.1.114222.4.1.181960^ISO|20190720091229||OML^O21^OML_O21|0123|D|2.5.1|||AL|AL PID|1||123456^^^^MR||BabyLast^BabyFirst|MotherMaiden|201907011118|F^Female^HL70001||2028-9^Asian^HL70005~2106-3^White^HL70005||||||||ABCD1234^^^OrderingFacilityName&2.16.840.1.114222.XXX&ISO^AN|||223456^^^OrderingFacilityName&2.16.840.1.114222.XXX&ISO^MR|N|Birth Hospital Name|Y|1 NK1|1|MotherLast^MotherFirst|MTH^Mother^HL70063|123 SUNSHINE DR^^AUSTIN^TX^78756|^^PH^^^555^9204202||N^Next of Kin^HL70131|||||||||19901115|||||||||||||||||123456789^^^txMCDmedIDadm&2.16.840.1.113883.4.446&ISO^MA~555667788^^^SSN&2.16.840.1.113883.4.1&ISO^SS ORC|NW|123456^OrderingFacilityName^2.16.840.1.114222.XXX^ISO||25^OrderingFacilityName^2.16.840.1.114222.XXX^ISO|CM||||20190720090530|||1234567890^Dolittle^John^Q^JR^DR^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI|||20190720090030||||||ORDERING FACILITY NAME^^^^^txdshslabNBS&2.16.840.1.114222.4.1.181960.2&ISO^FI^^^01234567 diff --git a/examples/TX/002_TX_ORU_R01.hl7 b/examples/TX/002_TX_ORU_R01.hl7 index 5315f67a1..28df633db 100644 --- a/examples/TX/002_TX_ORU_R01.hl7 +++ b/examples/TX/002_TX_ORU_R01.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|txdshslabNBS^2.16.840.1.114222.4.1.181960.2^ISO|txdshslab^2.16.840.1.114222.4.1.181960^ISO|OrderingApplicationName^2.16.840.1.114222.XXX^ISO|OrderingFacilityName^2.16.840.1.114222.XXX^ISO|20190720091229||ORU^R01^ORU_R01|DSHS123456789012345|P|2.5.1|||AL|AL +MSH|^~\&|txdshslabNBS^2.16.840.1.114222.4.1.181960.2^ISO|txdshslab^2.16.840.1.114222.4.1.181960^ISO|OrderingApplicationName^2.16.840.1.114222.XXX^ISO|OrderingFacilityName^2.16.840.1.114222.XXX^ISO|20190720091229||ORU^R01^ORU_R01|DSHS123456789012345|D|2.5.1|||AL|AL PID|1||123456^^^^MR||BabyLast^BabyFirst|MotherMaiden|201907011118|F^Female^HL70001||2028-9^Asian^HL70005~2106-3^White^HL70005||||||||ABCD1234^^^OrderingFacilityName&2.16.840.1.114222.XXX&ISO^AN|||223456^^^OrderingFacilityName&2.16.840.1.114222.XXX&ISO^MR|N|Birth Hospital Name|Y|1 NK1|1|MotherLast^MotherFirst|MTH^Mother^HL70063|123 SUNSHINE DR^^AUSTIN^TX^78756|^^PH^^^555^5554321||N^Next of Kin^HL70131|||||||||19901115|||||||||||||||||123456789^^^txMCDmedIDadm&2.16.840.1.113883.4.446&ISO^MA ORC|RE|123456^OrderingFacilityName^2.16.840.1.114222.XXX^ISO|20192024001^txdshslabNBS^2.16.840.1.114222.4.1.181960.2^ISO|25^OrderingFacilityName^2.16.840.1.114222.XXX^ISO|CM||||20190724160530|||1234567890^Dolittle^John^Q^JR^DR^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI|||20190720090030||||||ORDERING FACILITY NAME^^^^^txdshslabNBS&2.16.840.1.114222.4.1.181960.2&ISO^FI^^^01234567|123 Main Street^^Austin^TX^78758|^^PH^^^512^5551212 From d85357125aa9257f8c56c3192ca09ca3f1b9cfc1 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Thu, 10 Oct 2024 09:55:46 -0700 Subject: [PATCH 08/16] Added ADR --- adr/026-hl7-test-message-routing.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/adr/026-hl7-test-message-routing.md b/adr/026-hl7-test-message-routing.md index a0fa83051..a78b5b2b9 100644 --- a/adr/026-hl7-test-message-routing.md +++ b/adr/026-hl7-test-message-routing.md @@ -1,10 +1,13 @@ -# 26. Architecture Decision Records +# 26. HL7 Test Message Routing -Date: +Date: 2024-10-10 ## Decision - +We will use `MSH-11` to identify and route test and non-test messages in ReportStream. The values for `MSH-11` will be: +- `T`: for test files to be sent manually to partners +- `D`: for test files **not** to be sent to partners, and sent manually +- `N`: for test files **not** to be sent to partners, and sent by a scheduled task ## Status @@ -12,12 +15,27 @@ Accepted. ## Context +Some of the transformations we apply in the Intermediary overwrite `MSH-5` (Receiving Application) and `MSH-6` (Receiving Facility), which are normally used in HL7 for routing purposes. That's currently the case for UCSD transformations. Because of this, we can't rely on those fields to identify and route test messages in ReportStream. + +After internal discussion, we decided to use `MSH-11` (Processing ID) for this purpose as it is a field already used in HL7 to identify test messages. + ## Impact ### Positive +- We will be able to identify and route test messages in ReportStream without relying on fields that are overwritten by transformations; and as a result, avoid sending test messages to partners by mistake +- We will be able to differentiate between test messages that are sent manually and scheduled (e.g. the RS Integration Tests) +- We will have a consistent way to identify test messages across all partners, regardless of the transformations applied + ## Negative +- We will have to make sure to update our internal test message to use `D` in `MSH-11` +- We will have to make sure to update the RS Integration Tests messages to use `N` in `MSH-11` + ### Risks +- We may forget to update the `MSH-11` value for messages meant for internal testing, which could lead to test messages being sent to partners by mistake + ## Related Issues + +#1387 From 0cdfb869ca147c9dca8e6ef13b9aa0483734a892 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Thu, 10 Oct 2024 10:01:17 -0700 Subject: [PATCH 09/16] Added to the readme --- examples/README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/examples/README.md b/examples/README.md index b1b90cb9f..7f4c61f3c 100644 --- a/examples/README.md +++ b/examples/README.md @@ -17,12 +17,16 @@ ## Routing of these files -To avoid routing issues, we have decided to use `MSH-11` for routing of test messages. The values that we have decided to use are: -- `D`: for test files not to be sent to partners and to be sent manually. Any files under `examples/Test/` and not in `examples/Test/Automated/` should have this value -- `N`: for test files not to be sent to partners and sent by a scheduled task. Any files under `examples/Test/Automated/` should have this value -- `T`: for test files to be sent to partners and to be sent manually. Usually files in `examples/` and not in `examples/Test/`, should have this value. `P` could be used as well +To avoid routing issues, we have decided to use `MSH-11` for routing of test messages ([more context here](/adr/026-hl7-test-message-routing.md)). The values we have decided to use are: +- `D`: for test files **not** to be sent to partners and to be sent manually. Any files under `examples/Test/` and not in `examples/Test/Automated/` should have this value +- `N`: for test files **not** to be sent to partners and sent by a scheduled task. Any files under `examples/Test/Automated/` should have this value +- `T`: for test files to be sent manually to partners. `P` will also be routed to partners -**Note**: for some sample files, our transformations will rewrite the `MSH-5` and/or `MSH-6` HL7 fields normally used for routing, so we can't rely only on those fields to route. This is the case for most of the files in the `examples/CA` folder. If you are sending any files in that folder and you don't want the message to be delivered to our partner, please make sure `MSH-11` is **not** `T` or `P`. Otherwise the message will be delivered to our partner regardless of what is there in `MSH-5` and `MSH-6` +Any new files added to the `examples/Test/` folder, should have `D` in `MSH-11` + +Any new files added to the `examples/Test/Automated/` folder, should have `N` in `MSH-11` + +**Note**: for some sample files, our transformations **will** rewrite the `MSH-5` and/or `MSH-6` HL7 fields normally used for routing, so we can't rely only on those fields to route. This is the case for most of the files in the `examples/CA` folder. If you are sending any files in that folder and you don't want the message to be delivered to our partner, please make sure `MSH-11` is **not** `T` or `P`. Otherwise the message will be delivered to our partner regardless of what is there in `MSH-5` and `MSH-6` ## Previously renamed files From 0e223e8be4497eef475d1899f201f889824e470e Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Thu, 10 Oct 2024 10:26:00 -0700 Subject: [PATCH 10/16] Moved readme section up to make it more visible --- examples/README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/README.md b/examples/README.md index 7f4c61f3c..2fa103091 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,5 +1,8 @@ # Sample message files +[!IMPORTANT] +Any new files added to the `examples/Test/` folder, should have `D` in `MSH-11`. New files added to the `examples/Test/Automated/` folder, should have `N` in `MSH-11` + ## Naming convention `_____.[fhir|hl7]` @@ -22,10 +25,6 @@ To avoid routing issues, we have decided to use `MSH-11` for routing of test mes - `N`: for test files **not** to be sent to partners and sent by a scheduled task. Any files under `examples/Test/Automated/` should have this value - `T`: for test files to be sent manually to partners. `P` will also be routed to partners -Any new files added to the `examples/Test/` folder, should have `D` in `MSH-11` - -Any new files added to the `examples/Test/Automated/` folder, should have `N` in `MSH-11` - **Note**: for some sample files, our transformations **will** rewrite the `MSH-5` and/or `MSH-6` HL7 fields normally used for routing, so we can't rely only on those fields to route. This is the case for most of the files in the `examples/CA` folder. If you are sending any files in that folder and you don't want the message to be delivered to our partner, please make sure `MSH-11` is **not** `T` or `P`. Otherwise the message will be delivered to our partner regardless of what is there in `MSH-5` and `MSH-6` ## Previously renamed files From c94860fece51ed033983416a6a82e642e21681e3 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Thu, 10 Oct 2024 10:30:22 -0700 Subject: [PATCH 11/16] Trying to fix formatting --- examples/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/README.md b/examples/README.md index 2fa103091..b5a5a2e89 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,7 +1,7 @@ # Sample message files -[!IMPORTANT] -Any new files added to the `examples/Test/` folder, should have `D` in `MSH-11`. New files added to the `examples/Test/Automated/` folder, should have `N` in `MSH-11` +> [!IMPORTANT] +> Any new files added to the `examples/Test/` folder, should have `D` in `MSH-11`. New files added to the `examples/Test/Automated/` folder, should have `N` in `MSH-11` ## Naming convention From 4ba47bcc1367abac356ed81fd80d34ca75d22841 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Thu, 10 Oct 2024 10:32:35 -0700 Subject: [PATCH 12/16] Minor phrasing updates --- examples/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/README.md b/examples/README.md index b5a5a2e89..009bf24af 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,7 +1,7 @@ # Sample message files > [!IMPORTANT] -> Any new files added to the `examples/Test/` folder, should have `D` in `MSH-11`. New files added to the `examples/Test/Automated/` folder, should have `N` in `MSH-11` +> Any new files added to the `examples/Test/` folder should be updated to have `D` in `MSH-11`. New files added to the `examples/Test/Automated/` folder should be updated to have `N` in `MSH-11` ## Naming convention From 30a73e4a1c71fc1ade12c6a52030cfcff7b768c1 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Thu, 10 Oct 2024 10:54:05 -0700 Subject: [PATCH 13/16] Added some more context to ADR --- adr/026-hl7-test-message-routing.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/adr/026-hl7-test-message-routing.md b/adr/026-hl7-test-message-routing.md index a78b5b2b9..3e0f4d6e7 100644 --- a/adr/026-hl7-test-message-routing.md +++ b/adr/026-hl7-test-message-routing.md @@ -5,9 +5,9 @@ Date: 2024-10-10 ## Decision We will use `MSH-11` to identify and route test and non-test messages in ReportStream. The values for `MSH-11` will be: -- `T`: for test files to be sent manually to partners -- `D`: for test files **not** to be sent to partners, and sent manually -- `N`: for test files **not** to be sent to partners, and sent by a scheduled task +- `T` (Training): for test files to be sent manually to partners +- `D` (Debugging): for test files **not** to be sent to partners, and sent manually +- `N` (Non-Production Testing): for test files **not** to be sent to partners, and sent by a scheduled task ## Status @@ -19,6 +19,8 @@ Some of the transformations we apply in the Intermediary overwrite `MSH-5` (Rece After internal discussion, we decided to use `MSH-11` (Processing ID) for this purpose as it is a field already used in HL7 to identify test messages. +We decided to use `D` (Debugging) for internal test messages and `T` (Training/Testing) for partner test messages because `T` is already used by our partners for testing, so we need to stick to that value. + ## Impact ### Positive From 49132fb35a39f6a8c3f5cc26e8e028617d42756c Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:36:32 -0700 Subject: [PATCH 14/16] Fixed path and added and added link to ADR --- examples/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/README.md b/examples/README.md index 009bf24af..98a29f775 100644 --- a/examples/README.md +++ b/examples/README.md @@ -21,11 +21,11 @@ ## Routing of these files To avoid routing issues, we have decided to use `MSH-11` for routing of test messages ([more context here](/adr/026-hl7-test-message-routing.md)). The values we have decided to use are: -- `D`: for test files **not** to be sent to partners and to be sent manually. Any files under `examples/Test/` and not in `examples/Test/Automated/` should have this value +- `D`: for test files **not** to be sent to partners and to be sent manually. Any files under `examples/` and not in `examples/Test/Automated/` should have this value - `N`: for test files **not** to be sent to partners and sent by a scheduled task. Any files under `examples/Test/Automated/` should have this value - `T`: for test files to be sent manually to partners. `P` will also be routed to partners -**Note**: for some sample files, our transformations **will** rewrite the `MSH-5` and/or `MSH-6` HL7 fields normally used for routing, so we can't rely only on those fields to route. This is the case for most of the files in the `examples/CA` folder. If you are sending any files in that folder and you don't want the message to be delivered to our partner, please make sure `MSH-11` is **not** `T` or `P`. Otherwise the message will be delivered to our partner regardless of what is there in `MSH-5` and `MSH-6` +**Note**: for some sample files, our transformations **will** rewrite the `MSH-5` and/or `MSH-6` HL7 fields normally used for routing, so we can't rely only on those fields to route. This is the case for most of the files in the `examples/CA` folder. If you are sending any files in that folder and you don't want the message to be delivered to our partner, please make sure `MSH-11` is **not** `T` or `P`. Otherwise the message will be delivered to our partner regardless of what is there in `MSH-5` and `MSH-6`. Please see [this ADR](/adr/026-hl7-test-message-routing.md) for more context ## Previously renamed files From b79e6710434361203495e4c61bb3b5c03a484858 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:44:34 -0700 Subject: [PATCH 15/16] Added additional context in the ADR on the differences between prod and non-prod environments --- adr/026-hl7-test-message-routing.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adr/026-hl7-test-message-routing.md b/adr/026-hl7-test-message-routing.md index 3e0f4d6e7..1f2b6067f 100644 --- a/adr/026-hl7-test-message-routing.md +++ b/adr/026-hl7-test-message-routing.md @@ -21,6 +21,8 @@ After internal discussion, we decided to use `MSH-11` (Processing ID) for this p We decided to use `D` (Debugging) for internal test messages and `T` (Training/Testing) for partner test messages because `T` is already used by our partners for testing, so we need to stick to that value. +For routing purposes in ReportStream, `N` should only be relevant in non-prod environments, where we have scheduled tasks sending test messages. For both prod and non-prod, we expect to use both `D` and `T`, so the `MSH-11` routing filters for those values can be the same in all environments. + ## Impact ### Positive From e58b0cc05565cd61af2aa28d2ae10729f013e714 Mon Sep 17 00:00:00 2001 From: Basilio Bogado <541149+basiliskus@users.noreply.github.com> Date: Fri, 11 Oct 2024 12:34:47 -0700 Subject: [PATCH 16/16] Fixed path --- examples/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/README.md b/examples/README.md index 98a29f775..21e8bc588 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,7 +1,7 @@ # Sample message files > [!IMPORTANT] -> Any new files added to the `examples/Test/` folder should be updated to have `D` in `MSH-11`. New files added to the `examples/Test/Automated/` folder should be updated to have `N` in `MSH-11` +> Any new files added to the `examples/` folder should be updated to have `D` in `MSH-11`, except for files added to the `examples/Test/Automated/` folder, which should be updated to have `N` in `MSH-11` ## Naming convention