use of org.hl7.v3.RCMRMT030101UK04CompoundStatement in project nia-patient-switching-standard-adaptor by NHSDigital.
the class ResourceFilterUtilTest method testIsNotBloodPressureResource.
@ParameterizedTest
@MethodSource("nonBloodPressureTestFiles")
public void testIsNotBloodPressureResource(String inputXML) {
final RCMRMT030101UK04CompoundStatement compoundStatement = unmarshallCompoundStatementElement(inputXML);
assertThat(ResourceFilterUtil.isBloodPressure(compoundStatement)).isFalse();
}
use of org.hl7.v3.RCMRMT030101UK04CompoundStatement in project nia-patient-switching-standard-adaptor by NHSDigital.
the class ResourceFilterUtilTest method testIsNotBloodPressure.
@ParameterizedTest
@MethodSource("nonDiagnosticReportTestFiles")
public void testIsNotBloodPressure(String inputXML) {
final RCMRMT030101UK04CompoundStatement compoundStatement = unmarshallCompoundStatementElement(inputXML);
assertThat(ResourceFilterUtil.isDiagnosticReport(compoundStatement)).isFalse();
}
use of org.hl7.v3.RCMRMT030101UK04CompoundStatement in project nia-patient-switching-standard-adaptor by NHSDigital.
the class ResourceFilterUtilTest method testIsTemplateResource.
@Test
public void testIsTemplateResource() {
final RCMRMT030101UK04CompoundStatement compoundStatement = unmarshallCompoundStatementElement("template_resource.xml");
assertThat(ResourceFilterUtil.isTemplate(compoundStatement)).isTrue();
}
use of org.hl7.v3.RCMRMT030101UK04CompoundStatement in project nia-patient-switching-standard-adaptor by NHSDigital.
the class ResourceFilterUtilTest method testIsNotAllergyIntoleranceResource.
@ParameterizedTest
@MethodSource("nonAllergyIntoleranceTestFiles")
public void testIsNotAllergyIntoleranceResource(String inputXML) {
final RCMRMT030101UK04CompoundStatement compoundStatement = unmarshallCompoundStatementElement(inputXML);
assertThat(ResourceFilterUtil.isAllergyIntolerance(compoundStatement)).isFalse();
}
use of org.hl7.v3.RCMRMT030101UK04CompoundStatement in project nia-patient-switching-standard-adaptor by NHSDigital.
the class ResourceFilterUtilTest method testIsNotTemplateResource.
@ParameterizedTest
@MethodSource("nonTemplateTestFiles")
public void testIsNotTemplateResource(String inputXML) {
final RCMRMT030101UK04CompoundStatement compoundStatement = unmarshallCompoundStatementElement(inputXML);
assertThat(ResourceFilterUtil.isTemplate(compoundStatement)).isFalse();
}
Aggregations