Profile Comparison between http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-document-reference vs http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-document-reference

Left:Tài liệu y tế VN Core — VN Core DocumentReference Profile (http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-document-reference)
Right:Tài liệu y tế VN Core — VN Core DocumentReference Profile (http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-document-reference)

Messages

ErrorStructureDefinition.versionValues for version differ: '0.5.0' vs '0.5.1'
InformationStructureDefinition.dateValues for date differ: '2026-03-21' vs '2026-05-10'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/DocumentReference
      .copyright
        .date2026-03-212026-05-10
        • Values Differ
        .descriptionProfile DocumentReference cho Việt Nam. Dùng cho tham chiếu bệnh án điện tử, phiếu kết quả xét nghiệm, phim ảnh CĐHA, đơn thuốc điện tử, giấy chuyển viện, v.v. Căn cứ: - TT 13/2025/TT-BYT (06/6/2025) — Bệnh án điện tử, hiệu lực 21/7/2025 - NĐ 102/2025/NĐ-CP (13/5/2025) — Quản lý dữ liệu y tế số - NĐ 278/2025/NĐ-CP — ban hành 22/10/2025, hiệu lực từ ngày ký 22/10/2025 — Kết nối, chia sẻ dữ liệu bắt buộc; chuẩn hóa và thống nhất kết nối qua Nền tảng chia sẻ, điều phối dữ liệu chậm nhất 31/12/2026 - QĐ 11/2026/QĐ-TTg (28/3/2026) — Danh mục CSDL quốc gia, gồm CSDL quốc gia về y tế - Luật KCB 2023 (15/2023/QH15) — Hồ sơ bệnh án - NĐ 137/2024/NĐ-CP — Giao dịch điện tử, chữ ký số - QĐ 1332/QĐ-BYT — Sổ sức khỏe điện tử trên VNeID - Luật 91/2025/QH15 — BVDLCN: dữ liệu y tế = DLCN nhạy cảm
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#VN
                  .kindresource
                    .nameVNCoreDocumentReference
                      .publisherOmi HealthTech / VN Core FHIR Community Initiative
                        .purpose
                          .statusdraft
                            .titleTài liệu y tế VN Core — VN Core DocumentReference Profile
                              .typeDocumentReference
                                .urlhttp://fhir.hl7.org.vn/core/StructureDefinition/vn-core-document-reference
                                  .version0.5.00.5.1
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                  .. DocumentReference 0..*DocumentReferenceA reference to a document
                                  0..*DocumentReferenceA reference to a document
                                    ... id Σ0..1idLogical id of this artifactΣ0..1idLogical id of this artifact
                                      ... meta Σ0..1MetaMetadata about the resourceΣ0..1MetaMetadata about the resource
                                        ... implicitRules ?!Σ0..1uriA set of rules under which this content was created?!Σ0..1uriA set of rules under which this content was created
                                          ... text 0..1NarrativeText summary of the resource, for human interpretation
                                          This profile does not constrain the narrative in regard to content, language, or traceability to data elements
                                          0..1NarrativeText summary of the resource, for human interpretation
                                          This profile does not constrain the narrative in regard to content, language, or traceability to data elements
                                            ... contained 0..*ResourceContained, inline Resources
                                            0..*ResourceContained, inline Resources
                                              ... extension 0..*ExtensionAdditional content defined by implementations
                                              0..*ExtensionAdditional content defined by implementations
                                                ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                                ?!0..*ExtensionExtensions that cannot be ignored
                                                  ... masterIdentifier Σ0..1IdentifierMaster Version Specific IdentifierΣ0..1IdentifierMaster Version Specific Identifier
                                                    ... identifier Σ0..*IdentifierOther identifiers for the document
                                                    Σ0..*IdentifierOther identifiers for the document
                                                      ... status ?!SΣ1..1codeTrạng thái tài liệu (current | superseded | entered-in-error)
                                                      Binding: ?? (required): The status of the document reference.
                                                      ?!SΣ1..1codeTrạng thái tài liệu (current | superseded | entered-in-error)
                                                      Binding: ?? (required): The status of the document reference.
                                                        ... docStatus Σ0..1codepreliminary | final | amended | entered-in-error
                                                        Binding: ?? (required): Status of the underlying document.
                                                        Σ0..1codepreliminary | final | amended | entered-in-error
                                                        Binding: ?? (required): Status of the underlying document.
                                                          ... type SΣ1..1CodeableConceptLoại tài liệu y tế
                                                          Binding: ?? (preferred): Precise type of clinical document.
                                                          SΣ1..1CodeableConceptLoại tài liệu y tế
                                                          Binding: ?? (preferred): Precise type of clinical document.
                                                            ... category SΣ0..*CodeableConceptPhân loại tài liệu (bệnh án, XN, CĐHA, đơn thuốc...)
                                                            Binding: ?? (example): High-level kind of a clinical document at a macro level.
                                                            SΣ0..*CodeableConceptPhân loại tài liệu (bệnh án, XN, CĐHA, đơn thuốc...)
                                                            Binding: ?? (example): High-level kind of a clinical document at a macro level.
                                                              ... subject SΣ1..1Reference(Bệnh nhân VN Core — VN Core Patient Profile)Bệnh nhânSΣ1..1Reference(Bệnh nhân VN Core — VN Core Patient Profile)Bệnh nhân
                                                                ... date SΣ0..1instantThời điểm tạo tài liệuSΣ0..1instantThời điểm tạo tài liệu
                                                                  ... author SΣ0..*Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile)Tác giả tài liệu (bác sĩ, NVYT, CSKCB)
                                                                  SΣ0..*Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile)Tác giả tài liệu (bác sĩ, NVYT, CSKCB)
                                                                    ... authenticator 0..1Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Cơ sở y tế VN Core — VN Core Organization Profile)Người ký xác nhận (chữ ký số per NĐ 137/2024)0..1Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Cơ sở y tế VN Core — VN Core Organization Profile)Người ký xác nhận (chữ ký số per NĐ 137/2024)
                                                                      ... custodian S0..1Reference(Cơ sở y tế VN Core — VN Core Organization Profile)Cơ sở y tế lưu trữ (per TT 13/2025)S0..1Reference(Cơ sở y tế VN Core — VN Core Organization Profile)Cơ sở y tế lưu trữ (per TT 13/2025)
                                                                        ... relatesTo Σ0..*BackboneElementRelationships to other documents
                                                                        Σ0..*BackboneElementRelationships to other documents
                                                                          .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                            .... extension 0..*ExtensionAdditional content defined by implementations
                                                                            0..*ExtensionAdditional content defined by implementations
                                                                              .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                              ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                .... code Σ1..1codereplaces | transforms | signs | appends
                                                                                Binding: ?? (required): The type of relationship between documents.
                                                                                Σ1..1codereplaces | transforms | signs | appends
                                                                                Binding: ?? (required): The type of relationship between documents.
                                                                                  .... target Σ1..1Reference(DocumentReference)Target of the relationshipΣ1..1Reference(DocumentReference)Target of the relationship
                                                                                    ... description SΣ0..1stringMô tả nội dung tài liệuSΣ0..1stringMô tả nội dung tài liệu
                                                                                      ... securityLabel Σ0..*CodeableConceptDocument security-tags
                                                                                      Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
                                                                                      Σ0..*CodeableConceptDocument security-tags
                                                                                      Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
                                                                                        ... content SΣ1..*BackboneElementNội dung tài liệu (attachment hoặc URL)
                                                                                        SΣ1..*BackboneElementNội dung tài liệu (attachment hoặc URL)
                                                                                          .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                            .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                            0..*ExtensionAdditional content defined by implementations
                                                                                              .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                              ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                .... attachment SΣ1..1AttachmentFile đính kèm (PDF, CDA, hình ảnh DICOM, v.v.)SΣ1..1AttachmentFile đính kèm (PDF, CDA, hình ảnh DICOM, v.v.)
                                                                                                  ..... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                    ..... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                                                    Slice: Unordered, Open by value:url
                                                                                                    0..*ExtensionAdditional content defined by implementations
                                                                                                    Slice: Unordered, Open by value:url
                                                                                                      ..... contentType SΣ1..1codeMIME type (application/pdf, text/xml, image/dicom...)
                                                                                                      Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.
                                                                                                      Example General: text/plain; charset=UTF-8, image/png
                                                                                                      SΣ1..1codeMIME type (application/pdf, text/xml, image/dicom...)
                                                                                                      Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.
                                                                                                      Example General: text/plain; charset=UTF-8, image/png
                                                                                                        ..... language Σ0..1codeHuman language of the content (BCP-47)
                                                                                                        Binding: ?? (preferred): A human language.
                                                                                                        Additional BindingsPurpose
                                                                                                        ??Max Binding

                                                                                                        Example General: en-AU
                                                                                                        Σ0..1codeHuman language of the content (BCP-47)
                                                                                                        Binding: ?? (preferred): A human language.
                                                                                                        Additional BindingsPurpose
                                                                                                        ??Max Binding

                                                                                                        Example General: en-AU
                                                                                                          ..... data 0..1base64BinaryData inline, base64ed0..1base64BinaryData inline, base64ed
                                                                                                            ..... url Σ0..1urlUri where the data can be found
                                                                                                            Example General: http://www.acme.com/logo-small.png
                                                                                                            Σ0..1urlUri where the data can be found
                                                                                                            Example General: http://www.acme.com/logo-small.png
                                                                                                              ..... size Σ0..1unsignedIntNumber of bytes of content (if url provided)Σ0..1unsignedIntNumber of bytes of content (if url provided)
                                                                                                                ..... hash Σ0..1base64BinaryHash of the data (sha-1, base64ed)Σ0..1base64BinaryHash of the data (sha-1, base64ed)
                                                                                                                  ..... title Σ0..1stringLabel to display in place of the data
                                                                                                                  Example General: Official Corporate Logo
                                                                                                                  Σ0..1stringLabel to display in place of the data
                                                                                                                  Example General: Official Corporate Logo
                                                                                                                    ..... creation Σ0..1dateTimeDate attachment was first createdΣ0..1dateTimeDate attachment was first created
                                                                                                                      .... format Σ0..1CodingFormat/content rules for the document
                                                                                                                      Binding: ?? (preferred): Document Format Codes.
                                                                                                                      Σ0..1CodingFormat/content rules for the document
                                                                                                                      Binding: ?? (preferred): Document Format Codes.
                                                                                                                        ... context SΣ0..1BackboneElementNgữ cảnh lâm sàngSΣ0..1BackboneElementNgữ cảnh lâm sàng
                                                                                                                          .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                            .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                            0..*ExtensionAdditional content defined by implementations
                                                                                                                              .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                              ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                .... encounter S0..*Reference(Lượt khám/nhập viện VN Core — VN Core Encounter Profile)Lượt khám liên quan
                                                                                                                                S0..*Reference(Lượt khám/nhập viện VN Core — VN Core Encounter Profile)Lượt khám liên quan
                                                                                                                                  .... event 0..*CodeableConceptMain clinical acts documented
                                                                                                                                  Binding: ?? (example): This list of codes represents the main clinical acts being documented.
                                                                                                                                  0..*CodeableConceptMain clinical acts documented
                                                                                                                                  Binding: ?? (example): This list of codes represents the main clinical acts being documented.
                                                                                                                                    .... period Σ0..1PeriodThời gian hiệu lực tài liệuΣ0..1PeriodThời gian hiệu lực tài liệu
                                                                                                                                      .... facilityType 0..1CodeableConceptKind of facility where patient was seen
                                                                                                                                      Binding: ?? (example): XDS Facility Type.
                                                                                                                                      0..1CodeableConceptKind of facility where patient was seen
                                                                                                                                      Binding: ?? (example): XDS Facility Type.
                                                                                                                                        .... practiceSetting 0..1CodeableConceptAdditional details about where the content was created (e.g. clinical specialty)
                                                                                                                                        Binding: ?? (example): Additional details about where the content was created (e.g. clinical specialty).
                                                                                                                                        0..1CodeableConceptAdditional details about where the content was created (e.g. clinical specialty)
                                                                                                                                        Binding: ?? (example): Additional details about where the content was created (e.g. clinical specialty).
                                                                                                                                          .... sourcePatientInfo 0..1Reference(Patient)Patient demographics from source0..1Reference(Patient)Patient demographics from source
                                                                                                                                            .... related 0..*Reference(Resource)Related identifiers or resources
                                                                                                                                            0..*Reference(Resource)Related identifiers or resources

                                                                                                                                              doco Documentation for this format