From 46ecdfc8fceb607f308fe1b7d3a62af471c1bc92 Mon Sep 17 00:00:00 2001 From: saquino0827 Date: Tue, 26 Nov 2024 16:59:46 -0600 Subject: [PATCH] Add RS e2e test for LA ORU flattening and improve documentation Co-authored-by: Sylvie Co-authored-by: jbiskie Co-authored-by: GilmoreA6 --- ...01_NBS_0_initial_obr_flatten_example_1.hl7 | 76 +++++++++++++++++++ examples/Test/Automated/README.md | 1 + .../main/resources/assertion_definitions.json | 10 +++ 3 files changed, 87 insertions(+) create mode 100644 examples/Test/Automated/010_LA_ORU_R01_NBS_0_initial_obr_flatten_example_1.hl7 diff --git a/examples/Test/Automated/010_LA_ORU_R01_NBS_0_initial_obr_flatten_example_1.hl7 b/examples/Test/Automated/010_LA_ORU_R01_NBS_0_initial_obr_flatten_example_1.hl7 new file mode 100644 index 000000000..cfbaf96aa --- /dev/null +++ b/examples/Test/Automated/010_LA_ORU_R01_NBS_0_initial_obr_flatten_example_1.hl7 @@ -0,0 +1,76 @@ +MSH|^~\&|Natus^natus.health.state.la.us^DNS|Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO|Test Department of tests^1.2.840.114350.1.13.286.2.7.2.695071^ISO|^automated-staging-test-receiver-id^L,M,N|20240101050000+0000||ORU^R01^ORU_R01|010|N|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||1234567^^^^MR||TEST^BABY^ISO^^^^L||20240101011300||||123 TEST ST^^TESTVILLE^LA^12345^^H^^|||||||||||||||||||N| +NK1|1|TEST^PARENT^^^^^L|MTH^Mother^HL70063|123 TEST ST^^TESTVILLE^LA^12345^^H^^|^^PH^^^111^2223333^^^^^1112223333| +ORC|RE||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO||||||||||||||||||||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| +OBR|1||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO|54089-8^Newborn Screening Report summary panel^LN|||20240101050000||||O||||||||||||||P||||^20243334444&Louisiana Office of Public Health Laboratory&2.16.840.1.114222.4.3.26.3.1&ISO|||||||||||||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| +OBX|1|CWE|57718-9^Sample quality of Dried blood spot^LN|^1^1|LA12432-3^Acceptable^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +OBX|2|CWE|57130-7^Newborn screening report - overall interpretation^LN|^2^1|LA12428-1^All screening is in range for the conditions tested^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +OBX|3|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^2|LA12532-0^BIO^LN||||||P|||20240101050000|||||||||LDH - Office of Public OBX|3|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^1|LA12538-7^CH^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|4|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^3|LA12520-5^PKU^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|5|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^4|LA12513-0^MSUD^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|6|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^5|LA12496-8^HCY^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|7|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^6|LA12482-8^CIT-I^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|8|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^7|LA12529-6^TYR-II^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|9|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^8|LA12470-3^ARG^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|10|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^9|LA12528-8^TYR-1^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|11|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^10|LA12482-8^CIT-I^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|12|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^11|LA12509-8^MCAD^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|13|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^12|LA12531-2^VLCAD^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|14|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^13|LA12507-2^LCHAD^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|15|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^14|LA12524-7^SCAD^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|16|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^15|LA12524-7^SCAD^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|17|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^16|LA12485-1^CPT-Ia^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|18|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^17|LA12533-8^CAH^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|19|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^18|LA12578-3^IVA or 2MBG or GA-2 or EMA^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|20|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^19|LA12493-5^GA-1^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|21|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^20|LA12495-0^GA-2^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|22|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^21|LA12466-1^3-MCC^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|23|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^22|LA12474-5^BKT^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|24|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^23|LA12508-0^MAL^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|25|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^24|LA12543-7^GALT^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|26|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^25|LA12537-9^CF^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +OBX|27|CWE|57719-7^Conditions tested for in this newborn screening study [Identifier] in DBS^LN|^3^26|LA16207-5^Hemoglobinopathies^LN||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||SCI|UNSP| +SPM|1|^20243334444&Louisiana Office of Public Health Laboratory&2.16.840.1.114222.4.3.26.3.1&ISO||440500007^Blood spot specimen^SCT|||||||||||||20240101050000^20240101050000|20240102050000| +ORC|RE||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO||||||||||||||||||||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| +OBR|2||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO|57717-1^Newborn screen card data panel^LN|||20240101050000||||O||||||||||||||P||||^20243334444&Louisiana Office of Public Health Laboratory&2.16.840.1.114222.4.3.26.3.1&ISO|||||||||||||||||||||54089-8^Newborn screening panel American Health Information Community (AHIC)^LN| +OBX|1|NM|8339-4^Body weight\S\at birth^LN|^1^1|3050|g^Grams^UCUM|||||O||||||||||||||||||QST|AOE| +OBX|2|CWE|57721-3^Reason for lab test^LN|^2^1|LA16473-3^Subsequent screen - reason unknown^LN||||||O||||||||||||||||||QST|AOE| +OBX|3|TX|57723-9^Unique bar code number^LN|^3^1|1234567||||||O||||||||||||||||||QST|AOE| +OBX|4|NM|57714-8^Obstetric estimation of gestational age^LN|^4^1|38|wk^Week^UCUM|||||O||||||||||||||||||QST|AOE| +OBX|5|TX|62326-4^Post-discharge provider practice name^LN|^5^1|8802||||||O||||||||||||||||||QST|AOE| +ORC|RE||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO||||||||||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBR|3||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO|54090-6^Thyroid newborn screening panel^LN|||20240101050000||||O||||||||||||||P||||^20243334444&Louisiana Office of Public Health Laboratory&2.16.840.1.114222.4.3.26.3.1&ISO|||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBX|1|CWE|46762-1^Congenital hypothyroidism newborn screen interpretation^LN^THYROID^Congenital Hypothyroidism (CH)^99LDH|^1^1|LA18592-8^In range^LN^N^Normal^99LDH||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +OBX|2|FT|57705-6^Congenital hypothyroidism newborn screening comment/discussion^LN|^2^1|Normal||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +ORC|RE||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO||||||||||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBR|4||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO|57087-9^Biotinidase newborn screening panel^LN|||20240101050000||||O||||||||||||||P||||^20243334444&Louisiana Office of Public Health Laboratory&2.16.840.1.114222.4.3.26.3.1&ISO|||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBX|1|CWE|46761-3^Biotinidase deficiency newborn screen interpretation^LN^BTD^Biotinidase^99LDH|^1^1|LA18592-8^In range^LN^N^Normal^99LDH||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +OBX|2|FT|57699-1^Biotinidase deficiency newborn screening comment/discussion^LN|^2^1|Normal||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +ORC|RE||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO||||||||||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBR|5||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO|53261-4^Amino acid newborn screen panel^LN|||20240101050000||||O||||||||||||||P||||^20243334444&Louisiana Office of Public Health Laboratory&2.16.840.1.114222.4.3.26.3.1&ISO|||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBX|1|CWE|46733-2^Amino acidemias newborn screen interpretation^LN^AA^Amino Acid Profile**^99LDH|^1^1|LA18592-8^In range^LN^N^No Elevations Detected Normal^99LDH||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +OBX|2|FT|57710-6^Amino acidemias newborn screening comment/discussion^LN|^2^1|Normal||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +ORC|RE||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO||||||||||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBR|6||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO|57084-6^Fatty acid oxidation newborn screen panel^LN|||20240101050000||||O||||||||||||||P||||^20243334444&Louisiana Office of Public Health Laboratory&2.16.840.1.114222.4.3.26.3.1&ISO|||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBX|1|CWE|46736-5^Fatty acid oxidation defects newborn screen interpretation^LN^FA^Fatty Acid Profile*^99LDH|^1^1|LA18592-8^In range^LN^N^No Elevations Detected Normal^99LDH||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +OBX|2|FT|57709-8^Fatty acid oxidation defects newborn screening comment/discussion^LN|^2^1|Normal||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +ORC|RE||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO||||||||||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBR|7||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO|57086-1^Congenital adrenal hyperplasia newborn screening panel^LN|||20240101050000||||O||||||||||||||P||||^20243334444&Louisiana Office of Public Health Laboratory&2.16.840.1.114222.4.3.26.3.1&ISO|||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBX|1|CWE|46758-9^Congenital adrenal hyperplasia newborn screen interpretation^LN^CAH^Congenital Adrenal Hyperplasia (CAH)^99LDH|^1^1|LA18592-8^In range^LN^N^Normal^99LDH||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +OBX|2|FT|57706-4^Congenital adrenal hyperplasia newborn screening comment/discussion^LN|^2^1|Normal||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +ORC|RE||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO||||||||||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBR|8||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO|57085-3^Organic acid newborn screen panel^LN|||20240101050000||||O||||||||||||||P||||^20243334444&Louisiana Office of Public Health Laboratory&2.16.840.1.114222.4.3.26.3.1&ISO|||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBX|1|CWE|46744-9^Organic acidemias newborn screen interpretation^LN^OA^Organic Acid Profile***^99LDH|^1^1|LA18592-8^In range^LN^N^No Elevations Detected Normal^99LDH||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +OBX|2|FT|57708-0^Organic acidemias defects newborn screening comment/discussion^LN|^2^1|Normal||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +ORC|RE||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO||||||||||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBR|9||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO|54079-9^Galactosemia newborn screening panel^LN|||20240101050000||||O||||||||||||||P||||^20243334444&Louisiana Office of Public Health Laboratory&2.16.840.1.114222.4.3.26.3.1&ISO|||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBX|1|CWE|46737-3^Galactosemias newborn screen interpretation^LN^GALT^Galactosemia^99LDH|^1^1|LA18592-8^In range^LN^N^Normal^99LDH||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +OBX|2|FT|57704-9^Galactosemias newborn screening comment/discussion^LN|^2^1|Normal||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +ORC|RE||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO||||||||||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBR|10||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO|54078-1^Cystic fibrosis newborn screening panel^LN|||20240101050000||||O||||||||||||||P||||^20243334444&Louisiana Office of Public Health Laboratory&2.16.840.1.114222.4.3.26.3.1&ISO|||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBX|1|CWE|46769-6^Cystic fibrosis newborn screen interpretation^LN^CF^Cystic Fibrosis^99LDH|^1^1|LA18592-8^In range^LN^N^Normal^99LDH||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +OBX|2|FT|57707-2^Cystic fibrosis newborn screening comment/discussion^LN|^2^1|Normal||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +ORC|RE||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO||||||||||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBR|11||20243334444^Louisiana Office of Public Health Laboratory^2.16.840.1.114222.4.3.26.3.1^ISO|54081-5^Hemoglobinopathies newborn screening panel^LN|||20240101050000||||O||||||||||||||P||||^20243334444&Louisiana Office of Public Health Laboratory&2.16.840.1.114222.4.3.26.3.1&ISO|||||||||||||||||||||57794-0^Newborn screening test results panel - Dried blood spot^LN| +OBX|1|CWE|46740-7^Hemoglobin disorders newborn screen interpretation^LN^HGB^Hemoglobinopathy^99LDH|^1^1|LA18592-8^In range^LN^FA^FA Normal^99LDH||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| +OBX|2|FT|57703-1^Hemoglobin disorders newborn screening comment/discussion^LN|^2^1|Normal||||||P|||20240101050000|||||||||LDH - Office of Public Health Laboratory^^^^^|1209 Leesville Avenue^^Baton Rouge^LA^70802|^^^^^^^^||||RSLT|UNSP| diff --git a/examples/Test/Automated/README.md b/examples/Test/Automated/README.md index 41086b82a..c7a01e231 100644 --- a/examples/Test/Automated/README.md +++ b/examples/Test/Automated/README.md @@ -15,3 +15,4 @@ The files are required to: - If it's a sample file for UCSD, which has transformation that will overwrite `MSH-6.2`, the HL7 is required to have the prefix `AUTOMATEDTEST-` in `MSH-10` as a workaround - there is special routing in ReportStream to handle this - Each file must have a unique value in `MSH-10`. We use this value to match the input and output files, so if it's not unique, we won't be able to match the files correctly - We format `MSH-10` based on the file index, like `001` (or `AUTOMATEDTEST-001` for UCSD) +- `MSH-11` needs to have a value of `N` diff --git a/rs-e2e/src/main/resources/assertion_definitions.json b/rs-e2e/src/main/resources/assertion_definitions.json index d8020c466..056ce1f19 100644 --- a/rs-e2e/src/main/resources/assertion_definitions.json +++ b/rs-e2e/src/main/resources/assertion_definitions.json @@ -101,6 +101,16 @@ "OBX-3.1 = '57721-3'", "OBX.count() = 1" ] + }, + { + "name": "LADPH ORU requirements", + "conditions": [ + "MSH-10 = '010'" + ], + "rules": [ + "OBR.count() = 1", + "OBR-4.1 = '54089-8'" + ] } ] }