@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/healthedata1-sandbox/Appointment/appt-cancelled> a fhir:Appointment ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "appt-cancelled"] ; # 
  fhir:meta [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/instance-name"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/instance-name>
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Cancelled Appointment Example"
       ]
     ] [
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/instance-description"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/instance-description>
       ] ;
       fhir:value [
         a fhir:Markdown ;
         fhir:v "This is a cancelled office visit appointment example for the *US Core Appointment Profile*."
       ]
     ] ) ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-appointment"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/core/StructureDefinition/us-core-appointment>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Appointment appt-cancelled</b></p><a name=\"appt-cancelled\"> </a><a name=\"hcappt-cancelled\"> </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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-core-appointment.html\">US Core Appointment Profile</a></p></div><p><b>status</b>: Cancelled</p><p><b>cancelationReason</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/appointment-cancellation-reason pat}\">Patient cancelled</span></p><p><b>serviceType</b>: <span title=\"Codes:{http://snomed.info/sct 185349003}\">Annual Physical Exam</span></p><p><b>start</b>: 2026-07-08 14:00:00+0000</p><p><b>end</b>: 2026-07-08 14:30:00+0000</p><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"http://hl7.org/fhir/us/core/2026Jan/Practitioner-practitioner-1.html\">Dr Ronald Bone</a></p><p><b>required</b>: Required</p><p><b>status</b>: Declined</p></blockquote><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"http://hl7.org/fhir/us/core/2026Jan/Location-hospital.html\">Holy Family Hospital</a></p><p><b>required</b>: Required</p><p><b>status</b>: Declined</p></blockquote><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"http://hl7.org/fhir/us/core/2026Jan/Patient-example.html\">Amy V. Baxter  (no stated gender), DoB: 1987-02-20 ( Medical Record Number: 1032702 (use: usual, ))</a></p><p><b>required</b>: Required</p><p><b>status</b>: Declined</p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "cancelled"] ; # 
  fhir:cancelationReason [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/appointment-cancellation-reason"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/appointment-cancellation-reason>
       ] ;
       fhir:code [ fhir:v "pat" ] ;
       fhir:display [ fhir:v "Patient" ]
     ] ) ;
     fhir:text [ fhir:v "Patient cancelled" ]
  ] ; # 
  fhir:serviceType ( [
     fhir:coding ( [
       a sct:185349003 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "185349003" ] ;
       fhir:display [ fhir:v "Encounter for check up" ]
     ] ) ;
     fhir:text [ fhir:v "Annual Physical Exam" ]
  ] ) ; # 
  fhir:start [ fhir:v "2026-07-08T14:00:00Z"^^xsd:dateTime] ; # 
  fhir:end [ fhir:v "2026-07-08T14:30:00Z"^^xsd:dateTime] ; # 
  fhir:participant ( [
     fhir:actor [
       fhir:l <http://hl7.org/fhir/us/healthedata1-sandbox/Practitioner/practitioner-1> ;
       fhir:reference [ fhir:v "Practitioner/practitioner-1" ] ;
       fhir:display [ fhir:v "Dr Ronald Bone" ]
     ] ;
     fhir:required [ fhir:v "required" ] ;
     fhir:status [ fhir:v "declined" ]
  ] [
     fhir:actor [
       fhir:l <http://hl7.org/fhir/us/healthedata1-sandbox/Location/hospital> ;
       fhir:reference [ fhir:v "Location/hospital" ] ;
       fhir:display [ fhir:v "Holy Family Hospital" ]
     ] ;
     fhir:required [ fhir:v "required" ] ;
     fhir:status [ fhir:v "declined" ]
  ] [
     fhir:actor [
       fhir:l <http://hl7.org/fhir/us/healthedata1-sandbox/Patient/example> ;
       fhir:reference [ fhir:v "Patient/example" ]
     ] ;
     fhir:required [ fhir:v "required" ] ;
     fhir:status [ fhir:v "declined" ]
  ] ) . # 

<http://hl7.org/fhir/us/healthedata1-sandbox/Practitioner/practitioner-1> a fhir:Us .

<http://hl7.org/fhir/us/healthedata1-sandbox/Location/hospital> a fhir:Us .

<http://hl7.org/fhir/us/healthedata1-sandbox/Patient/example> a fhir:Us .

# -------------------------------------------------------------------------------------

