@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/us/core/Appointment/cancelled> a fhir:Appointment ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "cancelled"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-appointment|10.0.0-ballot" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-appointment|10.0.0-ballot>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Appointment cancelled</b></p><a name=\"cancelled\"> </a><a name=\"hccancelled\"> </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> version: 10.0.0-ballot</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=\"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><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"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=\"Location-hospital.html\">Holy Family Hospital</a></p><p><b>required</b>: Required</p><p><b>status</b>: Declined</p></blockquote></div>"
  ] ;
  fhir:Appointment.status [ fhir:value "cancelled"] ;
  fhir:Appointment.cancelationReason [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/appointment-cancellation-reason" ] ;
       fhir:Coding.code [ fhir:value "pat" ] ;
       fhir:Coding.display [ fhir:value "Patient" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Patient cancelled" ]
  ] ;
  fhir:Appointment.serviceType [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:185349003 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.version [ fhir:value "http://snomed.info/sct/731000124108" ] ;
       fhir:Coding.code [ fhir:value "185349003" ] ;
       fhir:Coding.display [ fhir:value "Encounter for check up" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Annual Physical Exam" ]
  ] ;
  fhir:Appointment.start [ fhir:value "2026-07-08T14:00:00Z"^^xsd:dateTime] ;
  fhir:Appointment.end [ fhir:value "2026-07-08T14:30:00Z"^^xsd:dateTime] ;
  fhir:Appointment.participant [
     fhir:index 0 ;
     fhir:Appointment.participant.actor [
       fhir:link <http://hl7.org/fhir/us/core/Patient/example> ;
       fhir:Reference.reference [ fhir:value "Patient/example" ]
     ] ;
     fhir:Appointment.participant.required [ fhir:value "required" ] ;
     fhir:Appointment.participant.status [ fhir:value "declined" ]
  ], [
     fhir:index 1 ;
     fhir:Appointment.participant.actor [
       fhir:link <http://hl7.org/fhir/us/core/Practitioner/practitioner-1> ;
       fhir:Reference.reference [ fhir:value "Practitioner/practitioner-1" ] ;
       fhir:Reference.display [ fhir:value "Dr Ronald Bone" ]
     ] ;
     fhir:Appointment.participant.required [ fhir:value "required" ] ;
     fhir:Appointment.participant.status [ fhir:value "declined" ]
  ], [
     fhir:index 2 ;
     fhir:Appointment.participant.actor [
       fhir:link <http://hl7.org/fhir/us/core/Location/hospital> ;
       fhir:Reference.reference [ fhir:value "Location/hospital" ] ;
       fhir:Reference.display [ fhir:value "Holy Family Hospital" ]
     ] ;
     fhir:Appointment.participant.required [ fhir:value "required" ] ;
     fhir:Appointment.participant.status [ fhir:value "declined" ]
  ] .

<http://hl7.org/fhir/us/core/Patient/example> a fhir:us .

<http://hl7.org/fhir/us/core/Practitioner/practitioner-1> a fhir:us .

<http://hl7.org/fhir/us/core/Location/hospital> a fhir:us .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/core/Appointment/cancelled.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/core/Appointment/cancelled.ttl> .

# -------------------------------------------------------------------------------------

