@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://fhir.hl7.org.vn/core/CodeSystem/vn-representation-source-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "vn-representation-source-cs"] ; # 
  fhir:language [ fhir:v "vi"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem vn-representation-source-cs</b></p><a name=\"vn-representation-source-cs\"> </a><a name=\"hcvn-representation-source-cs\"> </a><p>This case-sensitive code system <code>http://fhir.hl7.org.vn/core/CodeSystem/vn-representation-source-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\">population-registry<a name=\"vn-representation-source-cs-population-registry\"> </a></td><td>CSDLQG về dân cư (C06)</td><td>Quan hệ nhân thân xác minh từ Cơ sở dữ liệu quốc gia về dân cư (Bộ Công an) — nguồn AUTHORITATIVE, độ tin cậy cao nhất.</td><td>National population registry (C06)</td></tr><tr><td style=\"white-space:nowrap\">court-decision<a name=\"vn-representation-source-cs-court-decision\"> </a></td><td>Quyết định của Toà án</td><td>Thẩm quyền giám hộ/đại diện theo quyết định Toà án (giám hộ, hạn chế/tước quyền cha mẹ, người mất năng lực).</td><td>Court decision</td></tr><tr><td style=\"white-space:nowrap\">notarized<a name=\"vn-representation-source-cs-notarized\"> </a></td><td>Văn bản uỷ quyền công chứng</td><td>Uỷ quyền có công chứng/chứng thực — cho delegated-proxy, có phạm vi + thời hạn.</td><td>Notarized authorization</td></tr><tr><td style=\"white-space:nowrap\">facility-declared<a name=\"vn-representation-source-cs-facility-declared\"> </a></td><td>CSYT khai báo có chứng từ</td><td>Quan hệ khai báo tại cơ sở KCB kèm chứng từ (fallback khi CSDLQGDC chưa phản ánh, vd foster) — cần xác minh bổ sung, độ tin cậy thấp hơn.</td><td>Facility-declared with evidence</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-legal-basis"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-legal-basis>
     ] ;
     fhir:value [
       a fhir:Coding ;
       fhir:system [
         fhir:v "http://fhir.hl7.org.vn/core/CodeSystem/vn-legal-document-ref-cs"^^xsd:anyURI ;
         fhir:l <http://fhir.hl7.org.vn/core/CodeSystem/vn-legal-document-ref-cs>
       ] ;
       fhir:code [ fhir:v "TT-17-2024-BCA" ]
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://fhir.hl7.org.vn/core/CodeSystem/vn-representation-source-cs"^^xsd:anyURI ;
     fhir:l <http://fhir.hl7.org.vn/core/CodeSystem/vn-representation-source-cs>
  ] ; # 
  fhir:version [ fhir:v "0.6.0"] ; # 
  fhir:name [ fhir:v "VNRepresentationSourceCS"] ; # 
  fhir:title [ fhir:v "Nguồn xác minh thẩm quyền đại diện — Vietnam Representation Verification Source CodeSystem"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-06-02"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Omi HealthTech / VN Core FHIR Community Initiative"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Omi HealthTech / VN Core FHIR Community Initiative" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://hl7.org.vn" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "info@hl7.org.vn" ]
     ] )
  ] [
     fhir:name [ fhir:v "Omi HealthTech (OmiGroup)" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://omihealthtech.vn" ]
     ] [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://omigroup.vn" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "info@hl7.org.vn" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Nguồn xác minh quan hệ/thẩm quyền đại diện — quyết định mức độ tin cậy của PDP khi cho phép truy cập thay (deny-by-default nếu mâu thuẫn/hết hạn).\nƯu tiên nguồn AUTHORITATIVE (CSDLQG dân cư) thay vì tự khai báo.\nCăn cứ: Luật Căn cước 2023 (quan hệ nhân thân trong CSDLQGDC); Bộ luật Dân sự 2015."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:3166>
       ] ;
       fhir:code [ fhir:v "VN" ] ;
       fhir:display [ fhir:v "Viet Nam" ]
     ] )
  ] ) ; # 
  fhir:copyright [ fhir:v "Luật Căn cước 2023; Bộ luật Dân sự 2015."] ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:count [ fhir:v "4"^^xsd:nonNegativeInteger] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "population-registry" ] ;
     fhir:display [ fhir:v "CSDLQG về dân cư (C06)" ] ;
     fhir:definition [ fhir:v "Quan hệ nhân thân xác minh từ Cơ sở dữ liệu quốc gia về dân cư (Bộ Công an) — nguồn AUTHORITATIVE, độ tin cậy cao nhất." ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "en" ] ;
       fhir:value [ fhir:v "National population registry (C06)" ]
     ] )
  ] [
     fhir:code [ fhir:v "court-decision" ] ;
     fhir:display [ fhir:v "Quyết định của Toà án" ] ;
     fhir:definition [ fhir:v "Thẩm quyền giám hộ/đại diện theo quyết định Toà án (giám hộ, hạn chế/tước quyền cha mẹ, người mất năng lực)." ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "en" ] ;
       fhir:value [ fhir:v "Court decision" ]
     ] )
  ] [
     fhir:code [ fhir:v "notarized" ] ;
     fhir:display [ fhir:v "Văn bản uỷ quyền công chứng" ] ;
     fhir:definition [ fhir:v "Uỷ quyền có công chứng/chứng thực — cho delegated-proxy, có phạm vi + thời hạn." ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "en" ] ;
       fhir:value [ fhir:v "Notarized authorization" ]
     ] )
  ] [
     fhir:code [ fhir:v "facility-declared" ] ;
     fhir:display [ fhir:v "CSYT khai báo có chứng từ" ] ;
     fhir:definition [ fhir:v "Quan hệ khai báo tại cơ sở KCB kèm chứng từ (fallback khi CSDLQGDC chưa phản ánh, vd foster) — cần xác minh bổ sung, độ tin cậy thấp hơn." ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "en" ] ;
       fhir:value [ fhir:v "Facility-declared with evidence" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

