@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://hapi.moh.gov.zm/fhir/Encounter/zm-core-encounter-example-json> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "zm-core-encounter-example-json"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hapi.moh.gov.zm/fhir/StructureDefinition/zm-core-encounter"^^xsd:anyURI ;
       fhir:link <http://hapi.moh.gov.zm/fhir/StructureDefinition/zm-core-encounter>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  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: Encounter zm-core-encounter-example-json</b></p><a name=\"zm-core-encounter-example-json\"> </a><a name=\"hczm-core-encounter-example-json\"> </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-zm-core-encounter.html\">ZM-Core Encounter Profile</a></p></div><p><b>status</b>: Completed</p><p><b>class</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode AMB}\">ambulatory</span></p><p><b>type</b>: <span title=\"Codes:\">Clinic visit</span></p><p><b>subject</b>: <a href=\"Patient-zm-core-patient-example-json.html\">Grace Kapela  Female, DoB: 1990-03-22 ( http://hapi.moh.gov.zm/fhir/sid/nrc#234567/12/2)</a></p><p><b>serviceProvider</b>: <a href=\"Organization-zm-core-organization-example-json.html\">Organization Chilenje First Level Hospital</a></p><p><b>actualPeriod</b>: 2025-11-20 10:00:00+0000 --&gt; 2025-11-20 11:00:00+0000</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:class ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "AMB" ] ;
       fhir:display [ fhir:v "ambulatory" ]
     ] )
  ] ) ; # 
  fhir:type ( [
     fhir:text [ fhir:v "Clinic visit" ]
  ] ) ; # 
  fhir:subject [
     fhir:link <http://hapi.moh.gov.zm/fhir/Patient/zm-core-patient-example-json> ;
     fhir:reference [ fhir:v "Patient/zm-core-patient-example-json" ]
  ] ; # 
  fhir:serviceProvider [
     fhir:link <http://hapi.moh.gov.zm/fhir/Organization/zm-core-organization-example-json> ;
     fhir:reference [ fhir:v "Organization/zm-core-organization-example-json" ]
  ] ; # 
  fhir:actualPeriod [
     fhir:start [ fhir:v "2025-11-20T10:00:00Z"^^xsd:dateTime ] ;
     fhir:end [ fhir:v "2025-11-20T11:00:00Z"^^xsd:dateTime ]
  ] . # 

# -------------------------------------------------------------------------------------

