Profile Comparison between http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-medication-statement vs http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-medication-statement

Left:Tiền sử dùng thuốc VN Core — VN Core MedicationStatement Profile (http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-medication-statement)
Right:Tiền sử dùng thuốc VN Core — VN Core MedicationStatement Profile (http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-medication-statement)

Messages

ErrorStructureDefinition.versionValues for version differ: '0.8.0' vs '0.9.0'
ErrorMedicationStatement.subjectType Mismatch: Reference([CanonicalType[http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient]]) vs Reference([CanonicalType[http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient]])
ErrorMedicationStatement.contextType Mismatch: Reference([CanonicalType[http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-encounter]]) vs Reference([CanonicalType[http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-encounter]])

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/MedicationStatement
      .copyrightCăn cứ pháp lý Việt Nam: TT 13/2025/TT-BYT ngày 06/06/2025; Luật Dược 105/2016/QH13 Điều 74; Luật 44/2024/QH15.
        .date2026-06-03
          .descriptionProfile MedicationStatement ghi nhận **tiền sử/đang dùng thuốc** của người bệnh (khai thác bệnh sử khi tiếp nhận ngoại trú/nội trú). Khác MedicationRequest (y lệnh mới) và MedicationDispense (cấp phát) — đây là ghi nhận thuốc người bệnh khai/đang dùng. Căn cứ pháp lý: - **TT 13/2025/TT-BYT** — bệnh án điện tử (tiền sử dùng thuốc) - **Luật Dược 105/2016/QH13 + Luật 44/2024/QH15** — quản lý thông tin thuốc. / VN Core MedicationStatement for recording patient-reported/current medication history.
            .experimental
              .fhirVersion4.0.1
                .jurisdiction
                  ..jurisdiction[0]urn:iso:std:iso:3166#VN
                    .kindresource
                      .nameVNCoreMedicationStatement
                        .publisherOmi HealthTech / VN Core FHIR Community Initiative
                          .purposeLớp interoperability cho care-management (TT 13/2025/TT-BYT): ràng buộc hiện ở mức Must Support trên element nền, chưa siết invariant đặc thù VN — sẽ gia cố sau khi có bằng chứng triển khai thực địa (tránh over-constrain cản adoption).
                            .statusdraft
                              .titleTiền sử dùng thuốc VN Core — VN Core MedicationStatement Profile
                                .typeMedicationStatement
                                  .urlhttp://fhir.hl7.org.vn/core/StructureDefinition/vn-core-medication-statement
                                    .version0.8.00.9.0
                                    • Values Differ

                                    Structure

                                    NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                    .. MedicationStatement 0..*MedicationStatementRecord of medication being taken by a patient
                                    0..*MedicationStatementRecord of medication being taken by a patient
                                      ... 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
                                                    ... identifier Σ0..*IdentifierExternal identifier
                                                    Σ0..*IdentifierExternal identifier
                                                      ... basedOn Σ0..*Reference(MedicationRequest | CarePlan | ServiceRequest)Fulfils plan, proposal or order
                                                      Σ0..*Reference(MedicationRequest | CarePlan | ServiceRequest)Fulfils plan, proposal or order
                                                        ... partOf Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation)Part of referenced event
                                                        Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation)Part of referenced event
                                                          ... status ?!SΣ1..1codeTrạng thái: active, completed, intended, stopped, on-hold...
                                                          Binding: ?? (required): A coded concept indicating the current status of a MedicationStatement.
                                                          ?!SΣ1..1codeTrạng thái: active, completed, intended, stopped, on-hold...
                                                          Binding: ?? (required): A coded concept indicating the current status of a MedicationStatement.
                                                            ... statusReason 0..*CodeableConceptReason for current status
                                                            Binding: ?? (example): A coded concept indicating the reason for the status of the statement.
                                                            0..*CodeableConceptReason for current status
                                                            Binding: ?? (example): A coded concept indicating the reason for the status of the statement.
                                                              ... category Σ0..1CodeableConceptType of medication usage
                                                              Binding: ?? (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
                                                              Σ0..1CodeableConceptType of medication usage
                                                              Binding: ?? (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
                                                                ... medication[x] SΣ1..1CodeableConceptThuốc người bệnh đang/đã dùng (ATC / mã thuốc / text)
                                                                Binding: ?? (example): A coded concept identifying the substance or product being taken.
                                                                SΣ1..1CodeableConceptThuốc người bệnh đang/đã dùng (ATC / mã thuốc / text)
                                                                Binding: ?? (example): A coded concept identifying the substance or product being taken.
                                                                  ... subject SΣ1..1Reference(http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient)Người bệnhSΣ1..1Reference(Bệnh nhân VN Core — VN Core Patient Profile)Người bệnh
                                                                  • Type Mismatch: Reference([CanonicalType[http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient]]) vs Reference([CanonicalType[http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient]])
                                                                  ... context SΣ0..1Reference(http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-encounter)Lượt khai thác tiền sửSΣ0..1Reference(Lượt khám/nhập viện VN Core — VN Core Encounter Profile)Lượt khai thác tiền sử
                                                                  • Type Mismatch: Reference([CanonicalType[http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-encounter]]) vs Reference([CanonicalType[http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-encounter]])
                                                                  ... effective[x] SΣ0..1dateTime, PeriodThời điểm/khoảng thời gian dùng thuốcSΣ0..1dateTime, PeriodThời điểm/khoảng thời gian dùng thuốc
                                                                    ... dateAsserted Σ0..1dateTimeWhen the statement was asserted?Σ0..1dateTimeWhen the statement was asserted?
                                                                      ... informationSource 0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)Person or organization that provided the information about the taking of this medication0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)Person or organization that provided the information about the taking of this medication
                                                                        ... derivedFrom 0..*Reference(Resource)Additional supporting information
                                                                        0..*Reference(Resource)Additional supporting information
                                                                          ... reasonCode 0..*CodeableConceptReason for why the medication is being/was taken
                                                                          Binding: ?? (example): A coded concept identifying why the medication is being taken.
                                                                          0..*CodeableConceptReason for why the medication is being/was taken
                                                                          Binding: ?? (example): A coded concept identifying why the medication is being taken.
                                                                            ... reasonReference 0..*Reference(Condition | Observation | DiagnosticReport)Condition or observation that supports why the medication is being/was taken
                                                                            0..*Reference(Condition | Observation | DiagnosticReport)Condition or observation that supports why the medication is being/was taken
                                                                              ... note 0..*AnnotationFurther information about the statement
                                                                              0..*AnnotationFurther information about the statement
                                                                                ... dosage S0..*DosageCách dùng theo lời khai
                                                                                S0..*DosageCách dùng theo lời khai

                                                                                  doco Documentation for this format