@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://kommune.conteir.no/Appointment/example-appointment> a fhir:Appointment ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-appointment"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.no/fhir/StructureDefinition/no-basis-Appointment" ;
       fhir:index -1 ;
       fhir:link <http://hl7.no/fhir/StructureDefinition/no-basis-Appointment>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  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 example-appointment</b></p><a name=\"example-appointment\"> </a><a name=\"hcexample-appointment\"> </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=\"https://simplifier.net/resolve?scope=hl7.fhir.no.basis@2.2.2&amp;canonical=http://hl7.no/fhir/StructureDefinition/no-basis-Appointment\">no-basis-Appointment</a></p></div><p><b>status</b>: Booked</p><p><b>serviceType</b>: <span title=\"Codes:\">Home nursing</span></p><p><b>appointmentType</b>: <span title=\"Codes:\">Planned municipal home visit</span></p><p><b>description</b>: Planned home visit for medication follow-up and function assessment</p><p><b>supportingInformation</b>: <a href=\"DocumentReference-example-documentreference.html\">DocumentReference: status = current; type = Journalnotat; date = 2026-01-12 09:00:00+0100; description = Decision on home nursing and practical assistance after discharge</a></p><p><b>start</b>: 2026-01-22 11:00:00+0100</p><p><b>end</b>: 2026-01-22 11:30:00+0100</p><p><b>created</b>: 2026-01-13 12:00:00+0100</p><p><b>basedOn</b>: <a href=\"ServiceRequest-example-servicerequest.html\">ServiceRequest </a></p><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"Patient-example-patient.html\">Kari Hansen  Female, DoB: 1948-09-12 ( urn:oid:2.16.578.1.12.4.1.4.1#Foedselsnummer#12094812345)</a></p><p><b>status</b>: Accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"PractitionerRole-example-practitionerrole.html\">PractitionerRole</a></p><p><b>status</b>: Accepted</p></blockquote></div>"
  ] ;
  fhir:Appointment.status [ fhir:value "booked"] ;
  fhir:Appointment.serviceType [
     fhir:index -1 ;
     fhir:CodeableConcept.text [ fhir:value "Home nursing" ]
  ] ;
  fhir:Appointment.appointmentType [
     fhir:CodeableConcept.text [ fhir:value "Planned municipal home visit" ]
  ] ;
  fhir:Appointment.description [ fhir:value "Planned home visit for medication follow-up and function assessment"] ;
  fhir:Appointment.supportingInformation [
     fhir:index -1 ;
     fhir:link <https://kommune.conteir.no/DocumentReference/example-documentreference> ;
     fhir:Reference.reference [ fhir:value "DocumentReference/example-documentreference" ]
  ] ;
  fhir:Appointment.start [ fhir:value "2026-01-22T11:00:00+01:00"^^xsd:dateTime] ;
  fhir:Appointment.end [ fhir:value "2026-01-22T11:30:00+01:00"^^xsd:dateTime] ;
  fhir:Appointment.created [ fhir:value "2026-01-13T12:00:00+01:00"^^xsd:dateTime] ;
  fhir:Appointment.basedOn [
     fhir:index -1 ;
     fhir:link <https://kommune.conteir.no/ServiceRequest/example-servicerequest> ;
     fhir:Reference.reference [ fhir:value "ServiceRequest/example-servicerequest" ]
  ] ;
  fhir:Appointment.participant [
     fhir:index -1 ;
     fhir:Appointment.participant.actor [
       fhir:link <https://kommune.conteir.no/Patient/example-patient> ;
       fhir:Reference.reference [ fhir:value "Patient/example-patient" ]
     ] ;
     fhir:Appointment.participant.status [ fhir:value "accepted" ]
  ], [
     fhir:index -1 ;
     fhir:Appointment.participant.actor [
       fhir:link <https://kommune.conteir.no/PractitionerRole/example-practitionerrole> ;
       fhir:Reference.reference [ fhir:value "PractitionerRole/example-practitionerrole" ]
     ] ;
     fhir:Appointment.participant.status [ fhir:value "accepted" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://kommune.conteir.no/Appointment/example-appointment.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

