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

Left:Phiếu khám sức khỏe VN Core — VN Core Questionnaire (KSK form) Profile (http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-questionnaire)
Right:Phiếu khám sức khỏe VN Core — VN Core Questionnaire (KSK form) Profile (http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-questionnaire)

Messages

ErrorStructureDefinition.versionValues for version differ: '0.8.0' vs '0.9.0'
ErrorQuestionnaire.item.answerValueSetType Mismatch: canonical([CanonicalType[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset]]) vs canonical([CanonicalType[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset]])

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire
      .copyrightCăn cứ pháp lý Việt Nam: QĐ 2062/QĐ-BYT (07/7/2026) Phụ lục 01 (thay QĐ 1551/QĐ-BYT); TT 25/2026/TT-BYT; QĐ 1332/QĐ-BYT; QĐ 3176/QĐ-BYT.
        .date2026-07-16
          .descriptionProfile Questionnaire biểu diễn **các mẫu phiếu khám sức khỏe định kỳ/sàng lọc** theo QĐ 2062/QĐ-BYT Phụ lục 01 — **3 mẫu theo nhóm tuổi** (<6 / 6–18 / ≥18, thay 17 mẫu QĐ 1551/QĐ-BYT), kèm mẫu khám sức khỏe tâm thần theo TT 25/2026/TT-BYT Mẫu 04. Mỗi `item.linkId` ánh xạ tới một trường dữ liệu của Phụ lục 01 (vd HO_TEN, CHIEU_CAO, PHAN_LOAI_SK); các trường có mã trả lời (vd giới tính, đối tượng khám) dùng `answerValueSet`. Kết quả thu thập biểu diễn bằng QuestionnaireResponse, sau đó tổng hợp vào VNCoreCompositionHealthCheckup để liên thông. Dẫn xuất từ HL7 SDC `sdc-questionnaire` (Structured Data Capture, hl7.fhir.uv.sdc#4.0.0); các trường có mã trả lời dùng `answerValueSet` trỏ tới ValueSet KSK chính thức, trường bắt buộc đánh dấu `required`. 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 Phụ lục 01 QĐ 1551/QĐ-BYT (31/5/2026); đọc hợp nhất. - **TT 25/2026/TT-BYT** — mẫu khám sức khỏe tâm thần (Mẫu 04). - **QĐ 1332/QĐ-BYT (2024)** — Sổ sức khỏe điện tử VNeID. - **QĐ 3176/QĐ-BYT (2024)** — kiểu/định dạng các trường dữ liệu dùng chung. / VN Core Questionnaire for the periodic/screening health-checkup forms (SDC).
            .experimental
              .fhirVersion4.0.1
                .jurisdiction
                  ..jurisdiction[0]urn:iso:std:iso:3166#VN
                    .kindresource
                      .nameVNCoreQuestionnaire
                        .publisherOmi HealthTech / VN Core FHIR Community Initiative
                          .purpose
                            .statusdraft
                              .titlePhiếu khám sức khỏe VN Core — VN Core Questionnaire (KSK form) Profile
                                .typeQuestionnaire
                                  .urlhttp://fhir.hl7.org.vn/core/StructureDefinition/vn-core-questionnaire
                                    .version0.8.00.9.0
                                    • Values Differ

                                    Structure

                                    NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                    .. Questionnaire C0..*A structured set of questions
                                    C0..*SDCBaseQuestionnaireA structured set of questions
                                      ... 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
                                            ... language 0..1codeLanguage of the resource content
                                            Binding: ?? (preferred): A human language.
                                            Additional BindingsPurpose
                                            ??Max Binding
                                            0..1codeLanguage of the resource content
                                            Binding: ?? (preferred): A human language.
                                            Additional BindingsPurpose
                                            ??Max Binding
                                              ... 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
                                                      ... url SΣC1..1uriCanonical URL của mẫu phiếu KSKSΣC1..1uriCanonical URL của mẫu phiếu KSK
                                                        ... identifier Σ0..*IdentifierAdditional identifier for the questionnaire
                                                        Σ0..*IdentifierAdditional identifier for the questionnaire
                                                          ... version SΣ0..1stringPhiên bản mẫu phiếuSΣ0..1stringPhiên bản mẫu phiếu
                                                            ... name SΣC0..1stringName for this questionnaire (computer friendly)SΣC0..1stringName for this questionnaire (computer friendly)
                                                              ... title SΣ1..1stringTên mẫu phiếu (vd Giấy KSK định kỳ cho người ≥18 tuổi)SΣ1..1stringTên mẫu phiếu (vd Giấy KSK định kỳ cho người ≥18 tuổi)
                                                                ... derivedFrom 0..*canonical(Questionnaire)Instantiates protocol or definition
                                                                0..*canonical(Questionnaire)Instantiates protocol or definition
                                                                  ... status ?!SΣ1..1codedraft | active | retired | unknown
                                                                  Binding: ?? (required): The lifecycle status of an artifact.
                                                                  ?!SΣ1..1codedraft | active | retired | unknown
                                                                  Binding: ?? (required): The lifecycle status of an artifact.
                                                                    ... experimental Σ0..1booleanFor testing purposes, not real usageΣ0..1booleanFor testing purposes, not real usage
                                                                      ... subjectType SΣ1..*codeLoại đối tượng áp dụng (thường Patient)
                                                                      Binding: ?? (required): One of the resource types defined as part of this version of FHIR.
                                                                      SΣ1..*codeLoại đối tượng áp dụng (thường Patient)
                                                                      Binding: ?? (required): One of the resource types defined as part of this version of FHIR.
                                                                        .... 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 code0..1stringPrimitive value for code
                                                                              ... date Σ0..1dateTimeDate last changedΣ0..1dateTimeDate last changed
                                                                                ... publisher Σ0..1stringName of the publisher (organization or individual)Σ0..1stringName of the publisher (organization or individual)
                                                                                  ... contact Σ0..*ContactDetailContact details for the publisher
                                                                                  Σ0..*ContactDetailContact details for the publisher
                                                                                    ... description 0..1markdownNatural language description of the questionnaire0..1markdownNatural language description of the questionnaire
                                                                                      ... useContext Σ0..*UsageContextThe context that the content is intended to support
                                                                                      Σ0..*UsageContextThe context that the content is intended to support
                                                                                        ... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for questionnaire (if applicable)
                                                                                        Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use.
                                                                                        Σ0..*CodeableConceptIntended jurisdiction for questionnaire (if applicable)
                                                                                        Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use.
                                                                                          ... purpose 0..1markdownWhy this questionnaire is defined0..1markdownWhy this questionnaire is defined
                                                                                            ... copyright 0..1markdownUse and/or publishing restrictions0..1markdownUse and/or publishing restrictions
                                                                                              ... approvalDate 0..1dateWhen the questionnaire was approved by publisher0..1dateWhen the questionnaire was approved by publisher
                                                                                                ... lastReviewDate 0..1dateWhen the questionnaire was last reviewed0..1dateWhen the questionnaire was last reviewed
                                                                                                  ... effectivePeriod Σ0..1PeriodWhen the questionnaire is expected to be usedΣ0..1PeriodWhen the questionnaire is expected to be used
                                                                                                    ... code SΣ0..*CodingMã loại mẫu phiếu KSK (gợi ý VNHealthCheckupFormTypeCS)
                                                                                                    Binding: ?? (example): Codes for questionnaires, groups and individual questions.
                                                                                                    SΣ0..*CodingMã loại mẫu phiếu KSK (gợi ý VNHealthCheckupFormTypeCS)
                                                                                                    Binding: ?? (example): Codes for questionnaires, groups and individual questions.
                                                                                                      ... item SC1..*BackboneElementCác trường/nhóm trường của Phụ lục 01
                                                                                                      SC1..*BackboneElementCác trường/nhóm trường của Phụ lục 01
                                                                                                        .... 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 SC1..1stringMã trường Phụ lục 01 (vd HO_TEN, CHIEU_CAO, PHAN_LOAI_SK) hoặc mã nhóm (vd I, III.A)SC1..1stringMã trường Phụ lục 01 (vd HO_TEN, CHIEU_CAO, PHAN_LOAI_SK) hoặc mã nhóm (vd I, III.A)
                                                                                                                .... definition 0..1uriElementDefinition - details for the item0..1uriElementDefinition - details for the item
                                                                                                                  .... code C0..*CodingCorresponding concept for this item in a terminology
                                                                                                                  Binding: ?? (example): Codes for questionnaires, groups and individual questions.
                                                                                                                  C0..*CodingCorresponding concept for this item in a terminology
                                                                                                                  Binding: ?? (example): Codes for questionnaires, groups and individual questions.
                                                                                                                    .... prefix S0..1stringE.g. "1(a)", "2.5.3"S0..1stringE.g. "1(a)", "2.5.3"
                                                                                                                      .... text S1..1stringNhãn trường (tiếng Việt)S1..1stringNhãn trường (tiếng Việt)
                                                                                                                        .... type S1..1codegroup | string | integer | decimal | date | choice | boolean
                                                                                                                        Binding: ?? (required): Distinguishes groups from questions and display text and indicates data type for questions.
                                                                                                                        S1..1codegroup | string | integer | decimal | date | choice | boolean
                                                                                                                        Binding: ?? (required): Distinguishes groups from questions and display text and indicates data type for questions.
                                                                                                                          .... enableWhen ?!C0..*BackboneElementOnly allow data when
                                                                                                                          ?!C0..*BackboneElementOnly allow data when
                                                                                                                            ..... 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
                                                                                                                                  ..... question 1..1stringQuestion that determines whether item is enabled1..1stringQuestion that determines whether item is enabled
                                                                                                                                    ..... operator 1..1codeexists | = | != | > | < | >= | <=
                                                                                                                                    Binding: ?? (required): The criteria by which a question is enabled.
                                                                                                                                    1..1codeexists | = | != | > | < | >= | <=
                                                                                                                                    Binding: ?? (required): The criteria by which a question is enabled.
                                                                                                                                      ..... answer[x] C1..1boolean, decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference(Resource)Value for question comparison based on operator
                                                                                                                                      Binding: ?? (example): Allowed values to answer questions.
                                                                                                                                      C1..1boolean, decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference(Resource)Value for question comparison based on operator
                                                                                                                                      Binding: ?? (example): Allowed values to answer questions.
                                                                                                                                        .... enableBehavior C0..1codeall | any
                                                                                                                                        Binding: ?? (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true.
                                                                                                                                        C0..1codeall | any
                                                                                                                                        Binding: ?? (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true.
                                                                                                                                          .... required SC0..1booleanWhether the item must be included in data resultsSC0..1booleanWhether the item must be included in data results
                                                                                                                                            .... repeats SC0..1booleanWhether the item may repeatSC0..1booleanWhether the item may repeat
                                                                                                                                              .... readOnly SC0..1booleanDon't allow human editingSC0..1booleanDon't allow human editing
                                                                                                                                                .... maxLength C0..1integerNo more than this many charactersC0..1integerNo more than this many characters
                                                                                                                                                  .... answerValueSet SC0..1canonical(http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset)Valueset containing permitted answersSC0..1canonical(SDC Value Set)Valueset containing permitted answers
                                                                                                                                                  • Type Mismatch: canonical([CanonicalType[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset]]) vs canonical([CanonicalType[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset]])
                                                                                                                                                  .... answerOption SC0..*BackboneElementPermitted answer
                                                                                                                                                  SC0..*BackboneElementPermitted answer
                                                                                                                                                    ..... 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
                                                                                                                                                          ..... Slices for value[x] S1..1integer, date, time, string, Coding, Reference(Resource)Answer value
                                                                                                                                                          Slice: Unordered, Open by type:$this
                                                                                                                                                          Binding: ?? (example): Allowed values to answer questions.
                                                                                                                                                          S1..1integer, date, time, string, Coding, Reference(Resource)Answer value
                                                                                                                                                          Slice: Unordered, Open by type:$this
                                                                                                                                                          Binding: ?? (example): Allowed values to answer questions.
                                                                                                                                                            ..... initialSelected 0..1booleanWhether option is selected by default0..1booleanWhether option is selected by default
                                                                                                                                                              .... initial SC0..*BackboneElementInitial value(s) when item is first rendered
                                                                                                                                                              SC0..*BackboneElementInitial value(s) when item is first rendered
                                                                                                                                                                ..... 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
                                                                                                                                                                      ..... value[x] S1..1boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource)Actual value for initializing the question
                                                                                                                                                                      Binding: ?? (example): Allowed values to answer questions.
                                                                                                                                                                      S1..1boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource)Actual value for initializing the question
                                                                                                                                                                      Binding: ?? (example): Allowed values to answer questions.
                                                                                                                                                                        .... item SC0..*See item (Questionnaire)Nested questionnaire items
                                                                                                                                                                        SC0..*See item (Questionnaire)Nested questionnaire items

                                                                                                                                                                          doco Documentation for this format