@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-basic-personal-data-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "vn-basic-personal-data-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-basic-personal-data-cs</b></p><a name=\"vn-basic-personal-data-cs\"> </a><a name=\"hcvn-basic-personal-data-cs\"> </a><p>This case-sensitive code system <code>http://fhir.hl7.org.vn/core/CodeSystem/vn-basic-personal-data-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>English (English, en)</b></td></tr><tr><td style=\"white-space:nowrap\">birth-name<a name=\"vn-basic-personal-data-cs-birth-name\"> </a></td><td>Họ, chữ đệm, tên khai sinh và tên gọi khác</td><td>NĐ 356/2025/NĐ-CP Điều 3 khoản 1.</td><td>Birth name and other names</td></tr><tr><td style=\"white-space:nowrap\">birth-death-date<a name=\"vn-basic-personal-data-cs-birth-death-date\"> </a></td><td>Ngày sinh; ngày chết hoặc mất tích</td><td>NĐ 356/2025/NĐ-CP Điều 3 khoản 2.</td><td>Date of birth; date of death or disappearance</td></tr><tr><td style=\"white-space:nowrap\">gender<a name=\"vn-basic-personal-data-cs-gender\"> </a></td><td>Giới tính</td><td>NĐ 356/2025/NĐ-CP Điều 3 khoản 3.</td><td>Sex</td></tr><tr><td style=\"white-space:nowrap\">place-and-address<a name=\"vn-basic-personal-data-cs-place-and-address\"> </a></td><td>Nơi sinh, nơi đăng ký khai sinh, thường trú, tạm trú, nơi ở hiện tại, quê quán, địa chỉ liên hệ</td><td>NĐ 356/2025/NĐ-CP Điều 3 khoản 4.</td><td>Places of birth, registration, residence and contact address</td></tr><tr><td style=\"white-space:nowrap\">nationality<a name=\"vn-basic-personal-data-cs-nationality\"> </a></td><td>Quốc tịch</td><td>NĐ 356/2025/NĐ-CP Điều 3 khoản 5.</td><td>Nationality</td></tr><tr><td style=\"white-space:nowrap\">personal-image<a name=\"vn-basic-personal-data-cs-personal-image\"> </a></td><td>Hình ảnh của cá nhân</td><td>NĐ 356/2025/NĐ-CP Điều 3 khoản 6. Ảnh chân dung thông thường; ảnh thẻ căn cước và dữ liệu sinh trắc học thuộc danh mục nhạy cảm (Điều 4).</td><td>Personal image</td></tr><tr><td style=\"white-space:nowrap\">personal-identifiers<a name=\"vn-basic-personal-data-cs-personal-identifiers\"> </a></td><td>Số điện thoại, số định danh cá nhân, số hộ chiếu, số giấy phép lái xe, số biển số xe</td><td>NĐ 356/2025/NĐ-CP Điều 3 khoản 7.</td><td>Phone number and civil identifiers</td></tr><tr><td style=\"white-space:nowrap\">marital-status<a name=\"vn-basic-personal-data-cs-marital-status\"> </a></td><td>Tình trạng hôn nhân</td><td>NĐ 356/2025/NĐ-CP Điều 3 khoản 8.</td><td>Marital status</td></tr><tr><td style=\"white-space:nowrap\">family-relationship<a name=\"vn-basic-personal-data-cs-family-relationship\"> </a></td><td>Thông tin về mối quan hệ gia đình (cha mẹ, con, vợ, chồng)</td><td>NĐ 356/2025/NĐ-CP Điều 3 khoản 9.</td><td>Family relationships</td></tr><tr><td style=\"white-space:nowrap\">digital-account<a name=\"vn-basic-personal-data-cs-digital-account\"> </a></td><td>Thông tin về tài khoản số của cá nhân</td><td>NĐ 356/2025/NĐ-CP Điều 3 khoản 10. Tài khoản số nói chung; tên đăng nhập/mật khẩu tài khoản định danh điện tử và tài khoản ngân hàng thuộc danh mục nhạy cảm (Điều 4).</td><td>Digital account information</td></tr><tr><td style=\"white-space:nowrap\">other-basic<a name=\"vn-basic-personal-data-cs-other-basic\"> </a></td><td>Thông tin khác gắn liền hoặc giúp xác định một con người cụ thể</td><td>NĐ 356/2025/NĐ-CP Điều 3 khoản 11 — nhóm quét, chỉ áp dụng cho dữ liệu KHÔNG thuộc danh mục nhạy cảm tại Điều 4.</td><td>Other identifying information</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 "issuing" ]
       ] ;
       fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-legal-document-ref-cs" ] ;
       fhir:Coding.code [ fhir:value "ND-356-2025" ]
     ]
  ], [
     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 "foundational" ]
       ] ;
       fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-legal-document-ref-cs" ] ;
       fhir:Coding.code [ fhir:value "L-91-2025" ]
     ]
  ] ;
  fhir:CodeSystem.url [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-basic-personal-data-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.6" ]
  ] ;
  fhir:CodeSystem.version [ fhir:value "0.10.0"] ;
  fhir:CodeSystem.name [ fhir:value "VNBasicPersonalDataCS"] ;
  fhir:CodeSystem.title [ fhir:value "Danh mục dữ liệu cá nhân cơ bản — Basic Personal Data Category CodeSystem"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-08-05"^^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 "11 nhóm dữ liệu cá nhân cơ bản theo **NĐ 356/2025/NĐ-CP Điều 3**.\nDùng để khai *loại dữ liệu cá nhân được xử lý* khi thông báo cho chủ thể dữ liệu tại thời điểm xin\nsự đồng ý (Luật 91/2025/QH15 Điều 9 khoản 2 điểm a). Mã ở đây KHÔNG phải mã lâm sàng và không thay\nthế `Consent.provision.class` (loại resource FHIR) — hai trục khác nhau: một bên là *phạm trù dữ liệu\ncá nhân theo luật*, một bên là *kiểu tài nguyên kỹ thuật*."] ;
  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 "Mã trong bộ này là ĐỊNH DANH KỸ THUẬT do VN Core đặt để tham chiếu ổn định trong hồ sơ FHIR — văn bản pháp luật nêu ở căn cứ quy định nội dung của từng khái niệm nhưng không ban hành bộ mã. Khi đối chiếu với văn bản, tra theo `display` và `definition`, không tra theo `code`."] ;
  fhir:CodeSystem.copyright [ fhir:value "Chính phủ Việt Nam — NĐ 356/2025/NĐ-CP Điều 3."] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "11"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "birth-name" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Họ, chữ đệm, tên khai sinh và tên gọi khác" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "NĐ 356/2025/NĐ-CP Điều 3 khoản 1." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Birth name and other names" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "birth-death-date" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Ngày sinh; ngày chết hoặc mất tích" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "NĐ 356/2025/NĐ-CP Điều 3 khoản 2." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Date of birth; date of death or disappearance" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "gender" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Giới tính" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "NĐ 356/2025/NĐ-CP Điều 3 khoản 3." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Sex" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "place-and-address" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Nơi sinh, nơi đăng ký khai sinh, thường trú, tạm trú, nơi ở hiện tại, quê quán, địa chỉ liên hệ" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "NĐ 356/2025/NĐ-CP Điều 3 khoản 4." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Places of birth, registration, residence and contact address" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "nationality" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Quốc tịch" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "NĐ 356/2025/NĐ-CP Điều 3 khoản 5." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Nationality" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "personal-image" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Hình ảnh của cá nhân" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "NĐ 356/2025/NĐ-CP Điều 3 khoản 6. Ảnh chân dung thông thường; ảnh thẻ căn cước và dữ liệu sinh trắc học thuộc danh mục nhạy cảm (Điều 4)." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Personal image" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "personal-identifiers" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Số điện thoại, số định danh cá nhân, số hộ chiếu, số giấy phép lái xe, số biển số xe" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "NĐ 356/2025/NĐ-CP Điều 3 khoản 7." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Phone number and civil identifiers" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "marital-status" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Tình trạng hôn nhân" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "NĐ 356/2025/NĐ-CP Điều 3 khoản 8." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Marital status" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "family-relationship" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Thông tin về mối quan hệ gia đình (cha mẹ, con, vợ, chồng)" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "NĐ 356/2025/NĐ-CP Điều 3 khoản 9." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Family relationships" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "digital-account" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Thông tin về tài khoản số của cá nhân" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "NĐ 356/2025/NĐ-CP Điều 3 khoản 10. Tài khoản số nói chung; tên đăng nhập/mật khẩu tài khoản định danh điện tử và tài khoản ngân hàng thuộc danh mục nhạy cảm (Điều 4)." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Digital account information" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeSystem.concept.code [ fhir:value "other-basic" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Thông tin khác gắn liền hoặc giúp xác định một con người cụ thể" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "NĐ 356/2025/NĐ-CP Điều 3 khoản 11 — nhóm quét, chỉ áp dụng cho dữ liệu KHÔNG thuộc danh mục nhạy cảm tại Điều 4." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index -1 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Other identifying information" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/CodeSystem/vn-basic-personal-data-cs.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

