@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://fhir.hl7.nl/zorgviewer/Appointment/2.16.840.1.113883.2.4.3.124.7.46240.80000006680> a fhir:Appointment ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "2.16.840.1.113883.2.4.3.124.7.46240.80000006680"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://nictiz.nl/fhir/StructureDefinition/eAfspraak-Appointment"^^xsd:anyURI ;
       fhir:l <http://nictiz.nl/fhir/StructureDefinition/eAfspraak-Appointment>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3>Appointment resource:</h3><ul><li><p><strong>Status:</strong> 'Pending'</p></li><li><table><thead><tr><th>Encounter resource</th><th>Class</th><th>Period</th><th>Reason</th><th>Service provider</th></tr></thead><tbody><tr><td>Encounter resource 1</td><td>Ambulatory</td><td>Period with lower bound 12-10-2022 11:30+0200 and upper bound 12-10-2022 11:40+0200.</td><td>Not available</td><td>Ziekenhuis Apotheek</td></tr></tbody></table></li><li><p><strong>Requested period:</strong> 'Period with lower bound 12-10-2022 11:30+0200 and upper bound 12-10-2022 11:40+0200.'</p></li><li><table><thead><tr><th>Location participant</th><th>Name</th><th>Address</th><th>Standard industry class code</th></tr></thead><tbody><tr><td>Location participant 1</td><td>Ziekenhuis Apotheek</td><td>TEST 1443DH Purmerend (Netherlands (the))</td><td>Openbare apotheek</td></tr></tbody></table></li><li><p><strong>Appointment type</strong> 'Ambulatory'</p></li></ul></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:oid:2.16.840.1.113883.2.4.3.124.7.46240.8"^^xsd:anyURI ;
       fhir:l <urn:oid:2.16.840.1.113883.2.4.3.124.7.46240.8>
     ] ;
     fhir:value [ fhir:v "0000006680" ]
  ] ) ; # 
  fhir:status [
     fhir:v "pending" ;
     fhir:extension ( [
       fhir:url [
         fhir:v "http://nictiz.nl/fhir/StructureDefinition/code-specification"^^xsd:anyURI ;
         fhir:l <http://nictiz.nl/fhir/StructureDefinition/code-specification>
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/v3/ActStatus"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/v3/ActStatus>
           ] ;
           fhir:code [ fhir:v "active" ] ;
           fhir:display [ fhir:v "Pending" ]
         ] ) ;
         fhir:text [ fhir:v "In afwachting van uitvoering" ]
       ]
     ] )
  ] ; # 
  fhir:appointmentType [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/v3/ActCode"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/v3/ActCode>
       ] ;
       fhir:code [ fhir:v "AMB" ] ;
       fhir:display [ fhir:v "Ambulatory" ]
     ] ) ;
     fhir:text [ fhir:v "Poliklinisch" ]
  ] ; # 
  fhir:reason ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/v3/NullFlavor"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/v3/NullFlavor>
       ] ;
       fhir:code [ fhir:v "NAVU" ] ;
       fhir:display [ fhir:v "not available" ]
     ] ) ;
     fhir:text [ fhir:v "Niet beschikbaar" ]
  ] ) ; # 
  fhir:start [ fhir:v "2022-10-12T11:30:00+02:00"^^xsd:dateTime] ; # 
  fhir:end [ fhir:v "2022-10-12T11:40:00+02:00"^^xsd:dateTime] ; # 
  fhir:participant ( [
     fhir:actor [
       fhir:l <http://fhir.hl7.nl/zorgviewer/Patient/9819C39260647B5DE61609CDF1FA1C434552D65014AFDEA2EB877A576B055DF1> ;
       fhir:reference [ fhir:v "Patient/9819C39260647B5DE61609CDF1FA1C434552D65014AFDEA2EB877A576B055DF1" ] ;
       fhir:display [ fhir:v "Johan XXX_Helleman_Afblijven" ]
     ] ;
     fhir:status [ fhir:v "accepted" ]
  ] [
     fhir:actor [
       fhir:l <http://fhir.hl7.nl/zorgviewer/Location/a33a6b66-0e1b-4147-8ddc-dc2fe848f565> ;
       fhir:reference [ fhir:v "Location/a33a6b66-0e1b-4147-8ddc-dc2fe848f565" ] ;
       fhir:display [ fhir:v "Ziekenhuis Apotheek" ]
     ] ;
     fhir:status [ fhir:v "accepted" ]
  ] ) ; # 
  fhir:requestedPeriod ( [
     fhir:start [ fhir:v "2022-10-12T11:30:00+02:00"^^xsd:dateTime ] ;
     fhir:end [ fhir:v "2022-10-12T11:40:00+02:00"^^xsd:dateTime ]
  ] ) . # 

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

