Profile Comparison between http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-questionnaire-response vs http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-questionnaire-response

Left:Kết quả phiếu khám sức khỏe VN Core — VN Core QuestionnaireResponse Profile (http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-questionnaire-response)
Right:Kết quả phiếu khám sức khỏe VN Core — VN Core QuestionnaireResponse Profile (http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-questionnaire-response)

Messages

ErrorStructureDefinition.versionValues for version differ: '0.8.0' vs '0.9.0'
ErrorQuestionnaireResponse.questionnaireType Mismatch: canonical([CanonicalType[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire]]) vs canonical([CanonicalType[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire]])
ErrorQuestionnaireResponse.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]])

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse
      .copyrightCăn cứ pháp lý Việt Nam: QĐ 2062/QĐ-BYT (07/7/2026, thay QĐ 1551/QĐ-BYT); TT 13/2025/TT-BYT.
        .date2026-07-16
          .descriptionProfile QuestionnaireResponse ghi nhận **dữ liệu đã điền** của một mẫu phiếu khám sức khỏe (VNCoreQuestionnaire / QĐ 2062/QĐ-BYT Phụ lục 01 — 3 mẫu theo nhóm tuổi, thay 17 mẫu QĐ 1551/QĐ-BYT). Mỗi `item.linkId` khớp mã trường của mẫu phiếu; giá trị thu thập được sau đó tổng hợp/ánh xạ vào VNCoreCompositionHealthCheckup, Observation (sinh hiệu, phân loại sức khỏe) và liên thông lên Cơ sở dữ liệu sức khỏe cá nhân. Dẫn xuất từ HL7 SDC `sdc-questionnaireresponse` (hl7.fhir.uv.sdc#4.0.0). Căn cứ pháp lý: - **QĐ 2062/QĐ-BYT (07/7/2026)** — đặc tả dữ liệu mẫu phiếu KSK (Phụ lục 01, thay QĐ 1551/QĐ-BYT). - **TT 13/2025/TT-BYT** — bệnh án điện tử. / VN Core QuestionnaireResponse for a completed health-checkup form (SDC).
            .experimental
              .fhirVersion4.0.1
                .jurisdiction
                  ..jurisdiction[0]urn:iso:std:iso:3166#VN
                    .kindresource
                      .nameVNCoreQuestionnaireResponse
                        .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
                              .titleKết quả phiếu khám sức khỏe VN Core — VN Core QuestionnaireResponse Profile
                                .typeQuestionnaireResponse
                                  .urlhttp://fhir.hl7.org.vn/core/StructureDefinition/vn-core-questionnaire-response
                                    .version0.8.00.9.0
                                    • Values Differ

                                    Structure

                                    NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                    .. QuestionnaireResponse C0..*Standard Questionnaire Response
                                    C0..*SDCQuestionnaireResponseStandard Questionnaire Response
                                      ... 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
                                                    ... identifier SΣ0..1IdentifierUnique id for this set of answersSΣ0..1IdentifierUnique id for this set of answers
                                                      ... basedOn Σ0..*Reference(CarePlan | ServiceRequest)Request fulfilled by this QuestionnaireResponse
                                                      Σ0..*Reference(CarePlan | ServiceRequest)Request fulfilled by this QuestionnaireResponse
                                                        ... partOf Σ0..*Reference(Observation | Procedure)Part of this action
                                                        Σ0..*Reference(Observation | Procedure)Part of this action
                                                          ... questionnaire SΣ1..1canonical(http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire)Canonical URL của mẫu phiếu KSK đã điềnSΣ1..1canonical(SDC Base Questionnaire)Canonical URL của mẫu phiếu KSK đã điền
                                                          • Type Mismatch: canonical([CanonicalType[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire]]) vs canonical([CanonicalType[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire]])
                                                          .... id 0..1stringxml:id (or equivalent in JSON)0..1stringxml:id (or equivalent in JSON)
                                                            .... Slices for extension 0..*ExtensionExtension
                                                            Slice: Unordered, Open by value:url
                                                            0..*ExtensionExtension
                                                            Slice: Unordered, Open by value:url
                                                              .... value 0..1stringPrimitive value for canonical0..1stringPrimitive value for canonical
                                                                ... status ?!SΣ1..1codein-progress | completed | amended | entered-in-error | stopped
                                                                Binding: ?? (required): Lifecycle status of the questionnaire response.
                                                                ?!SΣ1..1codein-progress | completed | amended | entered-in-error | stopped
                                                                Binding: ?? (required): Lifecycle status of the questionnaire response.
                                                                  ... subject SΣ1..1Reference(http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient)Người dân được khám sức khỏeSΣ1..1Reference(Bệnh nhân VN Core — VN Core Patient Profile)Người dân được khám sức khỏe
                                                                  • 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]])
                                                                  ... encounter Σ0..1Reference(Encounter)Encounter created as part ofΣ0..1Reference(Encounter)Encounter created as part of
                                                                    ... authored SΣ1..1dateTimeThời điểm hoàn thành phiếuSΣ1..1dateTimeThời điểm hoàn thành phiếu
                                                                      ... author SΣ0..1Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization)Người/đơn vị nhập liệuSΣ0..1Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization)Người/đơn vị nhập liệu
                                                                        ... source Σ0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson)The person who answered the questionsΣ0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson)The person who answered the questions
                                                                          .... 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
                                                                              .... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URLΣC0..1stringLiteral reference, Relative, internal or absolute URL
                                                                                .... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
                                                                                Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                                Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
                                                                                  .... identifier Σ0..1IdentifierLogical reference, when literal reference is not knownΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                                    .... display Σ0..1stringText alternative for the resourceΣ0..1stringText alternative for the resource
                                                                                      ... item SC1..*BackboneElementCác trường đã điền, linkId khớp mẫu phiếu
                                                                                      SC1..*BackboneElementCác trường đã điền, linkId khớp mẫu phiếu
                                                                                        .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                          .... 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 even if unrecognized
                                                                                            ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                              .... linkId S1..1stringPointer to specific item from QuestionnaireS1..1stringPointer to specific item from Questionnaire
                                                                                                .... definition 0..1uriElementDefinition - details for the item0..1uriElementDefinition - details for the item
                                                                                                  .... text S0..1stringName for group or question textS0..1stringName for group or question text
                                                                                                    .... answer S0..*BackboneElementThe response(s) to the question
                                                                                                    S0..*BackboneElementThe response(s) to the question
                                                                                                      ..... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                        ..... 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 even if unrecognized
                                                                                                          ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                            ..... value[x] S0..1boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource)Single-valued answer to the question
                                                                                                            Binding: ?? (example): Code indicating the response provided for a question.
                                                                                                            S0..1boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource)Single-valued answer to the question
                                                                                                            Binding: ?? (example): Code indicating the response provided for a question.
                                                                                                              ..... item S0..*See item (QuestionnaireResponse)Nested groups and questions
                                                                                                              S0..*See item (QuestionnaireResponse)Nested groups and questions
                                                                                                                .... item S0..*See item (QuestionnaireResponse)Nested questionnaire response items
                                                                                                                S0..*See item (QuestionnaireResponse)Nested questionnaire response items

                                                                                                                  doco Documentation for this format