@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/davinci-crd/Appointment/example1> a fhir:Appointment ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example1"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: Appointment example1</b></p><a name=\"example1\"> </a><a name=\"hcexample1\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Language: en</p></div><p><b>status</b>: Proposed</p><p><b>appointmentType</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0276 FOLLOWUP}\">A follow up visit from a previous appointment</span></p><p><b>reasonReference</b>: <a href=\"http://example.org/fhir/Condition/example\">Heart problem</a></p><p><b>priority</b>: 5</p><p><b>description</b>: Discussion on the results of your recent MRI</p><p><b>start</b>: 2013-12-10 09:00:00+0000</p><p><b>end</b>: 2013-12-10 11:00:00+0000</p><p><b>created</b>: 2013-10-10</p><p><b>comment</b>: Further expand on the results of the MRI and determine the next actions that may be appropriate.</p><p><b>basedOn</b>: <a href=\"ServiceRequest-example.html\">ServiceRequest Insertion of intracardiac pacemaker (procedure)</a></p><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"Patient-example.html\">Amy Baxter</a></p><p><b>status</b>: Accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType PPRF}\">primary performer</span></p><p><b>actor</b>: <a href=\"Practitioner-full.html\">Dr Adam Careful</a></p><p><b>status</b>: Accepted</p></blockquote><p><b>requestedPeriod</b>: 2020-11-01 --&gt; 2020-12-15</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "proposed"] ; # 
  fhir:appointmentType [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v2-0276"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v2-0276>
       ] ;
       fhir:code [ fhir:v "FOLLOWUP" ] ;
       fhir:display [ fhir:v "A follow up visit from a previous appointment" ]
     ] )
  ] ; # 
  fhir:reasonReference ( [
     fhir:l <http://example.org/fhir/Condition/example> ;
     fhir:reference [ fhir:v "http://example.org/fhir/Condition/example" ] ;
     fhir:display [ fhir:v "Heart problem" ]
  ] ) ; # 
  fhir:priority [ fhir:v "5"^^xsd:nonNegativeInteger] ; # 
  fhir:description [ fhir:v "Discussion on the results of your recent MRI"] ; # 
  fhir:start [ fhir:v "2013-12-10T09:00:00Z"^^xsd:dateTime] ; # 
  fhir:end [ fhir:v "2013-12-10T11:00:00Z"^^xsd:dateTime] ; # 
  fhir:created [ fhir:v "2013-10-10"^^xsd:date] ; # 
  fhir:comment [ fhir:v "Further expand on the results of the MRI and determine the next actions that may be appropriate."] ; # 
  fhir:basedOn ( [
     fhir:l <http://hl7.org/fhir/us/davinci-crd/ServiceRequest/example> ;
     fhir:reference [ fhir:v "ServiceRequest/example" ]
  ] ) ; # 
  fhir:participant ( [
     fhir:actor [
       fhir:l <http://hl7.org/fhir/us/davinci-crd/Patient/example> ;
       fhir:reference [ fhir:v "Patient/example" ] ;
       fhir:display [ fhir:v "Amy Baxter" ]
     ] ;
     fhir:status [ fhir:v "accepted" ]
  ] [
     fhir:type ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
         ] ;
         fhir:code [ fhir:v "PPRF" ]
       ] )
     ] ) ;
     fhir:actor [
       fhir:l <http://hl7.org/fhir/us/davinci-crd/Practitioner/full> ;
       fhir:reference [ fhir:v "Practitioner/full" ] ;
       fhir:display [ fhir:v "Dr Adam Careful" ]
     ] ;
     fhir:status [ fhir:v "accepted" ]
  ] ) ; # 
  fhir:requestedPeriod ( [
     fhir:start [ fhir:v "2020-11-01"^^xsd:date ] ;
     fhir:end [ fhir:v "2020-12-15"^^xsd:date ]
  ] ) . # 

<http://hl7.org/fhir/us/davinci-crd/ServiceRequest/example> a fhir:Us .

<http://hl7.org/fhir/us/davinci-crd/Patient/example> a fhir:Us .

<http://hl7.org/fhir/us/davinci-crd/Practitioner/full> a fhir:Us .

# -------------------------------------------------------------------------------------

