Release 4B 5

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0: R5 - STU ). The This is the current published version which supercedes in it's permanent home (it will always be available at this version is 5.0.0 . URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R5 R4B R4 R3

Schedule-provider-location1-example.ttl

Example Schedule/exampleloc1 (Turtle)

Patient Administration Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Patient , Practitioner , RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification )

Example 1 of a Schedule resource with a composite schedulable resource

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Schedule/exampleloc1> a fhir:Schedule;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "exampleloc1"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      Dr. Beverly Crusher - USS Enterprise-D Sickbay Schedule\n		</div>"
  ];
  fhir:Schedule.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.system [ fhir:value "http://example.org/scheduleid" ];
     fhir:Identifier.value [ fhir:value "46" ]
  ];
  fhir:Schedule.active [ fhir:value "true"^^xsd:boolean];
  fhir:Schedule.serviceCategory [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "17" ];
       fhir:Coding.display [ fhir:value "General Practice" ]
     ]
  ];
  fhir:Schedule.serviceType [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "75" ];
       fhir:Coding.display [ fhir:value "Genetic Counselling" ]
     ]
  ];
  fhir:Schedule.specialty [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "394580004" ];
       fhir:Coding.display [ fhir:value "Clinical genetics" ]

[a fhir:Schedule ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "exampleloc1"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      Dr. Beverly Crusher - USS Enterprise-D Sickbay Schedule\n		</div>"
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "usual" ] ;
     fhir:system [ fhir:v "http://example.org/scheduleid"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "46" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:serviceCategory ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/service-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "17" ] ;
       fhir:display [ fhir:v "General Practice" ]
     ] )
  ] ) ; # 
  fhir:serviceType ( [
     fhir:concept [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/service-type"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "75" ] ;
         fhir:display [ fhir:v "Genetic Counselling" ]
       ] )

     ]
  ];
  fhir:Schedule.actor [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Practitioner/1>;
     fhir:Reference.reference [ fhir:value "Practitioner/1" ];
     fhir:Reference.display [ fhir:value "Dr. Beverly Crusher" ]
  ], [
     fhir:index 1;
     fhir:link <http://hl7.org/fhir/Location/3>;
     fhir:Reference.reference [ fhir:value "Location/3" ];
     fhir:Reference.display [ fhir:value "USS Enterprise-D Sickbay" ]
  ];
  fhir:Schedule.planningHorizon [
     fhir:Period.start [ fhir:value "2017-12-25T09:15:00Z"^^xsd:dateTime ];
     fhir:Period.end [ fhir:value "2017-12-25T09:30:00Z"^^xsd:dateTime ]
  ];
  fhir:Schedule.comment [ fhir:value "The slots attached to this schedule are for genetic counselling in the USS Enterprise-D Sickbay."] .

<http://hl7.org/fhir/Practitioner/1> a fhir:Practitioner .

<http://hl7.org/fhir/Location/3> a fhir:Location .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Schedule/exampleloc1.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Schedule/exampleloc1.ttl> .

  ] ) ; # 
  fhir:specialty ( [
     fhir:coding ( [
       a sct:394580004 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "394580004" ] ;
       fhir:display [ fhir:v "Clinical genetics" ]
     ] )
  ] ) ; # 
  fhir:actor ( [
     fhir:reference [ fhir:v "Practitioner/1" ] ;
     fhir:display [ fhir:v "Dr. Beverly Crusher" ]
  ] [
     fhir:reference [ fhir:v "Location/3" ] ;
     fhir:display [ fhir:v "USS Enterprise-D Sickbay" ]
  ] ) ; # 
  fhir:planningHorizon [
     fhir:start [ fhir:v "2017-12-25T09:15:00Z"^^xsd:dateTime ] ;
     fhir:end [ fhir:v "2017-12-25T09:30:00Z"^^xsd:dateTime ]
  ] ; # 
  fhir:comment [ fhir:v "The slots attached to this schedule are for genetic counselling in the USS Enterprise-D Sickbay."]] . # 


# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.