use of org.hl7.fhir.dstu3.model.DiagnosticReport in project org.hl7.fhir.core by hapifhir.
the class TurtleTests method test_diagnosticreport_example_f201_brainct.
@Test
public void test_diagnosticreport_example_f201_brainct() throws FileNotFoundException, IOException, Exception {
System.out.println("diagnosticreport-example-f201-brainct.ttl");
new Turtle().parse(TextFile.fileToString("C:\\work\\org.hl7.fhir\\build\\publish\\diagnosticreport-example-f201-brainct.ttl"));
}
use of org.hl7.fhir.dstu3.model.DiagnosticReport in project org.hl7.fhir.core by hapifhir.
the class TurtleTests method test_diagnosticreport_example_ultrasound.
@Test
public void test_diagnosticreport_example_ultrasound() throws FileNotFoundException, IOException, Exception {
System.out.println("diagnosticreport-example-ultrasound.ttl");
new Turtle().parse(TextFile.fileToString("C:\\work\\org.hl7.fhir\\build\\publish\\diagnosticreport-example-ultrasound.ttl"));
}
use of org.hl7.fhir.dstu3.model.DiagnosticReport in project org.hl7.fhir.core by hapifhir.
the class TurtleTests method test_diagnosticreport_example_f001_bloodexam.
@Test
public void test_diagnosticreport_example_f001_bloodexam() throws FileNotFoundException, IOException, Exception {
System.out.println("diagnosticreport-example-f001-bloodexam.ttl");
new Turtle().parse(TextFile.fileToString("C:\\work\\org.hl7.fhir\\build\\publish\\diagnosticreport-example-f001-bloodexam.ttl"));
}
use of org.hl7.fhir.dstu3.model.DiagnosticReport in project org.hl7.fhir.core by hapifhir.
the class TurtleTests method test_diagnosticreport_examples_general.
@Test
public void test_diagnosticreport_examples_general() throws FileNotFoundException, IOException, Exception {
System.out.println("diagnosticreport-examples-general.ttl");
new Turtle().parse(TextFile.fileToString("C:\\work\\org.hl7.fhir\\build\\publish\\diagnosticreport-examples-general.ttl"));
}
use of org.hl7.fhir.dstu3.model.DiagnosticReport in project fhir-bridge by ehrbase.
the class DiagnosticReportLabCompositionConverter method convertCategory.
private List<LaborbefundKategorieElement> convertCategory(DiagnosticReport diagnosticReport) {
// TODO alter template
List<LaborbefundKategorieElement> laborbefundKategorieElementList = new ArrayList<>();
for (CodeableConcept codeableConcept : diagnosticReport.getCategory()) {
for (Coding coding : codeableConcept.getCoding()) {
LaborbefundKategorieElement laborbefundKategorieElement = new LaborbefundKategorieElement();
laborbefundKategorieElement.setValue(coding.getCode());
laborbefundKategorieElementList.add(laborbefundKategorieElement);
}
}
return laborbefundKategorieElementList;
}
Aggregations