Profile Comparison between http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-audit-event vs http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-audit-event

Left:Nhật ký truy cập dữ liệu VN Core — VN Core AuditEvent Profile (http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-audit-event)
Right:Nhật ký truy cập dữ liệu VN Core — VN Core AuditEvent Profile (http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-audit-event)

Messages

ErrorStructureDefinition.versionValues for version differ: '0.8.0' vs '0.9.0'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/AuditEvent
      .copyright
        .date2026-07-16
          .descriptionProfile AuditEvent cho Việt Nam. Dùng để ghi nhận truy cập, chỉnh sửa, chia sẻ, và xuất dữ liệu y tế/định danh nhạy cảm. Căn cứ: - **Luật 91/2025/QH15** — 26/6/2025 — bảo vệ dữ liệu cá nhân, dữ liệu y tế là dữ liệu nhạy cảm; thông báo vi phạm cho cơ quan chuyên trách chậm nhất 72 giờ kể từ khi phát hiện, KHI vi phạm có thể gây tổn hại (Điều 23 khoản 1); cơ chế giám sát xử lý không cần đồng ý (Điều 19 khoản 2) - **NĐ 356/2025/NĐ-CP** — 31/12/2025 — hướng dẫn BVDLCN; nội dung thông báo vi phạm (Điều 28, Mẫu số 08); riêng dữ liệu vị trí/sinh trắc học: thông báo cho CHỦ THỂ trong 72 giờ và lưu hồ sơ vi phạm tối thiểu 5 năm (Điều 29 khoản 1) - **Luật 116/2025/QH15** (ban hành 10/12/2025, hiệu lực 01/07/2026 — đang áp dụng, thay Luật 24/2018/QH14) — Luật An ninh mạng mới; yêu cầu baseline an ninh mạng và lưu vết/log - **NĐ 102/2025/NĐ-CP** — 13/5/2025 — bảo vệ, quản trị, xử lý dữ liệu y tế số - **Luật KCB 2023** — hồ sơ bệnh án và trách nhiệm cơ sở KCB.
            .experimental
              .fhirVersion4.0.1
                .jurisdiction
                  ..jurisdiction[0]urn:iso:std:iso:3166#VN
                    .kindresource
                      .nameVNCoreAuditEvent
                        .publisherOmi HealthTech / VN Core FHIR Community Initiative
                          .purpose
                            .statusdraft
                              .titleNhật ký truy cập dữ liệu VN Core — VN Core AuditEvent Profile
                                .typeAuditEvent
                                  .urlhttp://fhir.hl7.org.vn/core/StructureDefinition/vn-core-audit-event
                                    .version0.8.00.9.0
                                    • Values Differ

                                    Structure

                                    NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                    .. AuditEvent 0..*AuditEventEvent record kept for security purposes
                                    0..*AuditEventEvent record kept for security purposes
                                      ... 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
                                                ... Slices for extension 0..*ExtensionExtension
                                                Slice: Unordered, Open by value:url
                                                0..*ExtensionExtension
                                                Slice: Unordered, Open by value:url
                                                  ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                                  ?!0..*ExtensionExtensions that cannot be ignored
                                                    ... type SΣ1..1CodingLoại sự kiện audit
                                                    Binding: ?? (extensible): Type of event.
                                                    SΣ1..1CodingLoại sự kiện audit
                                                    Binding: ?? (extensible): Type of event.
                                                      ... subtype SΣ0..*CodingPhân loại sự kiện audit
                                                      Binding: ?? (extensible): Sub-type of event.
                                                      SΣ0..*CodingPhân loại sự kiện audit
                                                      Binding: ?? (extensible): Sub-type of event.
                                                        ... action SΣ0..1codeHành động thực hiện (C/R/U/D/E)
                                                        Binding: ?? (required): Indicator for type of action performed during the event that generated the event.
                                                        SΣ0..1codeHành động thực hiện (C/R/U/D/E)
                                                        Binding: ?? (required): Indicator for type of action performed during the event that generated the event.
                                                          ... period 0..1PeriodWhen the activity occurred0..1PeriodWhen the activity occurred
                                                            ... recorded SΣ1..1instantThời điểm ghi nhận auditSΣ1..1instantThời điểm ghi nhận audit
                                                              ... outcome SΣ0..1codeKết quả thực hiện
                                                              Binding: ?? (required): Indicates whether the event succeeded or failed.
                                                              SΣ0..1codeKết quả thực hiện
                                                              Binding: ?? (required): Indicates whether the event succeeded or failed.
                                                                ... outcomeDesc Σ0..1stringDescription of the event outcomeΣ0..1stringDescription of the event outcome
                                                                  ... purposeOfEvent SΣ0..*CodeableConceptMục đích xử lý dữ liệu
                                                                  Binding: ?? (extensible)
                                                                  SΣ0..*CodeableConceptMục đích xử lý dữ liệu
                                                                  Binding: ?? (extensible)
                                                                    ... agent S1..*BackboneElementNgười/hệ thống thực hiện hành động
                                                                    S1..*BackboneElementNgười/hệ thống thực hiện hành độ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
                                                                            .... type 0..1CodeableConceptHow agent participated
                                                                            Binding: ?? (extensible): The Participation type of the agent to the event.
                                                                            0..1CodeableConceptHow agent participated
                                                                            Binding: ?? (extensible): The Participation type of the agent to the event.
                                                                              .... role 0..*CodeableConceptAgent role in the event
                                                                              Binding: ?? (example): What security role enabled the agent to participate in the event.
                                                                              0..*CodeableConceptAgent role in the event
                                                                              Binding: ?? (example): What security role enabled the agent to participate in the event.
                                                                                .... who SΣ0..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Tác nhân thực hiệnSΣ0..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Tác nhân thực hiện
                                                                                  .... altId 0..1stringAlternative User identity0..1stringAlternative User identity
                                                                                    .... name 0..1stringHuman friendly name for the agent0..1stringHuman friendly name for the agent
                                                                                      .... requestor SΣ1..1booleanCó phải tác nhân khởi tạo yêu cầu hay khôngSΣ1..1booleanCó phải tác nhân khởi tạo yêu cầu hay không
                                                                                        .... location 0..1Reference(Location)Where0..1Reference(Location)Where
                                                                                          .... policy 0..*uriPolicy that authorized event
                                                                                          0..*uriPolicy that authorized event
                                                                                            .... media 0..1CodingType of media
                                                                                            Binding: ?? (extensible): Used when the event is about exporting/importing onto media.
                                                                                            0..1CodingType of media
                                                                                            Binding: ?? (extensible): Used when the event is about exporting/importing onto media.
                                                                                              .... network 0..1BackboneElementThông tin mạng truy cập0..1BackboneElementThông tin mạng truy cập
                                                                                                ..... 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
                                                                                                      ..... address 0..1stringIdentifier for the network access point of the user device0..1stringIdentifier for the network access point of the user device
                                                                                                        ..... type 0..1codeThe type of network access point
                                                                                                        Binding: ?? (required): The type of network access point of this agent in the audit event.
                                                                                                        0..1codeThe type of network access point
                                                                                                        Binding: ?? (required): The type of network access point of this agent in the audit event.
                                                                                                          .... purposeOfUse 0..*CodeableConceptReason given for this user
                                                                                                          Binding: ?? (extensible): The reason the activity took place.
                                                                                                          0..*CodeableConceptReason given for this user
                                                                                                          Binding: ?? (extensible): The reason the activity took place.
                                                                                                            ... source S1..1BackboneElementNguồn phát sinh auditS1..1BackboneElementNguồn phát sinh audit
                                                                                                              .... 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
                                                                                                                    .... site 0..1stringLogical source location within the enterprise0..1stringLogical source location within the enterprise
                                                                                                                      .... observer SΣ1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Hệ thống/đơn vị ghi logSΣ1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Hệ thống/đơn vị ghi log
                                                                                                                        .... type 0..*CodingThe type of source where event originated
                                                                                                                        Binding: ?? (extensible): Code specifying the type of system that detected and recorded the event.
                                                                                                                        0..*CodingThe type of source where event originated
                                                                                                                        Binding: ?? (extensible): Code specifying the type of system that detected and recorded the event.
                                                                                                                          ... entity SC0..*BackboneElementĐối tượng dữ liệu bị tác động
                                                                                                                          SC0..*BackboneElementĐối tượng dữ liệu bị tác độ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
                                                                                                                                  .... what SΣ0..1Reference(Resource)Resource hoặc đối tượng dữ liệu liên quanSΣ0..1Reference(Resource)Resource hoặc đối tượng dữ liệu liên quan
                                                                                                                                    .... type 0..1CodingType of entity involved
                                                                                                                                    Binding: ?? (extensible): Code for the entity type involved in the audit event.
                                                                                                                                    0..1CodingType of entity involved
                                                                                                                                    Binding: ?? (extensible): Code for the entity type involved in the audit event.
                                                                                                                                      .... role 0..1CodingWhat role the entity played
                                                                                                                                      Binding: ?? (extensible): Code representing the role the entity played in the audit event.
                                                                                                                                      0..1CodingWhat role the entity played
                                                                                                                                      Binding: ?? (extensible): Code representing the role the entity played in the audit event.
                                                                                                                                        .... lifecycle 0..1CodingLife-cycle stage for the entity
                                                                                                                                        Binding: ?? (extensible): Identifier for the data life-cycle stage for the entity.
                                                                                                                                        0..1CodingLife-cycle stage for the entity
                                                                                                                                        Binding: ?? (extensible): Identifier for the data life-cycle stage for the entity.
                                                                                                                                          .... securityLabel 0..*CodingSecurity labels on the entity
                                                                                                                                          Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
                                                                                                                                          0..*CodingSecurity labels on the entity
                                                                                                                                          Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
                                                                                                                                            .... name ΣC0..1stringTên đối tượng dữ liệuΣC0..1stringTên đối tượng dữ liệu
                                                                                                                                              .... description 0..1stringDescriptive text0..1stringDescriptive text
                                                                                                                                                .... query ΣC0..1base64BinaryQuery parametersΣC0..1base64BinaryQuery parameters
                                                                                                                                                  .... detail 0..*BackboneElementAdditional Information about the entity
                                                                                                                                                  0..*BackboneElementAdditional Information about the entity
                                                                                                                                                    ..... 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
                                                                                                                                                          ..... type 1..1stringName of the property1..1stringName of the property
                                                                                                                                                            ..... value[x] 1..1string, base64BinaryProperty value1..1string, base64BinaryProperty value

                                                                                                                                                              doco Documentation for this format