@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/DocumentReference/ExampleDocumentReferenceBirthCertificateMissingDataAndUrl> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleDocumentReferenceBirthCertificateMissingDataAndUrl"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-document-reference-birth-certificate" ;
       fhir:index -1 ;
       fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-document-reference-birth-certificate>
     ]
  ] ;
  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: DocumentReference ExampleDocumentReferenceBirthCertificateMissingDataAndUrl</b></p><a name=\"ExampleDocumentReferenceBirthCertificateMissingDataAndUrl\"> </a><a name=\"hcExampleDocumentReferenceBirthCertificateMissingDataAndUrl\"> </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-document-reference-birth-certificate.html\">Bản Giấy chứng sinh đã ký — VN Core Birth Certificate DocumentReference</a></p></div><p><b>identifier</b>: <a href=\"NamingSystem-vn-gcs-ns.html\" title=\"Hệ thống định danh Mã giấy chứng sinh (MA_GCS) do cơ sở khám bệnh, chữa bệnh cấp#xA;theo QĐ 2919/QĐ-BYT (hiệu lực 01/10/2025).#xA;KHÔNG PHẢI số Giấy khai sinh: Giấy chứng sinh do cơ sở khám bệnh, chữa bệnh cấp ngay sau khi#xA;trẻ ra đời; Giấy khai sinh do Uỷ ban nhân dân cấp sau đó theo thủ tục hộ tịch. Khác cơ quan cấp,#xA;khác thời điểm, khác cấu trúc số — số Giấy khai sinh dùng sid/gks, không dùng namespace này.#xA;CẤU TRÚC: đúng 18 ký tự dạng XXXXX.GCS.ZZZZZ.YY — 5 ký tự số thứ tự tăng dần của giấy đã cấp#xA;trong năm tại cơ sở, literal GCS, 5 ký tự mã cơ sở khám bệnh chữa bệnh, 2 số cuối của năm.#xA;Số thứ tự chỉ duy nhất TRONG một cơ sở và một năm, nên mã nhúng sẵn cả mã cơ sở lẫn năm để đạt#xA;tính duy nhất toàn quốc — không được cắt bớt phần nào khi trao đổi.#xA;Căn cứ:#xA;- **QĐ 2919/QĐ-BYT** — hiệu lực 01/10/2025 — chuẩn và định dạng dữ liệu điện tử Giấy chứng sinh;#xA;  bãi bỏ QĐ 1898/QĐ-BYT và bãi bỏ Bảng 9 của QĐ 130/QĐ-BYT#xA;- **NĐ 63/2024/NĐ-CP** — 10/6/2024 — liên thông điện tử đăng ký khai sinh, đăng ký thường trú,#xA;  cấp thẻ BHYT cho trẻ em dưới 6 tuổi.\">VNGCS</a>/00042.GCS.01001.26</p><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:\">Giấy chứng sinh</span></p><p><b>subject</b>: <a href=\"Patient-ExamplePatientChildDependent.html\">Nguyễn Minh Khôi (trẻ sơ sinh)</a></p><p><b>date</b>: 2026-08-06 10:20:00+0700</p><p><b>custodian</b>: <a href=\"Organization-example-organization-bach-mai.html\">Bệnh viện Bạch Mai</a></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Hash</b></td><td><b>Creation</b></td></tr><tr><td style=\"display: none\">*</td><td>application/xml</td><td><code>hqoNSPLbjKPZLLXWBrJ5FIC4pjMWs4mS4Bo7lHnvyt4=</code></td><td>2026-08-06 10:18:00+0700</td></tr></table></blockquote><h3>Contexts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Related</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Composition-ExampleCompositionBirthCertificate.html\">Giấy chứng sinh 00042.GCS.01001.26 — bản có cấu trúc</a></td></tr></table></div>"
  ] ;
  fhir:DocumentReference.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "http://fhir.hl7.org.vn/core/sid/gcs" ] ;
     fhir:Identifier.value [ fhir:value "00042.GCS.01001.26" ]
  ] ;
  fhir:DocumentReference.status [ fhir:value "current"] ;
  fhir:DocumentReference.type [
     fhir:CodeableConcept.text [ fhir:value "Giấy chứng sinh" ]
  ] ;
  fhir:DocumentReference.subject [
     fhir:link <http://fhir.hl7.org.vn/core/Patient/ExamplePatientChildDependent> ;
     fhir:Reference.reference [ fhir:value "Patient/ExamplePatientChildDependent" ] ;
     fhir:Reference.display [ fhir:value "Nguyễn Minh Khôi (trẻ sơ sinh)" ]
  ] ;
  fhir:DocumentReference.date [ fhir:value "2026-08-06T10:20:00+07:00"^^xsd:dateTime] ;
  fhir:DocumentReference.custodian [
     fhir:link <http://fhir.hl7.org.vn/core/Organization/example-organization-bach-mai> ;
     fhir:Reference.reference [ fhir:value "Organization/example-organization-bach-mai" ] ;
     fhir:Reference.display [ fhir:value "Bệnh viện Bạch Mai" ]
  ] ;
  fhir:DocumentReference.content [
     fhir:index -1 ;
     fhir:DocumentReference.content.attachment [
       fhir:Attachment.contentType [ fhir:value "application/xml" ] ;
       fhir:Attachment.hash [ fhir:value "hqoNSPLbjKPZLLXWBrJ5FIC4pjMWs4mS4Bo7lHnvyt4="^^xsd:base64Binary ] ;
       fhir:Attachment.creation [ fhir:value "2026-08-06T10:18:00+07:00"^^xsd:dateTime ]
     ]
  ] ;
  fhir:DocumentReference.context [
     fhir:DocumentReference.context.related [
       fhir:index -1 ;
       fhir:link <http://fhir.hl7.org.vn/core/Composition/ExampleCompositionBirthCertificate> ;
       fhir:Reference.reference [ fhir:value "Composition/ExampleCompositionBirthCertificate" ] ;
       fhir:Reference.display [ fhir:value "Giấy chứng sinh 00042.GCS.01001.26 — bản có cấu trúc" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/DocumentReference/ExampleDocumentReferenceBirthCertificateMissingDataAndUrl.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

