@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 -------------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Organization/ExampleOrganizationKCBActive> a fhir:Organization ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleOrganizationKCBActive"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-kcb-organization" ;
       fhir:index -1 ;
       fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-kcb-organization>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "vi"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Organization ExampleOrganizationKCBActive</b></p><a name=\"ExampleOrganizationKCBActive\"> </a><a name=\"hcExampleOrganizationKCBActive\"> </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-kcb-organization.html\">Cơ sở khám bệnh, chữa bệnh VN Core — VN Core KCB Organization Profile</a></p></div><p><b>Loại hình cơ sở y tế — Vietnam Organization Type Extension</b>: <span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-organization-type-cs PK}\">Phòng khám</span></p><p><b>Cấp quản lý hành chính y tế — Vietnam Administrative Health Level Extension</b>: <span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-healthcare-level-cs TINH}\">Tỉnh</span></p><p><b>Tình trạng xếp hạng cơ sở y tế — Organization Rank Status Extension</b>: <span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-organization-rank-status-cs UNRANKED}\">Chưa xếp hạng</span></p><p><b>Cấp năng lực cơ sở KCB — Facility Care Level Extension</b>: <span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-facility-care-level-cs BAN_DAU}\">Cấp ban đầu</span></p><p><b>identifier</b>: Giấy phép hoạt động cơ sở KCB/0000-GPHĐ-SYT-HNO (use: official, ), Mã cơ sở khám chữa bệnh/01997</p><p><b>active</b>: true</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/organization-type prov}\">Cơ sở khám bệnh, chữa bệnh</span></p><p><b>name</b>: Phòng khám đa khoa An Bình (dữ liệu giả lập)</p><p><b>telecom</b>: ph: 024 3555 0101</p><p><b>address</b>: Số 12 Phố Thái Hà, Phường Láng, Hà Nội</p></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-org-type" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-organization-type-cs" ] ;
         fhir:Coding.code [ fhir:value "PK" ] ;
         fhir:Coding.display [ fhir:value "Phòng khám" ]
       ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-org-level" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-healthcare-level-cs" ] ;
         fhir:Coding.code [ fhir:value "TINH" ] ;
         fhir:Coding.display [ fhir:value "Tỉnh" ]
       ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-org-rank-status" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-organization-rank-status-cs" ] ;
         fhir:Coding.code [ fhir:value "UNRANKED" ] ;
         fhir:Coding.display [ fhir:value "Chưa xếp hạng" ]
       ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-facility-care-level" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-facility-care-level-cs" ] ;
         fhir:Coding.code [ fhir:value "BAN_DAU" ] ;
         fhir:Coding.display [ fhir:value "Cấp ban đầu" ]
       ]
     ]
  ] ;
  fhir:Organization.identifier [
     fhir:index -1 ;
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "status" ] ;
         fhir:Extension.valueCoding [
           fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-operating-license-status-cs" ] ;
           fhir:Coding.code [ fhir:value "active" ] ;
           fhir:Coding.display [ fhir:value "Đang có hiệu lực" ]
         ]
       ] ;
       fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-operating-license-status" ]
     ] ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-identifier-type-cs" ] ;
         fhir:Coding.code [ fhir:value "GPHOATDONG" ] ;
         fhir:Coding.display [ fhir:value "Giấy phép hoạt động cơ sở KCB" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://fhir.hl7.org.vn/core/sid/kcb-operating-license" ] ;
     fhir:Identifier.value [ fhir:value "0000-GPHĐ-SYT-HNO" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Sở Y tế Hà Nội — cơ quan chuyên môn về y tế thuộc UBND cấp tỉnh (Luật 15/2023/QH15 Điều 51 khoản 4)" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-identifier-type-cs" ] ;
         fhir:Coding.code [ fhir:value "CSKCB" ] ;
         fhir:Coding.display [ fhir:value "Mã cơ sở khám chữa bệnh" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://fhir.hl7.org.vn/core/sid/ma-cskcb" ] ;
     fhir:Identifier.value [ fhir:value "01997" ]
  ] ;
  fhir:Organization.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:Organization.type [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/organization-type" ] ;
       fhir:Coding.code [ fhir:value "prov" ] ;
       fhir:Coding.display [ fhir:value "Healthcare Provider" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Cơ sở khám bệnh, chữa bệnh" ]
  ] ;
  fhir:Organization.name [ fhir:value "Phòng khám đa khoa An Bình (dữ liệu giả lập)"] ;
  fhir:Organization.telecom [
     fhir:index -1 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "024 3555 0101" ]
  ] ;
  fhir:Organization.address [
     fhir:index -1 ;
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-province" ] ;
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-province-cs" ] ;
         fhir:Coding.code [ fhir:value "01" ] ;
         fhir:Coding.display [ fhir:value "Thành phố Hà Nội" ]
       ]
     ] ;
     fhir:Address.text [ fhir:value "Số 12 Phố Thái Hà, Phường Láng, Hà Nội" ] ;
     fhir:Address.line [
       fhir:value "Số 12 Phố Thái Hà" ;
       fhir:index -1
     ] ;
     fhir:Address.state [ fhir:value "Hà Nội" ] ;
     fhir:Address.country [ fhir:value "VN" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Organization/ExampleOrganizationKCBActive.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

