KR Core Implementation Guide
2.0.0-ballot-final - STU 2

This page is part of the KR Core Implementation Guide (v2.0.0-ballot-final: STU 2 Ballot 3) based on FHIR (HL7® FHIR® Standard) R4. This version is a pre-release. The current official version is 1.0.2. For a full list of available versions, see the Directory of published versions

## : krcore-encounter-example-02 - TTL Representation

Page standards status: Informative

Raw ttl | Download

    @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 sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Encounter ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "krcore-encounter-example-02"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://www.hl7korea.or.kr/fhir/krcore/StructureDefinition/krcore-encounter"^^xsd:anyURI ;
    fhir:link <http://www.hl7korea.or.kr/fhir/krcore/StructureDefinition/krcore-encounter>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter krcore-encounter-example-02</b></p><a name=\"krcore-encounter-example-02\"> </a><a name=\"hckrcore-encounter-example-02\"> </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-krcore-encounter.html\">KR Core Encounter Profile</a></p></div><p><b>KR Core Insurance Types Extension</b>: <span title=\"Codes:{http://www.hl7korea.or.kr/CodeSystem/hira-insurance-types 4}\">건강보험</span></p><p><b>identifier</b>: <code>urn:oid:1.2.3.4.5.6</code>/example-encounter-id-02</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-v3-ActCode.html#v3-ActCode-IMP\">ActCode IMP</a>: inpatient encounter</p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 183806006}\">Inpatient stay 8 days (finding)</span></p><p><b>subject</b>: <a href=\"Patient-krcore-patient-example-01.html\">박아픔 Male, DoB: 2001-01-01 ( Medical record number)</a></p><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType PPRF}\">primary performer</span></p><p><b>individual</b>: <a href=\"Practitioner-krcore-medicaldoctor-example-01.html\">Practitioner 김의사</a></p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType PART}\">Participation</span></p><p><b>individual</b>: <a href=\"Practitioner-krcore-nurse-example-01.html\">Practitioner 전진현</a></p></blockquote><p><b>period</b>: 2025-05-21 --&gt; 2025-05-29</p><h3>Diagnoses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Condition</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Condition-krcore-condition-encounter-diagnosis-example-01.html\">Condition 요관의 결석</a></td></tr></table><p><b>serviceProvider</b>: <a href=\"Organization-krcore-healthcare-organization-example-01.html\">Organization 한국병원</a></p></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "http://www.hl7korea.or.kr/fhir/krcore/StructureDefinition/krcore-insuranceTypes"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:CodeableConcept ;
          ( fhir:coding [
    fhir:system [ fhir:v "http://www.hl7korea.or.kr/CodeSystem/hira-insurance-types"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "4" ] ;
    fhir:display [ fhir:v "건강보험" ]       ] )     ]
      ] ) ; #
      fhir:identifier ( [
    fhir:system [ fhir:v "urn:oid:1.2.3.4.5.6"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "example-encounter-id-02" ]
      ] ) ; #
      fhir:status [ fhir:v "finished"] ; #
      fhir:class [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "IMP" ]
      ] ; #
      fhir:type ( [
        ( fhir:coding [
    a sct:183806006 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "183806006" ] ;
    fhir:display [ fhir:v "Inpatient stay 8 days (finding)" ]     ] )
      ] ) ; #
      fhir:subject [
    fhir:reference [ fhir:v "Patient/krcore-patient-example-01" ]
      ] ; #
      fhir:participant ( [
        ( fhir:type [
          ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "PPRF" ] ;
    fhir:display [ fhir:v "primary performer" ]       ] )     ] ) ;
    fhir:individual [
    fhir:reference [ fhir:v "Practitioner/krcore-medicaldoctor-example-01" ]     ]
      ] [
        ( fhir:type [
          ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "PART" ] ;
    fhir:display [ fhir:v "Participation" ]       ] )     ] ) ;
    fhir:individual [
    fhir:reference [ fhir:v "Practitioner/krcore-nurse-example-01" ]     ]
      ] ) ; #
      fhir:period [
    fhir:start [ fhir:v "2025-05-21"^^xsd:date ] ;
    fhir:end [ fhir:v "2025-05-29"^^xsd:date ]
      ] ; #
      fhir:diagnosis ( [
    fhir:condition [
    fhir:reference [ fhir:v "Condition/krcore-condition-encounter-diagnosis-example-01" ]     ]
      ] ) ; #
      fhir:serviceProvider [
    fhir:reference [ fhir:v "Organization/krcore-healthcare-organization-example-01" ]
      ] . #