immregistries / mqe

Message Quality Evaluation Tool
0 stars 0 forks source link

Vaccination licence range not working properly #136

Open nathanbunker opened 5 years ago

nathanbunker commented 5 years ago

Sending in this message:

MSH|^~\&|||||20190514102500-0600||VXU^V04^VXU_V04|1jo6-SA.2.1.1|P|2.5.1|||ER|AL|||||Z22^CDCPHINVS PID|1||Q97H85^^^AIRA^MR||Alameda^Armani^Jihan^^^^L|Shelby^Asmara^^^^^M|20030503|F||2106-3^White^CDCREC|207 McIntosh Ave^^Casco Township^MI^48064^USA^P||^PRN^PH^^^810^2796825|||||||||2186-5^not Hispanic or Latino^CDCREC||N||||||N PD1|||||||||||02^Reminder/Recall - any method^HL70215|N|20190514|||A|20190514|20190514 NK1|1|Alameda^Shelby^Marion^^^^L|MTH^Mother^HL70063|207 McIntosh Ave^^Casco Township^MI^48064^USA^P|^PRN^PH^^^810^2796825 ORC|RE||BQ97H85.1^AIRA RXA|0|1|20070514||03^MMR^CVX|999|||01^Historical^NIP001|||||||||||CP|A

Results in this response:

MSH|^~\&|MQE Message Hub App|MQE Facility|||20190515125433-0600||ACK^V04^ACK|20190515125433-0600.2558|P|2.5.1|||NE|NE|||||Z23^CDCPHINVS| MSA|AE|1jo6-SA.2.1.1| ERR||RXA^1^3^1^1^1|0^Message accepted^HL70357|E|3^Illogical Value error^HL70533^MQE0257^Vaccination admin date is before or after licensed vaccine range^L|||Vaccination admin date is before or after licensed vaccine range |

But MMR is currently still a validly licensed vaccination and has been for over 50 years. So this should be accepted.

nathanbunker commented 5 years ago

Here is the message you can use for testing:

MMR Example not working properly in MQE.txt

nathanbunker commented 5 years ago

Here is another example with an Adverse Event:

Adverse Example not working properly in MQE.txt