Search in sources :

Example 26 with Turtle

use of org.hl7.fhir.utilities.turtle.Turtle in project org.hl7.fhir.core by hapifhir.

the class TurtleTests method test_visionprescription_example.

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

Example 27 with Turtle

use of org.hl7.fhir.utilities.turtle.Turtle in project org.hl7.fhir.core by hapifhir.

the class TurtleTests method test_practitioner_example_f006_rvdb.

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

Example 28 with Turtle

use of org.hl7.fhir.utilities.turtle.Turtle in project org.hl7.fhir.core by hapifhir.

the class TurtleTests method test_detectedissue_example_lab.

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

Example 29 with Turtle

use of org.hl7.fhir.utilities.turtle.Turtle in project org.hl7.fhir.core by hapifhir.

the class TurtleTests method test_processrequest_example_poll_eob.

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

Example 30 with Turtle

use of org.hl7.fhir.utilities.turtle.Turtle in project org.hl7.fhir.core by hapifhir.

the class TurtleTests method test_enrollmentresponse_example.

@Test
public void test_enrollmentresponse_example() throws FileNotFoundException, IOException, Exception {
    System.out.println("enrollmentresponse-example.ttl");
    new Turtle().parse(TextFile.fileToString("C:\\work\\org.hl7.fhir\\build\\publish\\enrollmentresponse-example.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