diff --git a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_40/MedicationRequest10_40Test.java b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_40/MedicationRequest10_40Test.java index e423fc1cc..2972bbf51 100644 --- a/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_40/MedicationRequest10_40Test.java +++ b/org.hl7.fhir.convertors/src/test/java/org/hl7/fhir/convertors/conv10_40/MedicationRequest10_40Test.java @@ -14,8 +14,8 @@ public class MedicationRequest10_40Test { @Test @DisplayName("Test 10_40 MedicationRequest conversion") public void testMedicationRequestConversion() throws IOException { - InputStream dstu2_input = this.getClass().getResourceAsStream("/example_medication_request_10.json"); - InputStream r4_exepected_input = this.getClass().getResourceAsStream("/example_medication_request_40.json"); + InputStream dstu2_input = this.getClass().getResourceAsStream("/0_medication_request_10.json"); + InputStream r4_exepected_input = this.getClass().getResourceAsStream("/0_medication_request_40.json"); org.hl7.fhir.dstu2.model.MedicationOrder dstu2 = (org.hl7.fhir.dstu2.model.MedicationOrder) new org.hl7.fhir.dstu2.formats.JsonParser().parse(dstu2_input); VersionConvertorAdvisor40 advisor = new IGR2ConvertorAdvisor(); diff --git a/org.hl7.fhir.convertors/src/test/resources/example_medication_request_10.json b/org.hl7.fhir.convertors/src/test/resources/0_medication_request_10.json similarity index 100% rename from org.hl7.fhir.convertors/src/test/resources/example_medication_request_10.json rename to org.hl7.fhir.convertors/src/test/resources/0_medication_request_10.json diff --git a/org.hl7.fhir.convertors/src/test/resources/example_medication_request_40.json b/org.hl7.fhir.convertors/src/test/resources/0_medication_request_40.json similarity index 95% rename from org.hl7.fhir.convertors/src/test/resources/example_medication_request_40.json rename to org.hl7.fhir.convertors/src/test/resources/0_medication_request_40.json index 0b3a6f0ed..325b59a1a 100644 --- a/org.hl7.fhir.convertors/src/test/resources/example_medication_request_40.json +++ b/org.hl7.fhir.convertors/src/test/resources/0_medication_request_40.json @@ -12,7 +12,7 @@ "display": "amitriptyline 10 MG tablet"}, "subject": {"reference": "https://open-ic.epic.com/Argonaut/api/FHIR/DSTU2/Patient/Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB", "display": "Jason Argonaut"}, - "authoredOn": "2016-11-13T00:00:00+02:00", + "authoredOn": "2016-11-13T00:00:00", "requester": {"reference": "https://open-ic.epic.com/Argonaut/api/FHIR/DSTU2/Practitioner/T-kmjPGEVPAmnBfmx56HsKgB", "display": "Historical Provider, MD"}, "dosageInstruction": [{"text": "Take 10 mg by mouth nightly.", @@ -37,4 +37,4 @@ "system": "http://unitsofmeasure.org", "code": "mg"}}]}], "dispenseRequest": {"validityPeriod": {"start": "2016-11-15T00:00:00Z", - "end": "2016-11-23T00:00:00Z"}}} \ No newline at end of file + "end": "2016-11-23T00:00:00Z"}}}