From d721d717533e29bdf29a4d8b8eafda1a42360b3c Mon Sep 17 00:00:00 2001 From: cfischer Date: Fri, 6 Dec 2024 13:38:27 +0100 Subject: [PATCH] added unit for value --- .../mii/LymphknotenuntersuchungMapper.java | 8 +-- .../LymphknotenuntersuchungMapperTest.java | 2 +- ...ource.Testpatient_1.xml.approved.fhir.json | 56 ------------------- ...ource.Testpatient_2.xml.approved.fhir.json | 56 ------------------- ...ource.Testpatient_3.xml.approved.fhir.json | 56 ------------------- ...tpatient_1.xml.index_0.approved.fhir.json} | 1 + ...tpatient_1.xml.index_1.approved.fhir.json} | 1 + ...patient_1.xml.index_10.approved.fhir.json} | 1 + ...patient_1.xml.index_11.approved.fhir.json} | 1 + ...tpatient_1.xml.index_2.approved.fhir.json} | 1 + ...tpatient_1.xml.index_3.approved.fhir.json} | 1 + ...tpatient_1.xml.index_4.approved.fhir.json} | 1 + ...tpatient_1.xml.index_5.approved.fhir.json} | 1 + ...tpatient_1.xml.index_6.approved.fhir.json} | 1 + ...tpatient_1.xml.index_7.approved.fhir.json} | 1 + ...tpatient_1.xml.index_8.approved.fhir.json} | 1 + ...tpatient_1.xml.index_9.approved.fhir.json} | 1 + 17 files changed, 17 insertions(+), 173 deletions(-) delete mode 100644 src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/ConditionMapperTest.map_withGivenObds_shouldCreateValidConditionResource.Testpatient_1.xml.approved.fhir.json delete mode 100644 src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/ConditionMapperTest.map_withGivenObds_shouldCreateValidConditionResource.Testpatient_2.xml.approved.fhir.json delete mode 100644 src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/ConditionMapperTest.map_withGivenObds_shouldCreateValidConditionResource.Testpatient_3.xml.approved.fhir.json rename src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/{LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_0.approved.fhir.json => LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_0.approved.fhir.json} (98%) rename src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/{LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_1.approved.fhir.json => LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_1.approved.fhir.json} (98%) rename src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/{LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_10.approved.fhir.json => LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_10.approved.fhir.json} (98%) rename src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/{LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_11.approved.fhir.json => LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_11.approved.fhir.json} (98%) rename src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/{LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_2.approved.fhir.json => LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_2.approved.fhir.json} (98%) rename src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/{LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_3.approved.fhir.json => LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_3.approved.fhir.json} (98%) rename src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/{LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_4.approved.fhir.json => LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_4.approved.fhir.json} (98%) rename src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/{LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_5.approved.fhir.json => LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_5.approved.fhir.json} (98%) rename src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/{LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_6.approved.fhir.json => LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_6.approved.fhir.json} (98%) rename src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/{LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_7.approved.fhir.json => LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_7.approved.fhir.json} (98%) rename src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/{LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_8.approved.fhir.json => LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_8.approved.fhir.json} (98%) rename src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/{LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_9.approved.fhir.json => LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_9.approved.fhir.json} (98%) diff --git a/src/main/java/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapper.java b/src/main/java/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapper.java index 0385ee33..484dd2d2 100644 --- a/src/main/java/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapper.java +++ b/src/main/java/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapper.java @@ -171,28 +171,28 @@ public List map( .setCode("1") .setSystem(fhirProperties.getSystems().getUcum()) .setValue(histo.getLKBefallen().intValue()) - .setUnit(""); + .setUnit("" + "#"); obs_befallen.setValue(value_befallen); var value_untersucht = new Quantity() .setCode("1") .setSystem(fhirProperties.getSystems().getUcum()) .setValue(histo.getLKUntersucht().intValue()) - .setUnit(""); + .setUnit("#"); obs_untersucht.setValue(value_untersucht); var value_befallen_sentinel = new Quantity() .setCode("1") .setSystem(fhirProperties.getSystems().getUcum()) .setValue(histo.getSentinelLKBefallen().intValue()) - .setUnit(""); + .setUnit("#"); obs_befallen_sentienel.setValue(value_befallen_sentinel); var value_untersucht_sentinel = new Quantity() .setCode("1") .setSystem(fhirProperties.getSystems().getUcum()) .setValue(histo.getSentinelLKUntersucht().intValue()) - .setUnit(""); + .setUnit("#"); obs_untersucht_sentinel.setValue(value_untersucht_sentinel); result.add(obs_befallen); diff --git a/src/test/java/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.java b/src/test/java/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.java index 5ad5fc17..4ead1c7c 100644 --- a/src/test/java/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.java +++ b/src/test/java/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.java @@ -32,7 +32,7 @@ static void beforeAll(@Autowired FhirProperties fhirProps) { @ParameterizedTest @CsvSource({"Testpatient_1.xml", "Testpatient_2.xml", "Testpatient_3.xml"}) - void map_withGivenObds_shouldCreateValidMedicationStatement(String sourceFile) + void map_withGivenObds_shouldCreateValidObservation(String sourceFile) throws IOException { final var resource = this.getClass().getClassLoader().getResource("obds3/" + sourceFile); assertThat(resource).isNotNull(); diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/ConditionMapperTest.map_withGivenObds_shouldCreateValidConditionResource.Testpatient_1.xml.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/ConditionMapperTest.map_withGivenObds_shouldCreateValidConditionResource.Testpatient_1.xml.approved.fhir.json deleted file mode 100644 index 871819ac..00000000 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/ConditionMapperTest.map_withGivenObds_shouldCreateValidConditionResource.Testpatient_1.xml.approved.fhir.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "resourceType": "Condition", - "id": "9896edd80f6833ea17fbb2c5ad5ca42caa1d02f41baea875f4a390be3b372356", - "meta": { - "profile": [ "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-pr-onko-diagnose-primaertumor" ] - }, - "extension": [ { - "url": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-ex-onko-histology-morphology-behavior-icdo3", - "valueCodeableConcept": { - "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/icd-o-3", - "version": "33", - "code": "8010/3" - } ] - } - }, { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-03-01" - } ], - "identifier": [ { - "system": "https://bzkf.github.io/obds-to-fhir/identifiers/primaerdiagnose-id", - "value": "101" - } ], - "verificationStatus": { - "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", - "code": "confirmed" - }, { - "system": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/CodeSystem/mii-cs-onko-primaertumor-diagnosesicherung", - "code": "7" - } ] - }, - "code": { - "coding": [ { - "system": "http://fhir.de/CodeSystem/bfarm/icd-10-gm", - "version": "2020", - "code": "C50.9" - } ] - }, - "bodySite": [ { - "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/icd-o-3", - "version": "33", - "code": "C50.9" - } ] - }, { - "coding": [ { - "system": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/CodeSystem/mii-cs-onko-seitenlokalisation", - "code": "R" - } ] - } ], - "subject": { - "reference": "Patient/1" - }, - "recordedDate": "2024-09-19" -} diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/ConditionMapperTest.map_withGivenObds_shouldCreateValidConditionResource.Testpatient_2.xml.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/ConditionMapperTest.map_withGivenObds_shouldCreateValidConditionResource.Testpatient_2.xml.approved.fhir.json deleted file mode 100644 index 3574a1b7..00000000 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/ConditionMapperTest.map_withGivenObds_shouldCreateValidConditionResource.Testpatient_2.xml.approved.fhir.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "resourceType": "Condition", - "id": "a31f38c3b6c0d35e6f228a50ba288b814250c774b8dc89cf5ae36455eb6d1ea8", - "meta": { - "profile": [ "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-pr-onko-diagnose-primaertumor" ] - }, - "extension": [ { - "url": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-ex-onko-histology-morphology-behavior-icdo3", - "valueCodeableConcept": { - "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/icd-o-3", - "version": "33", - "code": "8140/3" - } ] - } - }, { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2021-07-08" - } ], - "identifier": [ { - "system": "https://bzkf.github.io/obds-to-fhir/identifiers/primaerdiagnose-id", - "value": "111" - } ], - "verificationStatus": { - "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", - "code": "confirmed" - }, { - "system": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/CodeSystem/mii-cs-onko-primaertumor-diagnosesicherung", - "code": "7" - } ] - }, - "code": { - "coding": [ { - "system": "http://fhir.de/CodeSystem/bfarm/icd-10-gm", - "version": "2021", - "code": "C61" - } ] - }, - "bodySite": [ { - "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/icd-o-3", - "version": "33", - "code": "C61.9" - } ] - }, { - "coding": [ { - "system": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/CodeSystem/mii-cs-onko-seitenlokalisation", - "code": "T" - } ] - } ], - "subject": { - "reference": "Patient/1" - }, - "recordedDate": "2024-02-16" -} diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/ConditionMapperTest.map_withGivenObds_shouldCreateValidConditionResource.Testpatient_3.xml.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/ConditionMapperTest.map_withGivenObds_shouldCreateValidConditionResource.Testpatient_3.xml.approved.fhir.json deleted file mode 100644 index 36ec2e41..00000000 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/ConditionMapperTest.map_withGivenObds_shouldCreateValidConditionResource.Testpatient_3.xml.approved.fhir.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "resourceType": "Condition", - "id": "ada766c1f2eea7625dc4d9bac33d99d0f2a3606376cfa0798fa7c839be6f1e16", - "meta": { - "profile": [ "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-pr-onko-diagnose-primaertumor" ] - }, - "extension": [ { - "url": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-ex-onko-histology-morphology-behavior-icdo3", - "valueCodeableConcept": { - "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/icd-o-3", - "version": "32", - "code": "8461/3" - } ] - } - }, { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2017-07-02" - } ], - "identifier": [ { - "system": "https://bzkf.github.io/obds-to-fhir/identifiers/primaerdiagnose-id", - "value": "121" - } ], - "verificationStatus": { - "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", - "code": "confirmed" - }, { - "system": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/CodeSystem/mii-cs-onko-primaertumor-diagnosesicherung", - "code": "7" - } ] - }, - "code": { - "coding": [ { - "system": "http://fhir.de/CodeSystem/bfarm/icd-10-gm", - "version": "2017", - "code": "C56" - } ] - }, - "bodySite": [ { - "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/icd-o-3", - "version": "32", - "code": "C56.9" - } ] - }, { - "coding": [ { - "system": "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/CodeSystem/mii-cs-onko-seitenlokalisation", - "code": "T" - } ] - } ], - "subject": { - "reference": "Patient/1" - }, - "recordedDate": "2024-02-16" -} diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_0.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_0.approved.fhir.json similarity index 98% rename from src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_0.approved.fhir.json rename to src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_0.approved.fhir.json index 500a04ca..197a67ca 100644 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_0.approved.fhir.json +++ b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_0.approved.fhir.json @@ -29,6 +29,7 @@ "effectiveDateTime": "2020-03-05", "valueQuantity": { "value": 2, + "unit": "#", "system": "http://unitsofmeasure.org", "code": "1" } diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_1.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_1.approved.fhir.json similarity index 98% rename from src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_1.approved.fhir.json rename to src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_1.approved.fhir.json index 5acb8780..9d2c95c8 100644 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_1.approved.fhir.json +++ b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_1.approved.fhir.json @@ -29,6 +29,7 @@ "effectiveDateTime": "2020-03-05", "valueQuantity": { "value": 10, + "unit": "#", "system": "http://unitsofmeasure.org", "code": "1" } diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_10.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_10.approved.fhir.json similarity index 98% rename from src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_10.approved.fhir.json rename to src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_10.approved.fhir.json index b824c579..ddfc089d 100644 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_10.approved.fhir.json +++ b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_10.approved.fhir.json @@ -29,6 +29,7 @@ "effectiveDateTime": "2021-06-01", "valueQuantity": { "value": 1, + "unit": "#", "system": "http://unitsofmeasure.org", "code": "1" } diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_11.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_11.approved.fhir.json similarity index 98% rename from src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_11.approved.fhir.json rename to src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_11.approved.fhir.json index 1df28599..d268af2c 100644 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_11.approved.fhir.json +++ b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_11.approved.fhir.json @@ -29,6 +29,7 @@ "effectiveDateTime": "2021-06-01", "valueQuantity": { "value": 1, + "unit": "#", "system": "http://unitsofmeasure.org", "code": "1" } diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_2.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_2.approved.fhir.json similarity index 98% rename from src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_2.approved.fhir.json rename to src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_2.approved.fhir.json index 68309f38..2c37d251 100644 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_2.approved.fhir.json +++ b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_2.approved.fhir.json @@ -29,6 +29,7 @@ "effectiveDateTime": "2020-03-05", "valueQuantity": { "value": 1, + "unit": "#", "system": "http://unitsofmeasure.org", "code": "1" } diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_3.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_3.approved.fhir.json similarity index 98% rename from src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_3.approved.fhir.json rename to src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_3.approved.fhir.json index 5e0d8ee8..8603ae9b 100644 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_3.approved.fhir.json +++ b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_3.approved.fhir.json @@ -29,6 +29,7 @@ "effectiveDateTime": "2020-03-05", "valueQuantity": { "value": 2, + "unit": "#", "system": "http://unitsofmeasure.org", "code": "1" } diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_4.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_4.approved.fhir.json similarity index 98% rename from src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_4.approved.fhir.json rename to src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_4.approved.fhir.json index 6d1256f1..7873a0a4 100644 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_4.approved.fhir.json +++ b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_4.approved.fhir.json @@ -29,6 +29,7 @@ "effectiveDateTime": "2020-03-05", "valueQuantity": { "value": 2, + "unit": "#", "system": "http://unitsofmeasure.org", "code": "1" } diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_5.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_5.approved.fhir.json similarity index 98% rename from src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_5.approved.fhir.json rename to src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_5.approved.fhir.json index d5f38e2a..e66a6f15 100644 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_5.approved.fhir.json +++ b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_5.approved.fhir.json @@ -29,6 +29,7 @@ "effectiveDateTime": "2020-03-05", "valueQuantity": { "value": 10, + "unit": "#", "system": "http://unitsofmeasure.org", "code": "1" } diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_6.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_6.approved.fhir.json similarity index 98% rename from src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_6.approved.fhir.json rename to src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_6.approved.fhir.json index 311985b5..9aaab6a9 100644 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_6.approved.fhir.json +++ b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_6.approved.fhir.json @@ -29,6 +29,7 @@ "effectiveDateTime": "2020-03-05", "valueQuantity": { "value": 1, + "unit": "#", "system": "http://unitsofmeasure.org", "code": "1" } diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_7.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_7.approved.fhir.json similarity index 98% rename from src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_7.approved.fhir.json rename to src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_7.approved.fhir.json index 08049097..b14fe7cd 100644 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_7.approved.fhir.json +++ b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_7.approved.fhir.json @@ -29,6 +29,7 @@ "effectiveDateTime": "2020-03-05", "valueQuantity": { "value": 2, + "unit": "#", "system": "http://unitsofmeasure.org", "code": "1" } diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_8.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_8.approved.fhir.json similarity index 98% rename from src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_8.approved.fhir.json rename to src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_8.approved.fhir.json index 3201520e..50c74b2d 100644 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_8.approved.fhir.json +++ b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_8.approved.fhir.json @@ -29,6 +29,7 @@ "effectiveDateTime": "2021-06-01", "valueQuantity": { "value": 5, + "unit": "#", "system": "http://unitsofmeasure.org", "code": "1" } diff --git a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_9.approved.fhir.json b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_9.approved.fhir.json similarity index 98% rename from src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_9.approved.fhir.json rename to src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_9.approved.fhir.json index d5cd054e..1e6dca32 100644 --- a/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidMedicationStatement.Testpatient_1.xml.index_9.approved.fhir.json +++ b/src/test/java/snapshots/org/miracum/streams/ume/obdstofhir/mapper/mii/LymphknotenuntersuchungMapperTest.map_withGivenObds_shouldCreateValidObservation.Testpatient_1.xml.index_9.approved.fhir.json @@ -29,6 +29,7 @@ "effectiveDateTime": "2021-06-01", "valueQuantity": { "value": 5, + "unit": "#", "system": "http://unitsofmeasure.org", "code": "1" }