CDCgov / data-exchange-hl7

Enterprise Data Exchange (DEX) is a new cloud-native centralized data ingestion, validation, and observation service scoped for common data types (HL7, FHIR, CDA, XML, CSV) sent to the CDC. It helps public health stakeholders who send data to the CDC while reducing the maintenance efforts, complexity, and duplication of ingestion points to CDC.
Apache License 2.0
10 stars 14 forks source link

HL7 Validation: Error message needs to be updated when ^~\& is missing for MSH-2 #773

Closed nadiackhan closed 1 year ago

nadiackhan commented 1 year ago

Error message needs to be updated when ^~\& is missing for MSH-2

  1. Validate error message when the^~\& is missing for MSH-2 on Structure Validator. image.png

Actual Result: The following error is returned: image.png

Expected Result: An error message is required to specify that ^~\& is missing for MSH-2 For example:

nadiackhan commented 1 year ago

Triaged. Dev team will add a check for the ^~\& characters on MSH-2 (Per PHIN SPEC)

nadiackhan commented 1 year ago

Validated in TEST: Select * FROM hive_metastore.ocio_dex_tst.hl7_structure_silver where provenance.ext_original_file_name like '%Bug773_missingMSH-2-dwl7-18365c2d-ceba-4eca-9b1c-e0e7cb47994a%' --

Message returned: image.png