fix test error + add files conventions

This commit is contained in:
Itay Goren 2020-08-31 22:58:47 +03:00
parent 84e55aa825
commit c2427096ca
3 changed files with 4 additions and 4 deletions

View File

@ -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();

View File

@ -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.",