Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sowu880 committed Nov 5, 2021
1 parent 70a2f3d commit 1c9ba2f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion data/SampleData/Hl7v2/ADT01-28.hl7
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MSH|^~\&|ADT1|GOOD HEALTH HOSPITAL|GHH LAB, INC.|GOOD HEALTH HOSPITAL|198808181126|SECURITY|ADT^A01^ADT_A01|MSG00001|P|2.5.1||
MSH|^~\&|ADT1|GOOD HEALTH HOSPITAL|GHH LAB, INC.|GOOD HEALTH HOSPITAL|198810181126|SECURITY|ADT^A01^ADT_A01|MSG00001|P|2.5.1||
EVN|A01|200708181123||
PID|1||PATID1234^5^M11^ADT1^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN^ADAM^A^III||19610615|M||C|2222 HOME STREET^^GREENSBORO^NC^27401-1020|GL|(555) 555-2004|(555)555-2004||S||PATID12345001^2^M10^ADT1^AN^A|444333333|987654^NC|
NK1|1|NUCLEAR^NELDA^W|SPO^SPOUSE||||NK^NEXT OF KIN
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void GivenHl7v2Message_WhenConverting_ExpectedFhirResourceShouldBeReturne
actualObject.SelectToken(path).Parent.Remove();
});

Assert.Equal(expectedObject.ToString(), actualObject.ToString());
Assert.True(JToken.DeepEquals(expectedObject, actualObject));
Assert.True(traceInfo.UnusedSegments.Count > 0);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"resourceType": "Bundle",
"type": "batch",
"timestamp": "1988-08-18T11:26:00",
"timestamp": "1988-10-18T11:26:00",
"identifier": {
"value": "MSG00001"
},
Expand Down Expand Up @@ -76,8 +76,8 @@
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><span>Resource bundle generated on 2021-10-07T12:40:34.086Z using Microsoft FHIR Converter.</span><span>Template Version: TEMPLATE_VERSION_PLACEHOLDER.</span><span>Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.</span><span>Root template: ADT_A01.</span></p></div>"
},
"occurredDateTime": "1988-08-18T11:26:00",
"recorded": "1988-08-18T11:26:00",
"occurredDateTime": "1988-10-18T11:26:00",
"recorded": "1988-10-18T11:26:00",
"agent": [
{
"type": {
Expand Down

0 comments on commit 1c9ba2f

Please sign in to comment.