Skip to content

Commit

Permalink
fixed typo, added better test for unwanted condition to notes
Browse files Browse the repository at this point in the history
  • Loading branch information
lucero-v committed Sep 9, 2024
1 parent cb8e7e9 commit 383e4df
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ elements:

- name: unwanted-condition-source
condition: '%commentCondition'
value: ['"0"']
value: ['"O"']
hl7Spec: [ '%{hl7NotePath}/NTE(%{noteIndex})-2' ]

- name: unwanted-condition-comment-string
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
MSH|^~\&|CDC PRIME - Atlanta^2.16.840.1.114222.4.1.237821^ISO|Testing Lab^12D4567890^CLIA|||20240828174209+0000||ORU^R01^ORU_R01|bfe0d734-06a8-472e-bf6a-cad808150c4e|P|2.5.1|||NE|NE|USA|UNICODE UTF-8|ENG^English^ISO||PHLabReport-NoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO
SFT|Centers for Disease Control and Prevention|0.2-SNAPSHOT|PRIME ReportStream|0.2-SNAPSHOT||20240827205908+0000
PID|1||4a48b374-1aec-4b71-a595-41aa031ef42f^^^Testing Lab&12D4567890&CLIA^PI^Testing Lab&12D4567890&CLIA||Davar^Shallan^^^^^L||20060103|F||2106-3^white^^^^^2.5.1^^white|10 Pattern Way^^Newport^RI^02840^USA||(540) 867 5309^PRS^CP^^1^540^8675309^^^^^(540) 867 5309|||||||||N^Not Hispanic or Latino^HL70189^^^^2.9^^Not Hispanic or Latino||||||||N
ORC|RE|bfe0d734-06a8-472e-bf6a-cad808150c4e^Testing Lab^12D4567890^CLIA|bfe0d734-06a8-472e-bf6a-cad808150c4e^Testing Lab^12D4567890^CLIA|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI||(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|20240828174209+0000||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|321 Ocean Drive^^Denver^CO^80210^USA
OBR|1|bfe0d734-06a8-472e-bf6a-cad808150c4e^Testing Lab^12D4567890^CLIA|bfe0d734-06a8-472e-bf6a-cad808150c4e^Testing Lab^12D4567890^CLIA|96123-5^SARS-CoV-2 (COVID-19) RdRp gene [Presence] in Upper respiratory specimen by NAA with probe detection^LN|||20240828172709+0000|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI|(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|||||20240828174209+0000|||F
MSH|^~\&|CDC PRIME - Atlanta^2.16.840.1.114222.4.1.237821^ISO|Testing Lab^12D4567890^CLIA|||20240826224038+0000||ORU^R01^ORU_R01|ecfbc6c0-0c32-4cf8-adc2-9134281110d8|P|2.5.1|||NE|NE|USA|UNICODE UTF-8|ENG^English^ISO||PHLabReport-NoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO
SFT|Centers for Disease Control and Prevention|0.2-SNAPSHOT|PRIME ReportStream|0.2-SNAPSHOT||20240826161326+0000
PID|1||6b9b4aa8-f333-4ea5-8dfa-2a3cd6b4fd86^^^Testing Lab&12D4567890&CLIA^PI^Testing Lab&12D4567890&CLIA||Kholin^Adolin^^^^^L||20031210|M||1002-5^native^^^^^2.5.1^^native|2251 Airport Rd^^Greenfield^IA^50849-8101^USA^^^Adair||(540) 867 5309^PRS^CP^^1^540^8675309^^^^^(540) 867 5309|||||||||N^Not Hispanic or Latino^HL70189^^^^2.9^^Not Hispanic or Latino||||||||N
ORC|RE|ecfbc6c0-0c32-4cf8-adc2-9134281110d8^Testing Lab^12D4567890^CLIA|ecfbc6c0-0c32-4cf8-adc2-9134281110d8^Testing Lab^12D4567890^CLIA|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI||(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|20240826224030+0000||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|321 Ocean Drive^^Denver^CO^80210^USA
OBR|1|ecfbc6c0-0c32-4cf8-adc2-9134281110d8^Testing Lab^12D4567890^CLIA|ecfbc6c0-0c32-4cf8-adc2-9134281110d8^Testing Lab^12D4567890^CLIA|97099-6^Influenza virus A and B and SARS-CoV-2 (COVID-19) Ag panel - Upper respiratory specimen by Rapid immunoassay^LN|||20240826222530+0000|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI|(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|||||20240826224038+0000|||F
NTE|1||This is a note
NTE|2|0|OBX filtered for identifier = 96123-5 - COVID-19; value = 260373001 - Detected. OBX was removed due to your jurisdictional reporting rules indicating this result is not reportable.
OBX|1|CWE|95419-8^Has symptoms related to condition of interest^LN^^^^2.69^^Has symptoms related to condition of interest||Y^Yes^HL70136||||||F|||20240828172709+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|||||QST
OBX|2|DT|11368-8^Illness or injury onset date and time^LN^^^^^^Illness or injury onset date and time||20240801000000+0000||||||F|||20240828172709+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|||||QST
OBX|3|CWE|82810-3^Pregnancy status^LN^^^^2.68^^Pregnancy status||60001007^Not pregnant^SCT||||||F|||20240828172709+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|||||QST
OBX|4|CWE|95418-0^Employed in a healthcare setting^LN^^^^2.69^^Employed in a healthcare setting||N^No^HL70136||||||F|||20240828172709+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|||||QST
OBX|5|CWE|95421-4^Resides in a congregate care setting^LN^^^^2.69^^Resides in a congregate care setting||N^No^HL70136||||||F|||20240828172709+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|||||QST
OBX|6|CWE|76691-5^Gender identity^LN^^^^^^Gender identity||asked-declined^Asked But Declined||||||F|||20240828172709+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|||||QST
SPM|1|bfe0d734-06a8-472e-bf6a-cad808150c4e&Testing Lab&12D4567890&CLIA^bfe0d734-06a8-472e-bf6a-cad808150c4e&Testing Lab&12D4567890&CLIA||697989009^Anterior nares swab^SCT^^^^2.67^^Anterior nares swab||||87100004^Topography unknown (body structure)^SCT^^^^^^Topography unknown (body structure)|||||||||20240828172709+0000|20240828172709+0000
NTE|2|O|OBX filtered for identifier = 80382-5 - Flu A; value = 260373001 - Detected. OBX was removed due to your jurisdictional reporting rules indicating this result is not reportable.
NTE|3|O|OBX filtered for identifier = 80383-3 - Flu B; value = 260415000 - Not detected. OBX was removed due to your jurisdictional reporting rules indicating this result is not reportable.
OBX|1|CWE|97097-0^SARS-CoV-2 (COVID-19) Ag [Presence] in Upper respiratory specimen by Rapid immunoassay^LN^^^^^^COVID-19||260373001^Detected^SCT|||A^Abnormal^HL70078^^^^2.7|||F|||20240826222530+0000|12D4567890^Testing Lab^CLIA||BD Veritor System for Rapid Detection of SARS-CoV-2 \T\ Flu A+B_Becton, Dickinson and Company (BD)^BD Veritor System for Rapid Detection of SARS-CoV-2 \T\ Flu A+B^^^^^^^BD Veritor System for Rapid Detection of SARS-CoV-2 \T\ Flu A+B_Becton, Dickinson and Company (BD)|BD Veritor Plus System_Becton Dickinson^^MNI|20240826224030+0000||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA
OBX|2|CWE|95419-8^Has symptoms related to condition of interest^LN^^^^2.69^^Has symptoms related to condition of interest||N^No^HL70136|||^^^^^^2.7|||F|||20240826222530+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|||||QST
OBX|3|CWE|82810-3^Pregnancy status^LN^^^^2.68^^Pregnancy status||60001007^Not pregnant^SCT|||^^^^^^2.7|||F|||20240826222530+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|||||QST
OBX|4|CWE|95418-0^Employed in a healthcare setting^LN^^^^2.69^^Employed in a healthcare setting||Y^Yes^HL70136|||^^^^^^2.7|||F|||20240826222530+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|||||QST
OBX|5|CWE|95421-4^Resides in a congregate care setting^LN^^^^2.69^^Resides in a congregate care setting||N^No^HL70136|||^^^^^^2.7|||F|||20240826222530+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|||||QST
OBX|6|CWE|76691-5^Gender identity^LN^^^^^^Gender identity||446131000124102^Non-binary gender identity^SCT|||^^^^^^2.7|||F|||20240826222530+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|||||QST
SPM|1|ecfbc6c0-0c32-4cf8-adc2-9134281110d8&Testing Lab&12D4567890&CLIA^ecfbc6c0-0c32-4cf8-adc2-9134281110d8&Testing Lab&12D4567890&CLIA||258500001^Nasopharyngeal swab^SCT^^^^2.67^^Nasopharyngeal swab||||87100004^Topography unknown (body structure)^SCT^^^^^^Topography unknown (body structure)|||||||||20240826222530+0000|20240826222530+0000

0 comments on commit 383e4df

Please sign in to comment.