Search in sources :

Example 21 with Turtle

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

the class TurtleTests method test_slot_example_busy.

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

Example 22 with Turtle

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

the class TurtleTests method test_careplan_example_integrated.

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

Example 23 with Turtle

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

the class TurtleTests method test_valueset_nhin_purposeofuse.

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

Example 24 with Turtle

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

the class TurtleTests method test_observation_example_f204_creatinine.

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

Example 25 with Turtle

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

the class TurtleTests method test_observation_example_unsat.

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