Search
HL7 Unit Tests
These Unit Tests are for eCW HL7 Message Structure.
Message:
MSH|^~\&|||||20120901100000||ADT^A04||P|2.3
EVN|A04|20120901100000||
PID|1|10||A10|Smiths^Jan^F||19760210|M||Hispanic|421 Main Ave^Apt 7^Salem^MA^97330||5305554045|5305554234||Single|||534997812|||Standard
GT1|1|11|Smiths^Jon^F||420 Main Ave^Apt7^Salem^MA^97330|5305554743|5303635432|19770730|F|||544071829
Results:
EcwOldFull, EcwOldStandalone, EcwOldTight, HL7DefEcwFull, HL7DefEcwStandalone, HL7DefEcwTight:
EcwOldFull, EcwOldTight, HL7DefEcwFull, HL7DefEcwTight:
EcwOldStandalone, HL7DefEcwStandalone:
Message:
MSH|^~\&|||||20120901100000||ADT^A04||P|2.3
EVN|A04|20120901100000||
PID|1|10||A11|Smith^Jane^N||19760205|Female||White|421 Main St^Apt 17^Dallas^OR^97338||5035554045|5035554234||Married|||111224444|||Standard
GT1|1|11|Smith^John^L||421 Main St^Apt 17^Dallas^OR^97338|5035554743|5033635432|19770704|Male|||111223333
Results:
EcwOldFull, EcwOldStandalone, EcwOldTight, HL7DefEcwFull, HL7DefEcwStandalone, HL7DefEcwTight:
EcwOldFull, EcwOldTight, HL7DefEcwFull, HL7DefEcwTight:
EcwOldStandalone, HL7DefEcwStandalone:
Message:
MSH|^~\&|||||20120901100000||ADT^A04||P|2.3
EVN|A04|20120901100000||
PID|1|10||A10|Smith^^N||19760215|M||Asian|421 Main Ave^Apt 7^Salem^MA^97330||5305554045|5305554234||Single|||111224444|||Standard
GT1|1|11|^John^L||421 Main Ave^Apt 7^Salem^MA^97330|5305554743|5303635432|19770730|Female|||111223333
Results:
EcwOldFull, EcwOldStandalone, EcwOldTight, HL7DefEcwFull, HL7DefEcwStandalone, HL7DefEcwTight:
Message:
MSH|^~\&|||||20120901100000||ADT^A04||P|2.3
EVN|A04|20120901100000||
PID|1|20||A100|Smith^Jane^N||197602|Female||White|421 Main St^Apt 17^Dallas^OR^97338||5035554045|5035554234||Married|||111224444|||Standard
GT1|1|21|Smith^John^L||421 Main St^Apt 17^Dallas^OR^97338|5035554743|5033635432|197707030711|Male|||111223333
Results:
EcwOldFull, EcwOldStandalone, EcwOldTight:
HL7DefEcwFull, HL7DefEcwStandalone, HL7DefEcwTight:
Message:
MSH|^~\&|||||20120901100000||SIU^S12||P|2.3
SCH|100|100|||||Checkup||||^^1200^20120901100000^20120901102000||||||||||||||
PID|1|30||A30|Smiths2^Jan2^L||19760210|Male||Hispanic|421 Main Ave^Apt 7^Salem^MA^97330||5305554045|5305554234||Single|||222334444|||Standard
Results:
EcwOldFull, EcwOldTight, HL7DefEcwFull, HL7DefEcwTight:
EcwOldStandalone, HL7DefEcwStandalone:
Message:
MSH|^~\&|||||20120901100000||SIU^S12||P|2.3
SCH|100|100|||||Checkup and Fillings||||^^2400^20120902100000^20120902104000||||||||||||||
PID|1|30||A300|Smith2^Jane2^N||19760205|Female||White|421 Main St^Apt 17^Dallas^OR^97338||5035554045|5035554234||Married|||222334444|||Standard
Results:
EcwOldFull, EcwOldTight, HL7DefEcwFull, HL7DefEcwTight:
EcwOldStandalone, HL7DefEcwStandalone:
Message:
MSH|^~\&|||||20120901100000||SIU^S12||P|2.3
SCH|100|100|||||Checkup and Fillings||||^^2400^20120903100000^20120903104000||||||||||||||
PID|1|30||A300|Smith2^Jane2^N||19760210|Male||White|421 Main St^Apt 17^Dallas^OR^97338||5035554045|5035554234||Married|||222334444|||Standard
Results:
EcwOldFull, EcwOldTight, HL7DefEcwFull, HL7DefEcwTight:
EcwOldStandalone, HL7DefEcwStandalone:
Message:
MSH|^~\&|||||20120901100000||SIU^S12||P|2.3 SCH|100|100|||||Checkup and Fillings and Crown||||^^2400^20120902100000^20120902104000||||||||||||||PID|1|30||A300|^Jane2^N||19760205|Male||White|421 Test St^Apt 17^Dallas^OR^97338||5035554041|5035554234||Married|||222334444|||Standard
Results:
EcwOldFull, EcwOldTight, HL7DefEcwFull, HL7DefEcwTight:
EcwOldStandalone, HL7DefEcwStandalone:
Message:
MSH|^~\&|||||20120901100000||SIU^S12||P|2.3
SCH|100|100|||||Checkup and Fillings||||^^2400^20120902100000^20120902104000||||||||||||||
PID|1|30||A300|Smith2^Jane2^N||19760205|Female||White|421 Main St^Apt 17^Dallas^OR^97338||5035554045|5035554234||Married|||222334444|||StandardAIG|1||DOC1^Albert, Brian S||||
Results:
EcwOldFull, EcwOldTight, HL7DefEcwFull, HL7DefEcwTight:
EcwOldStandalone, HL7DefEcwStandalone:
Message:
MSH|^~\&|||||20120901100000||SIU^S12||P|2.3
SCH|100|100|||||Checkup and Fillings||||^^2400^20120902100000^20120902104000||||||||||||||
PID|1|30||A300|Smith2^Jane2^N||19760205|Male||White|421 Main St^Apt 17^Dallas^OR^97338||5035554045|5035554234||Married|||222334444|||StandardPV1|1||||||DOC2^Lexington^Sarah^J||||||||||||
Results:
EcwOldFull, EcwOldTight, HL7DefEcwFull, HL7DefEcwTight:
EcwOldStandalone, HL7DefEcwStandalone:
Setup:
Results:
EcwOldFull, EcwOldTight:
MSH|^~\&|OD||ECW||20120906075519||DFT^P03||P|2.3
EVN|P03|20120906075519|
PID|1|A11|10||Smith^Jane^N||19760205|F||White|421 Main St^Apt 17^Dallas^OR^97338||5035554045|5035554234||Married|||111224444|||
PV1|||||||DOC1^Albert, Brian S^^||||||||||||500|||||||||||||||||||||||||||||||
FT1|1|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert, Brian S^^|DOC1^Albert, Brian S^^|75.00|||D0150|^
FT1|2|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert, Brian S^^|DOC1^Albert, Brian S^^|20.00|||D0230|^
FT1|3|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert, Brian S^^|DOC1^Albert, Brian S^^|20.00|||D0230|^
FT1|4|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert, Brian S^^|DOC1^Albert, Brian S^^|150.00|||D2332|26^MID
ZX1|6|PDF|PATHOLOGY^Pathology Report^L|treatment|Test Message
HL7DefEcwFull, HL7DefEcwTight:
MSH|^~\&|OD||ECW||20120906075519||DFT^P03||P|2.3
EVN|P03|20120906075519|
PID|1|A11|10||Smith^Jane^N||19760205|F||White|421 Main St^Apt 17^Dallas^OR^97338||5035554045|5035554234||Married|||111224444|||
PV1|||||||DOC1^Albert^Brian^S||||||||||||500|||||||||||||||||||||||||||||||
FT1|1|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert^Brian^S|DOC1^Albert^Brian^S|75.00|||D0150|^
FT1|2|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert^Brian^S|DOC1^Albert^Brian^S|20.00|||D0230|^
FT1|3|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert^Brian^S|DOC1^Albert^Brian^S|20.00|||D0230|^
FT1|4|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert^Brian^S|DOC1^Albert^Brian^S|150.00|||D2332|26^MID
ZX1|6|PDF|PATHOLOGY^Pathology Report^L|treatment|Test Message
EcwOldStandalone, HL7DefEcwStandalone: DFT messages are not created in Standalone mode.
Setup:
Results:
EcwOldFull, EcwOldTight:
MSH|^~\&|OD||ECW||20120906075519||DFT^P03||P|2.3
EVN|P03|20120906075519|
PID|1|A11|10||Smith^Jane^N||19760205|F||White|421 Main St^Apt 17^Dallas^OR^97338||5035554045|5035554234||Married|||111224444|||
PV1|||||||DOC1^Albert, Brian S^^||||||||||||500|||||||||||||||||||||||||||||||
FT1|1|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert, Brian S^^|DOC1^Albert, Brian S^^|75.00|||D0150|^
FT1|2|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert, Brian S^^|DOC1^Albert, Brian S^^|20.00|||D0230|^
FT1|3|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert, Brian S^^|DOC1^Albert, Brian S^^|20.00|||D0230|^
FT1|4|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert, Brian S^^|DOC1^Albert, Brian S^^|150.00|||D2332|26^MID
ZX1|6|PDF|PATHOLOGY^Pathology Report^L|treatment|Test Message
HL7DefEcwFull, HL7DefEcwTight:
MSH|^~\&|OD||ECW||20120906075519||DFT^P03||P|2.3
EVN|P03|20120906075519|
PID|1|A11|10||Smith^Jane^N||19760205|F||White|421 Main St^Apt 17^Dallas^OR^97338||5035554045|5035554234||Married|||111224444|||
PV1|||||||DOC1^Albert^Brian^S||||||||||||500|||||||||||||||||||||||||||||||
FT1|1|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert^Brian^S|DOC1^Albert^Brian^S|75.00|||D0150|^
FT1|2|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert^Brian^S|DO1^Albert^Brian^S|20.00|||D0230|^
FT1|3|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert^Brian^S|DOC1^Albert^Brian^S|20.00|||D0230|^
FT1|4|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert^Brian^S|DOC1^Albert^Brian^S|150.00|||D2332|26^MID
ZX1|6|PDF|PATHOLOGY^Pathology Report^L|treatment|Test Message
EcwOldStandalone, HL7DefEcwStandalone: DFT messages are not created in Standalone mode.
Setup:
Results:
EcwOldFull, EcwOldTight:
MSH|^~\&|OD||ECW||20120906093201||DFT^P03||P|2.3
EVN|P03|20120906093201|
PID|1|A11|10||Smith^Jane^N||19760205|F||White|421 Main St^Apt 17^Dallas^OR^97338||5035554045|5035554234||Married|||111224444|||
PV1|||||||DOC1^Albert, Brian S^^||||||||||||600|||||||||||||||||||||||||||||||
FT1|1|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert, Brian S^^|DOC1^Albert, Brian S^^|200.00|||D2332|1^MOD
FT1|2|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert, Brian S^^|DOC1^Albert, Brian S^^|250.00|||2332AA|2^MOD
ZX1|6|PDF|PATHOLOGY^Pathology Report^L|treatment|Test Message
HL7DefEcwFull, HL7DefEcwTight:
MSH|^~\&|OD||ECW||20120906093201||DFT^P03||P|2.3 EVN|P03|20120906093201|
PID|1|A11|10||Smith^Jane^N||19760205|F||White|421 Main St^Apt 17^Dallas^OR^97338||5035554045|5035554234||Married|||111224444|||
PV1|||||||DOC1^Albert^Brian^S||||||||||||600|||||||||||||||||||||||||||||||
FT1|1|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert^Brian^S|DOC1^Albert^Brian^S|200.00|||D2332|1^MOD
FT1|2|||20120906000000|20120906000000|CG||||1.0||||||||||DOC1^Albert^Brian^S|DOC1^Albert^Brian^S|250.00|||2332AA|2^MOD
ZX1|6|PDF|PATHOLOGY^Pathology Report^L|treatment|Test Message
EcwOldStandalone, HL7DefEcwStandalone: DFT messages are not created in Standalone mode.