@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://fhir.hl7.org.vn/core/Encounter/ExampleEncounterEnteredInError> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleEncounterEnteredInError"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-encounter"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-encounter>
     ] )
  ] ; # 
  fhir:language [ fhir:v "vi"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter ExampleEncounterEnteredInError</b></p><a name=\"ExampleEncounterEnteredInError\"> </a><a name=\"hcExampleEncounterEnteredInError\"> </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-vn-core-encounter.html\">Lượt khám/nhập viện VN Core — VN Core Encounter Profile</a></p></div><p><b>Mã lượt khám — Encounter Code Extension</b>: Mã lượt khám chữa bệnh/LK-2026-04-20-ERR-001</p><p><b>status</b>: Entered in Error</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB\">ActCode: AMB</a> (ambulatory)</p><p><b>subject</b>: <a href=\"Patient-ExamplePatientNguyenVanAn.html\">Nguyễn Văn An</a></p><p><b>period</b>: 2026-04-20 09:00:00+0700 --&gt; (ongoing)</p><p><b>serviceProvider</b>: <a href=\"Organization-ExampleOrganizationChoRay.html\">Bệnh viện Chợ Rẫy</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-encounter-code"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-encounter-code>
     ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://fhir.hl7.org.vn/core/CodeSystem/vn-identifier-type-cs"^^xsd:anyURI ;
             fhir:l <http://fhir.hl7.org.vn/core/CodeSystem/vn-identifier-type-cs>
           ] ;
           fhir:code [ fhir:v "MA_LUOT_KCB" ] ;
           fhir:display [ fhir:v "Mã lượt khám chữa bệnh" ]
         ] )
       ] ;
       fhir:system [
         fhir:v "http://fhir.hl7.org.vn/core/sid/ma-luot-kcb"^^xsd:anyURI ;
         fhir:l <http://fhir.hl7.org.vn/core/sid/ma-luot-kcb>
       ] ;
       fhir:value [ fhir:v "LK-2026-04-20-ERR-001" ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "entered-in-error"] ; # 
  fhir:class [
     fhir:system [
       fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
     ] ;
     fhir:code [ fhir:v "AMB" ] ;
     fhir:display [ fhir:v "ambulatory" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://fhir.hl7.org.vn/core/Patient/ExamplePatientNguyenVanAn> ;
     fhir:reference [ fhir:v "Patient/ExamplePatientNguyenVanAn" ] ;
     fhir:display [ fhir:v "Nguyễn Văn An" ]
  ] ; # 
  fhir:period [
     fhir:start [ fhir:v "2026-04-20T09:00:00+07:00"^^xsd:dateTime ]
  ] ; # 
  fhir:serviceProvider [
     fhir:l <http://fhir.hl7.org.vn/core/Organization/ExampleOrganizationChoRay> ;
     fhir:reference [ fhir:v "Organization/ExampleOrganizationChoRay" ] ;
     fhir:display [ fhir:v "Bệnh viện Chợ Rẫy" ]
  ] . # 

# -------------------------------------------------------------------------------------

