@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/Encounter/example-encounter-phone> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-encounter-phone"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://kommune.conteir.no/StructureDefinition/kommune-encounter" ;
       fhir:index -1 ;
       fhir:link <https://kommune.conteir.no/StructureDefinition/kommune-encounter>
     ]
  ] ;
  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: Encounter example-encounter-phone</b></p><a name=\"example-encounter-phone\"> </a><a name=\"hcexample-encounter-phone\"> </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-kommune-encounter.html\">no-kommune-Encounter</a></p></div><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.4.0/CodeSystem-v3-ActCode.html#v3-ActCode-VR\">ActCode: VR</a> (virtual)</p><p><b>type</b>: <span title=\"Codes:\">Phone contact with patient and next of kin</span></p><p><b>serviceType</b>: <span title=\"Codes:\">Phone follow-up</span></p><p><b>subject</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>episodeOfCare</b>: <a href=\"EpisodeOfCare-example-episodeofcare.html\">EpisodeOfCare: status = active; type = ; period = 2026-01-13 --&gt; (ongoing)</a></p><p><b>basedOn</b>: <a href=\"ServiceRequest-example-servicerequest.html\">ServiceRequest </a></p><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:\">Coordinator</span></p><p><b>individual</b>: <a href=\"PractitionerRole-example-practitionerrole.html\">PractitionerRole</a></p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:\">Next of kin</span></p><p><b>individual</b>: <a href=\"RelatedPerson-example-relatedperson.html\">RelatedPerson Line Hansen </a></p></blockquote><p><b>period</b>: 2026-01-29 09:00:00+0100 --&gt; 2026-01-29 09:10:00+0100</p><p><b>reasonReference</b>: <a href=\"Condition-example-health-concern.html\">Health concern after hip fracture</a></p><p><b>serviceProvider</b>: <a href=\"Organization-example-organization.html\">Organization Oslo municipality, Grünerløkka district, Home Care Service</a></p></div>"
  ] ;
  fhir:Encounter.status [ fhir:value "finished"] ;
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
     fhir:Coding.code [ fhir:value "VR" ]
  ] ;
  fhir:Encounter.type [
     fhir:index -1 ;
     fhir:CodeableConcept.text [ fhir:value "Phone contact with patient and next of kin" ]
  ] ;
  fhir:Encounter.serviceType [
     fhir:CodeableConcept.text [ fhir:value "Phone follow-up" ]
  ] ;
  fhir:Encounter.subject [
     fhir:link <https://kommune.conteir.no/Patient/example-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/example-patient" ]
  ] ;
  fhir:Encounter.episodeOfCare [
     fhir:index -1 ;
     fhir:link <https://kommune.conteir.no/EpisodeOfCare/example-episodeofcare> ;
     fhir:Reference.reference [ fhir:value "EpisodeOfCare/example-episodeofcare" ]
  ] ;
  fhir:Encounter.basedOn [
     fhir:index -1 ;
     fhir:link <https://kommune.conteir.no/ServiceRequest/example-servicerequest> ;
     fhir:Reference.reference [ fhir:value "ServiceRequest/example-servicerequest" ]
  ] ;
  fhir:Encounter.participant [
     fhir:index -1 ;
     fhir:Encounter.participant.type [
       fhir:index -1 ;
       fhir:CodeableConcept.text [ fhir:value "Coordinator" ]
     ] ;
     fhir:Encounter.participant.individual [
       fhir:link <https://kommune.conteir.no/PractitionerRole/example-practitionerrole> ;
       fhir:Reference.reference [ fhir:value "PractitionerRole/example-practitionerrole" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Encounter.participant.type [
       fhir:index -1 ;
       fhir:CodeableConcept.text [ fhir:value "Next of kin" ]
     ] ;
     fhir:Encounter.participant.individual [
       fhir:link <https://kommune.conteir.no/RelatedPerson/example-relatedperson> ;
       fhir:Reference.reference [ fhir:value "RelatedPerson/example-relatedperson" ]
     ]
  ] ;
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2026-01-29T09:00:00+01:00"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2026-01-29T09:10:00+01:00"^^xsd:dateTime ]
  ] ;
  fhir:Encounter.reasonReference [
     fhir:index -1 ;
     fhir:link <https://kommune.conteir.no/Condition/example-health-concern> ;
     fhir:Reference.reference [ fhir:value "Condition/example-health-concern" ] ;
     fhir:Reference.display [ fhir:value "Health concern after hip fracture" ]
  ] ;
  fhir:Encounter.serviceProvider [
     fhir:link <https://kommune.conteir.no/Organization/example-organization> ;
     fhir:Reference.reference [ fhir:value "Organization/example-organization" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://kommune.conteir.no/Encounter/example-encounter-phone.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

