diff --git a/tests/regression/regression_test_data/MissingSegments/ARV.txt b/tests/regression/regression_test_data/MissingSegments/ARV.txt new file mode 100644 index 0000000..7b2d331 --- /dev/null +++ b/tests/regression/regression_test_data/MissingSegments/ARV.txt @@ -0,0 +1 @@ +MSH|^~\\&|MS4_NY|BAOM|PDX|437|20230907070903||ADT^A08|00000000300746007|P|2.3\rEVN|A08|20230907070902|||TUSER1\rPID|1|H1234^^^MS4^PN|MR4567^^^MS4^MR^437||WICK^JOHN||19960513|Male||2106-3|123 MAIN ST^^ANYTOWN^NY^11210^USA^^NYC|NYC|(555)888-1234||en|Single|OTH|31184017||||U|NY|||USA\rZPD||||ACTIVATED|||Y|20240507||||||||||N\rZTP|Health Maintenance Reminders^Health Maintenance Reminders|MYCH^Y\rZTP|Bulk Communication^Bulk Communication|MYCH^Y~Mail^Y\rZTP|Communication Management^Communication Management|MYCH^Y\rZTP|New Estimate^New Estimate|Email^Y~Push^Y~Text^Y\rPD1||||128303^BAUER^JANE^A|||N|||||N\rARV|1|S|CELEBCONFIDENTIAL||Patient is a widely known celebrity. Restrict communication of parties involved.\rPV1||E||1|||116596^KAPUR^SIMRAN^S^^^MD|128303^BAUER^JANE^A||EER||||1||||E|00031184017437|2115|||||||||||||||||||BAOM|||||202309070619\rDG1|0001|I10||POV CP DIFF BREATHING||A|||||||||0\rOBX|0001|NM|PRICSN|1|735464236||||||M|||||||||||||||||||||\rOBX|0002|NM|HT^HEIGHT||51.5|cm||||||||20230745145100||||||||||||||||||\rOBX|0003|NM|WT^WEIGHT||2.872|kg||||||||20230752000000||||||||||||||||||\rOBX|0004|TX|ContactType^CONTACT TYPE|1|3|||||||||20240508||||||||||||||||||\rGT1|0001|00H1234^^^MS4^PN|WICK^JOHN||123 MAIN ST^^ANYTOWN^NY^11210^USA^^NYC|(555)888-1234||19960513|M||A|||||DISABLED||||2|||||||||0000000002|S||||||||Y|||YYY||||||||||||||C\rIN1|0001|INS123456|2115|MERCY CARE RBHA|PO BOX 64835^^PHOENIX^NY^85082||(866)796-5598||||||||MCD|WICK^JOHN|A|19960513|123 MAIN ST^^ANYTOWN^NY^11210^USA|||1|||||N|||||||||INS123456||||||3|M||N||||00H1234\rIN1|0002|INS222456|0094|PENDING MEDICAID IHMS|^^^^ |||999999|PENDING||||||COM|WICK^JOHN|A|19960513|123 MAIN ST^^ANYTOWN^NY^11210^USA|||2|||||N|||||||||INS222456||||||3|M||N||||00H1234\rAL1|1|SYSTEMIC|^NO KNOWN ALLERGIES^\rDG1|1||^Newborn|Newborn||^W\rUB1||||||||||||||||23^20230907\rZAC|EXPLOSIVE EXPLODED IN PT FACE\rZQA|1|589723|^589724~^589725~^589726~^589727~^589728~^589729~^589730~^589731~^589732~^589733~^589734~^589735~^589736~^589737~^589738~^589739~^589740~^589741~^589742~^589743~^589744~^589745~^589746~^589747~^589748~^589749~^589750~^589751~^589752~^589753~^589754~^589755~^589756~^589757~^589758~^589759~^589760~^589761~^589762\rZCS||^^^^||||00005\rZSU|A44\r \ No newline at end of file diff --git a/tests/regression/regression_test_data/MissingSegments/ZCS.txt b/tests/regression/regression_test_data/MissingSegments/ZCS.txt new file mode 100644 index 0000000..7b2d331 --- /dev/null +++ b/tests/regression/regression_test_data/MissingSegments/ZCS.txt @@ -0,0 +1 @@ +MSH|^~\\&|MS4_NY|BAOM|PDX|437|20230907070903||ADT^A08|00000000300746007|P|2.3\rEVN|A08|20230907070902|||TUSER1\rPID|1|H1234^^^MS4^PN|MR4567^^^MS4^MR^437||WICK^JOHN||19960513|Male||2106-3|123 MAIN ST^^ANYTOWN^NY^11210^USA^^NYC|NYC|(555)888-1234||en|Single|OTH|31184017||||U|NY|||USA\rZPD||||ACTIVATED|||Y|20240507||||||||||N\rZTP|Health Maintenance Reminders^Health Maintenance Reminders|MYCH^Y\rZTP|Bulk Communication^Bulk Communication|MYCH^Y~Mail^Y\rZTP|Communication Management^Communication Management|MYCH^Y\rZTP|New Estimate^New Estimate|Email^Y~Push^Y~Text^Y\rPD1||||128303^BAUER^JANE^A|||N|||||N\rARV|1|S|CELEBCONFIDENTIAL||Patient is a widely known celebrity. Restrict communication of parties involved.\rPV1||E||1|||116596^KAPUR^SIMRAN^S^^^MD|128303^BAUER^JANE^A||EER||||1||||E|00031184017437|2115|||||||||||||||||||BAOM|||||202309070619\rDG1|0001|I10||POV CP DIFF BREATHING||A|||||||||0\rOBX|0001|NM|PRICSN|1|735464236||||||M|||||||||||||||||||||\rOBX|0002|NM|HT^HEIGHT||51.5|cm||||||||20230745145100||||||||||||||||||\rOBX|0003|NM|WT^WEIGHT||2.872|kg||||||||20230752000000||||||||||||||||||\rOBX|0004|TX|ContactType^CONTACT TYPE|1|3|||||||||20240508||||||||||||||||||\rGT1|0001|00H1234^^^MS4^PN|WICK^JOHN||123 MAIN ST^^ANYTOWN^NY^11210^USA^^NYC|(555)888-1234||19960513|M||A|||||DISABLED||||2|||||||||0000000002|S||||||||Y|||YYY||||||||||||||C\rIN1|0001|INS123456|2115|MERCY CARE RBHA|PO BOX 64835^^PHOENIX^NY^85082||(866)796-5598||||||||MCD|WICK^JOHN|A|19960513|123 MAIN ST^^ANYTOWN^NY^11210^USA|||1|||||N|||||||||INS123456||||||3|M||N||||00H1234\rIN1|0002|INS222456|0094|PENDING MEDICAID IHMS|^^^^ |||999999|PENDING||||||COM|WICK^JOHN|A|19960513|123 MAIN ST^^ANYTOWN^NY^11210^USA|||2|||||N|||||||||INS222456||||||3|M||N||||00H1234\rAL1|1|SYSTEMIC|^NO KNOWN ALLERGIES^\rDG1|1||^Newborn|Newborn||^W\rUB1||||||||||||||||23^20230907\rZAC|EXPLOSIVE EXPLODED IN PT FACE\rZQA|1|589723|^589724~^589725~^589726~^589727~^589728~^589729~^589730~^589731~^589732~^589733~^589734~^589735~^589736~^589737~^589738~^589739~^589740~^589741~^589742~^589743~^589744~^589745~^589746~^589747~^589748~^589749~^589750~^589751~^589752~^589753~^589754~^589755~^589756~^589757~^589758~^589759~^589760~^589761~^589762\rZCS||^^^^||||00005\rZSU|A44\r \ No newline at end of file