@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/CodeSystem/vn-cost-statement-attestation-role-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "vn-cost-statement-attestation-role-cs"] ;
  fhir:Resource.language [ fhir:value "vi"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem vn-cost-statement-attestation-role-cs</b></p><a name=\"vn-cost-statement-attestation-role-cs\"> </a><a name=\"hcvn-cost-statement-attestation-role-cs\"> </a><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Name</b></td><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>codeSource</td><td>codeSource</td><td>http://fhir.hl7.org.vn/core/CodeSystem/vn-cost-statement-attestation-role-cs#codeSource</td><td>code</td><td>Nguồn của mã: project-assigned (VN Core tự đặt cho hợp đồng trao đổi; văn bản không ban hành các slug này).</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://fhir.hl7.org.vn/core/CodeSystem/vn-cost-statement-attestation-role-cs</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>codeSource</b></td><td><b>English (English, en)</b></td></tr><tr><td style=\"white-space:nowrap\">preparer<a name=\"vn-cost-statement-attestation-role-cs-preparer\"> </a></td><td>Người lập bảng kê</td><td>Vai trò trao đổi của người lập bảng kê chi phí. Không tự chứng minh chữ ký hoặc thẩm quyền ký.</td><td>project-assigned</td><td>Cost statement preparer</td></tr><tr><td style=\"white-space:nowrap\">billing-confirmation<a name=\"vn-cost-statement-attestation-role-cs-billing-confirmation\"> </a></td><td>Xác nhận kế toán viện phí</td><td>Ô xác nhận kế toán viện phí trên bảng kê. Tại Trạm y tế tuyến xã và tương đương chưa có kế toán viện phí, QĐ 697/QĐ-BYT cho người phụ trách đơn vị ký thay tại ô này. Mã chỉ biểu diễn vai trò xác nhận, không áp đặt chức danh hoặc tự chứng minh thẩm quyền ký.</td><td>project-assigned</td><td>Billing confirmation</td></tr><tr><td style=\"white-space:nowrap\">patient-confirmation<a name=\"vn-cost-statement-attestation-role-cs-patient-confirmation\"> </a></td><td>Xác nhận của người bệnh</td><td>Vai trò trao đổi của người bệnh hoặc người đại diện xác nhận bảng kê. Không tự chứng minh chữ ký hoặc tư cách đại diện.</td><td>project-assigned</td><td>Patient confirmation</td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-legal-basis" ] ;
     fhir:Extension.valueCoding [
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-legal-basis-role" ] ;
         fhir:Extension.valueCode [ fhir:value "governing" ]
       ] ;
       fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-legal-document-ref-cs" ] ;
       fhir:Coding.code [ fhir:value "QD-697-2026" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-legal-basis" ] ;
     fhir:Extension.valueCoding [
       fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-legal-basis-exception-cs" ] ;
       fhir:Coding.code [ fhir:value "local-design" ]
     ]
  ] ;
  fhir:CodeSystem.url [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-cost-statement-attestation-role-cs"] ;
  fhir:CodeSystem.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:oid:2.25.161089673617632664299011809196868855799.16.30" ]
  ] ;
  fhir:CodeSystem.version [ fhir:value "0.10.0"] ;
  fhir:CodeSystem.name [ fhir:value "VNCostStatementAttestationRoleCS"] ;
  fhir:CodeSystem.title [ fhir:value "Vai trò xác nhận bảng kê chi phí — Cost Statement Attestation Role CodeSystem"] ;
  fhir:CodeSystem.status [ fhir:value "draft"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-09-12"^^xsd:date] ;
  fhir:CodeSystem.publisher [ fhir:value "Omi HealthTech / VN Core FHIR Community Initiative"] ;
  fhir:CodeSystem.contact [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "Omi HealthTech / VN Core FHIR Community Initiative" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://hl7.org.vn" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "info@hl7.org.vn" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "Omi HealthTech (OmiGroup)" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://omihealthtech.vn" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://omigroup.vn" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "info@hl7.org.vn" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Bộ mã cục bộ của VN Core để phân biệt ba vai trò xác nhận trong bản ghi trao đổi bảng kê chi phí: người lập bảng kê, kế toán viện phí và xác nhận của người bệnh. Đây là mã do VN Core đặt để trao đổi ổn định; không phải bộ mã quốc gia do QĐ 697/QĐ-BYT ban hành. Một người có thể đảm nhiệm nhiều vai trò nếu quy trình áp dụng cho phép; bộ mã không khẳng định các vai trò phải do những người khác nhau thực hiện. / VN Core local exchange codes for the three cost-statement attestation roles. These are project-assigned codes, not nationally issued codes, and they do not imply distinct actors."] ;
  fhir:CodeSystem.jurisdiction [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "VN" ] ;
       fhir:Coding.display [ fhir:value "Viet Nam" ]
     ]
  ] ;
  fhir:CodeSystem.purpose [ fhir:value "Gắn vai trò trao đổi cục bộ cho từng khai báo attestation của VNCoreCostStatementComposition; không biểu diễn hoặc xác minh chữ ký số."] ;
  fhir:CodeSystem.copyright [ fhir:value "Mã kỹ thuật do VN Core đặt; tên vai trò bám theo ba ô xác nhận được VN Core ánh xạ từ mẫu bảng kê QĐ 697/QĐ-BYT."] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "3"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.property [
     fhir:index -1 ;
     fhir:CodeSystem.property.code [ fhir:value "codeSource" ] ;
     fhir:CodeSystem.property.uri [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-cost-statement-attestation-role-cs#codeSource" ] ;
     fhir:CodeSystem.property.description [ fhir:value "Nguồn của mã: project-assigned (VN Core tự đặt cho hợp đồng trao đổi; văn bản không ban hành các slug này)." ] ;
     fhir:CodeSystem.property.type [ fhir:value "code" ]
  ] ;
  fhir:CodeSystem.concept [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "preparer" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Người lập bảng kê" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Vai trò trao đổi của người lập bảng kê chi phí. Không tự chứng minh chữ ký hoặc thẩm quyền ký." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Cost statement preparer" ]
     ] ;
     fhir:CodeSystem.concept.property [
       fhir:index -1 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "codeSource" ] ;
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "project-assigned" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "billing-confirmation" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Xác nhận kế toán viện phí" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Ô xác nhận kế toán viện phí trên bảng kê. Tại Trạm y tế tuyến xã và tương đương chưa có kế toán viện phí, QĐ 697/QĐ-BYT cho người phụ trách đơn vị ký thay tại ô này. Mã chỉ biểu diễn vai trò xác nhận, không áp đặt chức danh hoặc tự chứng minh thẩm quyền ký." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Billing confirmation" ]
     ] ;
     fhir:CodeSystem.concept.property [
       fhir:index -1 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "codeSource" ] ;
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "project-assigned" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "patient-confirmation" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Xác nhận của người bệnh" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Vai trò trao đổi của người bệnh hoặc người đại diện xác nhận bảng kê. Không tự chứng minh chữ ký hoặc tư cách đại diện." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Patient confirmation" ]
     ] ;
     fhir:CodeSystem.concept.property [
       fhir:index -1 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "codeSource" ] ;
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "project-assigned" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/CodeSystem/vn-cost-statement-attestation-role-cs.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

