Search in sources :

Example 96 with Turtle

use of org.hl7.fhir.r4.utils.formats.Turtle in project org.hl7.fhir.core by hapifhir.

the class TurtleTests method test_practitionerrole_example.

@Test
public void test_practitionerrole_example() throws FileNotFoundException, IOException, Exception {
    System.out.println("practitionerrole-example.ttl");
    new Turtle().parse(TextFile.fileToString("C:\\work\\org.hl7.fhir\\build\\publish\\practitionerrole-example.ttl"));
}
Also used : Turtle(org.hl7.fhir.dstu3.utils.formats.Turtle) Test(org.junit.jupiter.api.Test)

Example 97 with Turtle

use of org.hl7.fhir.r4.utils.formats.Turtle in project org.hl7.fhir.core by hapifhir.

the class TurtleTests method test_device_example_pacemaker.

@Test
public void test_device_example_pacemaker() throws FileNotFoundException, IOException, Exception {
    System.out.println("device-example-pacemaker.ttl");
    new Turtle().parse(TextFile.fileToString("C:\\work\\org.hl7.fhir\\build\\publish\\device-example-pacemaker.ttl"));
}
Also used : Turtle(org.hl7.fhir.dstu3.utils.formats.Turtle) Test(org.junit.jupiter.api.Test)

Example 98 with Turtle

use of org.hl7.fhir.r4.utils.formats.Turtle 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"));
}
Also used : Turtle(org.hl7.fhir.dstu3.utils.formats.Turtle) Test(org.junit.jupiter.api.Test)

Example 99 with Turtle

use of org.hl7.fhir.r4.utils.formats.Turtle in project org.hl7.fhir.core by hapifhir.

the class TurtleTests method test_endpoint_example.

@Test
public void test_endpoint_example() throws FileNotFoundException, IOException, Exception {
    System.out.println("endpoint-example.ttl");
    new Turtle().parse(TextFile.fileToString("C:\\work\\org.hl7.fhir\\build\\publish\\endpoint-example.ttl"));
}
Also used : Turtle(org.hl7.fhir.dstu3.utils.formats.Turtle) Test(org.junit.jupiter.api.Test)

Example 100 with Turtle

use of org.hl7.fhir.r4.utils.formats.Turtle 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"));
}
Also used : Turtle(org.hl7.fhir.dstu3.utils.formats.Turtle) Test(org.junit.jupiter.api.Test)

Aggregations

Turtle (org.hl7.fhir.dstu3.utils.formats.Turtle)337 Test (org.junit.jupiter.api.Test)334 IOException (java.io.IOException)13 Turtle (org.hl7.fhir.utilities.turtle.Turtle)8 TTLObject (org.hl7.fhir.utilities.turtle.Turtle.TTLObject)8 FHIRException (org.hl7.fhir.exceptions.FHIRException)6 TTLList (org.hl7.fhir.utilities.turtle.Turtle.TTLList)6 HashSet (java.util.HashSet)4 TTLObject (org.hl7.fhir.dstu3.utils.formats.Turtle.TTLObject)4 FHIRFormatError (org.hl7.fhir.exceptions.FHIRFormatError)4 TTLObject (org.hl7.fhir.r4.utils.formats.Turtle.TTLObject)4 SpecialElement (org.hl7.fhir.r4b.elementmodel.Element.SpecialElement)4 NamedElement (org.hl7.fhir.r4b.elementmodel.ParserBase.NamedElement)4 SpecialElement (org.hl7.fhir.r5.elementmodel.Element.SpecialElement)4 NamedElement (org.hl7.fhir.r5.elementmodel.ParserBase.NamedElement)4 Section (org.hl7.fhir.utilities.turtle.Turtle.Section)4 Subject (org.hl7.fhir.utilities.turtle.Turtle.Subject)4 TTLURL (org.hl7.fhir.utilities.turtle.Turtle.TTLURL)4 FileNotFoundException (java.io.FileNotFoundException)3 SpecialElement (org.hl7.fhir.dstu3.elementmodel.Element.SpecialElement)3