@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/ExampleOrganizationKCBPartiallySuspended> a fhir:Organization ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleOrganizationKCBPartiallySuspended"] ;
  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 ExampleOrganizationKCBPartiallySuspended</b></p><a name=\"ExampleOrganizationKCBPartiallySuspended\"> </a><a name=\"hcExampleOrganizationKCBPartiallySuspended\"> </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 BV}\">Bệnh viện</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>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 CO_BAN}\">Cấp cơ bản</span></p><p><b>identifier</b>: Giấy phép hoạt động cơ sở KCB/0001-GPHĐ-SYT-HNO (use: official, ), Mã cơ sở khám chữa bệnh/01998</p><p><b>active</b>: true</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/organization-type prov}\">Healthcare Provider</span></p><p><b>name</b>: Bệnh viện đa khoa Hoà Bình (dữ liệu giả lập)</p><p><b>address</b>: Số 88 Đường Giải Phóng, Phường Bạch Mai, 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 "BV" ] ;
         fhir:Coding.display [ fhir:value "Bệnh viện" ]
       ]
     ]
  ], [
     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-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 "CO_BAN" ] ;
         fhir:Coding.display [ fhir:value "Cấp cơ bản" ]
       ]
     ]
  ] ;
  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 "partially-suspended" ] ;
           fhir:Coding.display [ fhir:value "Đình chỉ một phần" ]
         ]
       ], [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "effectivePeriod" ] ;
         fhir:Extension.valuePeriod [
           fhir:Period.start [ fhir:value "2026-07-01"^^xsd:date ] ;
           fhir:Period.end [ fhir:value "2026-10-01"^^xsd:date ]
         ]
       ], [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "affectedScope" ] ;
         fhir:Extension.valueString [ fhir:value "Phẫu thuật nội soi ổ bụng thuộc phạm vi hoạt động chuyên môn Ngoại khoa; các phạm vi chuyên môn khác không bị đình chỉ." ]
       ], [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "decisionIdentifier" ] ;
         fhir:Extension.valueIdentifier [
           fhir:Identifier.system [ fhir:value "http://fhir.hl7.org.vn/core/sid/document-number" ] ;
           fhir:Identifier.value [ fhir:value "0000/QĐ-SYT" ] ;
           fhir:Identifier.assigner [
             fhir:Reference.display [ fhir:value "Bệnh viện Chợ Rẫy" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "decisionDate" ] ;
         fhir:Extension.valueDate [ fhir:value "2026-06-25"^^xsd:date ]
       ], [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "decisionAuthority" ] ;
         fhir:Extension.valueReference [
           fhir:Reference.display [ fhir:value "Sở Y tế Hà Nội" ]
         ]
       ], [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "reason" ] ;
         fhir:Extension.valueString [ fhir:value "Sự cố y khoa trong phẫu thuật nội soi đến mức phải đình chỉ hoạt động (Luật 15/2023/QH15 Điều 55 khoản 1 điểm a)." ]
       ], [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "conditionForResumption" ] ;
         fhir:Extension.valueString [ fhir:value "Hoàn thành khắc phục đầy đủ các nội dung yêu cầu tại văn bản đình chỉ: rà soát quy trình an toàn phẫu thuật, đào tạo lại kíp mổ và báo cáo kết quả để cơ quan có thẩm quyền quyết định cho hoạt động trở lại (Điều 55 khoản 4)." ]
       ] ;
       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 "0001-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 "01998" ]
  ] ;
  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:Organization.name [ fhir:value "Bệnh viện đa khoa Hoà Bình (dữ liệu giả lập)"] ;
  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ố 88 Đường Giải Phóng, Phường Bạch Mai, Hà Nội" ] ;
     fhir:Address.state [ fhir:value "Hà Nội" ] ;
     fhir:Address.country [ fhir:value "VN" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Organization/ExampleOrganizationKCBPartiallySuspended.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

