use of org.javers.core.diff.Diff in project fhir-bridge by ehrbase.
the class ClinicalFrailtyIT method testMapping.
@Override
public void testMapping(String resourcePath, String paragonPath) throws IOException {
Observation observation = (Observation) super.testFileLoader.loadResource(resourcePath);
ClinicalFrailtyScaleScoreCompositionConverter compositionConverter = new ClinicalFrailtyScaleScoreCompositionConverter();
KlinischeFrailtySkalaComposition mapped = compositionConverter.convert(observation);
Diff diff = compareCompositions(getJavers(), paragonPath, mapped);
assertEquals(0, diff.getChanges().size());
}
use of org.javers.core.diff.Diff in project fhir-bridge by ehrbase.
the class FioIT method testMapping.
@Override
public void testMapping(String resourcePath, String paragonPath) throws IOException {
Observation observation = (Observation) super.testFileLoader.loadResource(resourcePath);
FiO2CompositionConverter fiO2CompositionConverter = new FiO2CompositionConverter();
BeatmungswerteComposition mapped = fiO2CompositionConverter.convert(observation);
Diff diff = compareCompositions(getJavers(), paragonPath, mapped);
assertEquals(0, diff.getChanges().size());
}
use of org.javers.core.diff.Diff in project fhir-bridge by ehrbase.
the class HeartRateIT method testMapping.
@Override
public void testMapping(String resourcePath, String paragonPath) throws IOException {
Observation observation = (Observation) super.testFileLoader.loadResource(resourcePath);
HerzfrequenzCompositionConverter herzfrequenzCompositionConverter = new HerzfrequenzCompositionConverter();
HerzfrequenzComposition mapped = herzfrequenzCompositionConverter.convert(observation);
Diff diff = compareCompositions(getJavers(), paragonPath, mapped);
assertEquals(0, diff.getChanges().size());
}
use of org.javers.core.diff.Diff in project fhir-bridge by ehrbase.
the class HistoryOfTravelIT method testMapping.
@Override
public void testMapping(String resourcePath, String paragonPath) throws IOException {
Observation observation = (Observation) super.testFileLoader.loadResource(resourcePath);
HistoryOfTravelCompositionConverter compositionConverter = new HistoryOfTravelCompositionConverter();
ReisehistorieComposition mapped = compositionConverter.convert(observation);
Diff diff = compareCompositions(getJavers(), paragonPath, mapped);
assertEquals(0, diff.getChanges().size());
}
use of org.javers.core.diff.Diff in project fhir-bridge by ehrbase.
the class PatientDischargeIT method testMapping.
@Override
public void testMapping(String resourcePath, String paragonPath) throws IOException {
Observation observation = (Observation) super.testFileLoader.loadResource(resourcePath);
PatientDischargeCompositionConverter patientDischargeCompositionConverter = new PatientDischargeCompositionConverter();
GECCOEntlassungsdatenComposition mapped = patientDischargeCompositionConverter.convert(observation);
Diff diff = compareCompositions(getJavers(), paragonPath, mapped);
assertEquals(0, diff.getChanges().size());
}
Aggregations