@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-legal-document-status-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "vn-legal-document-status-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-legal-document-status-cs</b></p><a name=\"vn-legal-document-status-cs\"> </a><a name=\"hcvn-legal-document-status-cs\"> </a><p>This case-sensitive code system <code>http://fhir.hl7.org.vn/core/CodeSystem/vn-legal-document-status-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\">in-force<a name=\"vn-legal-document-status-cs-in-force\"> </a></td><td>Đang có hiệu lực</td><td>Văn bản đang áp dụng hiện hành; có thể được dùng làm căn cứ pháp lý chính.</td><td>In force</td></tr><tr><td style=\"white-space:nowrap\">future-effective<a name=\"vn-legal-document-status-cs-future-effective\"> </a></td><td>Chưa đến hiệu lực</td><td>Văn bản đã ban hành nhưng chưa đến ngày có hiệu lực; chỉ dùng cho rule phải kích hoạt sau ngày hiệu lực.</td><td>Future-effective</td></tr><tr><td style=\"white-space:nowrap\">transition<a name=\"vn-legal-document-status-cs-transition\"> </a></td><td>Chuyển tiếp</td><td>Có hiệu lực nhưng cho phép áp dụng song song văn bản cũ trong giai đoạn chuyển tiếp (vd: QĐ 697/2026 thay QĐ 6556/2018, cho phép dùng QĐ 6556 đến 01/07/2026).</td><td>Transition</td></tr><tr><td style=\"white-space:nowrap\">superseded<a name=\"vn-legal-document-status-cs-superseded\"> </a></td><td>Đã bị thay thế</td><td>Bị thay thế hoàn toàn bởi văn bản khác. Không dùng làm căn cứ hiện hành; giữ cho mapping/migration audit.</td><td>Superseded</td></tr><tr><td style=\"white-space:nowrap\">expired<a name=\"vn-legal-document-status-cs-expired\"> </a></td><td>Hết hiệu lực</td><td>Hết hiệu lực không có thay thế trực tiếp. Không dùng làm căn cứ hiện hành.</td><td>Expired</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
     fhir:v "http://fhir.hl7.org.vn/core/CodeSystem/vn-legal-document-status-cs"^^xsd:anyURI ;
     fhir:l <http://fhir.hl7.org.vn/core/CodeSystem/vn-legal-document-status-cs>
  ] ; # 
  fhir:version [ fhir:v "0.5.1"] ; # 
  fhir:name [ fhir:v "VNLegalDocumentStatusCS"] ; # 
  fhir:title [ fhir:v "Trạng thái pháp lý văn bản — Vietnam Legal Document Status CodeSystem"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-05-10"^^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 "healthtech@omigroup.vn" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Bộ mã trạng thái pháp lý của văn bản trong VNLegalDocumentRefCS.\nDùng làm value-set binding cho property `status` trong CodeSystem `VNLegalDocumentRefCS`,\ngiúp validator hiểu rằng các giá trị `status` thuộc một tập hữu hạn được định nghĩa rõ ràng.\nPhân loại 5 trạng thái:\n- `in-force`: đang có hiệu lực, áp dụng hiện hành\n- `future-effective`: đã ban hành nhưng chưa đến ngày hiệu lực\n- `transition`: đang trong giai đoạn chuyển tiếp (có hiệu lực nhưng cho phép áp dụng song song với văn bản cũ)\n- `superseded`: đã bị thay thế hoàn toàn bởi văn bản khác\n- `expired`: hết hiệu lực và không có thay thế"] ; # 
  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:caseSensitive [ fhir:v true] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:count [ fhir:v "5"^^xsd:nonNegativeInteger] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "in-force" ] ;
     fhir:display [ fhir:v "Đang có hiệu lực" ] ;
     fhir:definition [ fhir:v "Văn bản đang áp dụng hiện hành; có thể được dùng làm căn cứ pháp lý chính." ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "en" ] ;
       fhir:value [ fhir:v "In force" ]
     ] )
  ] [
     fhir:code [ fhir:v "future-effective" ] ;
     fhir:display [ fhir:v "Chưa đến hiệu lực" ] ;
     fhir:definition [ fhir:v "Văn bản đã ban hành nhưng chưa đến ngày có hiệu lực; chỉ dùng cho rule phải kích hoạt sau ngày hiệu lực." ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "en" ] ;
       fhir:value [ fhir:v "Future-effective" ]
     ] )
  ] [
     fhir:code [ fhir:v "transition" ] ;
     fhir:display [ fhir:v "Chuyển tiếp" ] ;
     fhir:definition [ fhir:v "Có hiệu lực nhưng cho phép áp dụng song song văn bản cũ trong giai đoạn chuyển tiếp (vd: QĐ 697/2026 thay QĐ 6556/2018, cho phép dùng QĐ 6556 đến 01/07/2026)." ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "en" ] ;
       fhir:value [ fhir:v "Transition" ]
     ] )
  ] [
     fhir:code [ fhir:v "superseded" ] ;
     fhir:display [ fhir:v "Đã bị thay thế" ] ;
     fhir:definition [ fhir:v "Bị thay thế hoàn toàn bởi văn bản khác. Không dùng làm căn cứ hiện hành; giữ cho mapping/migration audit." ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "en" ] ;
       fhir:value [ fhir:v "Superseded" ]
     ] )
  ] [
     fhir:code [ fhir:v "expired" ] ;
     fhir:display [ fhir:v "Hết hiệu lực" ] ;
     fhir:definition [ fhir:v "Hết hiệu lực không có thay thế trực tiếp. Không dùng làm căn cứ hiện hành." ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "en" ] ;
       fhir:value [ fhir:v "Expired" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

