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

Left:Lượt khám/nhập viện VN Core — VN Core Encounter Profile (http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-encounter)
Right:Lượt khám/nhập viện VN Core — VN Core Encounter Profile (http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-encounter)

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/Encounter
      .copyright
        .date2026-03-212026-05-10
        • Values Differ
        .descriptionProfile Encounter cho Việt Nam. Bao gồm extension loại KCB BHYT (trường MALYDO), thông tin chẩn đoán, cơ sở y tế, và kết quả điều trị/tình trạng ra viện. Căn cứ: - **NĐ 102/2025/NĐ-CP** — 13/5/2025 — quản lý dữ liệu y tế số và CSDL quốc gia về y tế - **TT 13/2025/TT-BYT** — 06/6/2025 — bệnh án điện tử - **TT 30/2023/TT-BYT** — 30/12/2023 — khám bệnh, chữa bệnh từ xa khi Encounter.class = VR/virtual - **Luật 51/2024/QH15** — 27/11/2024 — sửa đổi Luật BHYT, hiệu lực 01/7/2025 - **QĐ 130/QĐ-BYT** — 18/01/2023; **QĐ 4750/QĐ-BYT** — 29/12/2023; **QĐ 3176/QĐ-BYT** — 29/10/2024 — chuẩn dữ liệu KCB phục vụ BHXH.
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#VN
                  .kindresource
                    .nameVNCoreEncounter
                      .publisherOmi HealthTech / VN Core FHIR Community Initiative
                        .purpose
                          .statusdraft
                            .titleLượt khám/nhập viện VN Core — VN Core Encounter Profile
                              .typeEncounter
                                .urlhttp://fhir.hl7.org.vn/core/StructureDefinition/vn-core-encounter
                                  .version0.5.00.5.1
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                  .. Encounter 0..*EncounterAn interaction during which services are provided to the patient
                                  0..*EncounterAn interaction during which services are provided to the 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
                                          ... 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
                                                    ... identifier Σ0..*IdentifierIdentifier(s) by which this encounter is known
                                                    Σ0..*IdentifierIdentifier(s) by which this encounter is known
                                                      ... status ?!SΣ1..1codeTrạng thái lượt khám
                                                      Binding: ?? (required): Current state of the encounter.
                                                      ?!SΣ1..1codeTrạng thái lượt khám
                                                      Binding: ?? (required): Current state of the encounter.
                                                        ... statusHistory 0..*BackboneElementList of past encounter statuses
                                                        0..*BackboneElementList of past encounter statuses
                                                          .... 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
                                                                .... status 1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
                                                                Binding: ?? (required): Current state of the encounter.
                                                                1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
                                                                Binding: ?? (required): Current state of the encounter.
                                                                  .... period 1..1PeriodThe time that the episode was in the specified status1..1PeriodThe time that the episode was in the specified status
                                                                    ... class SΣ1..1CodingLoại hình KCB: AMB (ngoại trú), IMP (nội trú), EMER (cấp cứu), VR (khám từ xa)
                                                                    Binding: ?? (extensible): Classification of the encounter.
                                                                    SΣ1..1CodingLoại hình KCB: AMB (ngoại trú), IMP (nội trú), EMER (cấp cứu), VR (khám từ xa)
                                                                    Binding: ?? (extensible): Classification of the encounter.
                                                                      ... classHistory 0..*BackboneElementList of past encounter classes
                                                                      0..*BackboneElementList of past encounter classes
                                                                        .... 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
                                                                              .... class 1..1Codinginpatient | outpatient | ambulatory | emergency +
                                                                              Binding: ?? (extensible): Classification of the encounter.
                                                                              1..1Codinginpatient | outpatient | ambulatory | emergency +
                                                                              Binding: ?? (extensible): Classification of the encounter.
                                                                                .... period 1..1PeriodThe time that the episode was in the specified class1..1PeriodThe time that the episode was in the specified class
                                                                                  ... type SΣ0..*CodeableConceptLoại KCB (MA_LOAI_KCB): 01=khám, 02=ngoại trú, 03=nội trú, 04=nội trú ban ngày...
                                                                                  Binding: ?? (extensible)
                                                                                  SΣ0..*CodeableConceptLoại KCB (MA_LOAI_KCB): 01=khám, 02=ngoại trú, 03=nội trú, 04=nội trú ban ngày...
                                                                                  Binding: ?? (extensible)
                                                                                    ... serviceType Σ0..1CodeableConceptSpecific type of service
                                                                                    Binding: ?? (example): Broad categorization of the service that is to be provided.
                                                                                    Σ0..1CodeableConceptSpecific type of service
                                                                                    Binding: ?? (example): Broad categorization of the service that is to be provided.
                                                                                      ... priority 0..1CodeableConceptIndicates the urgency of the encounter
                                                                                      Binding: ?? (example): Indicates the urgency of the encounter.
                                                                                      0..1CodeableConceptIndicates the urgency of the encounter
                                                                                      Binding: ?? (example): Indicates the urgency of the encounter.
                                                                                        ... 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
                                                                                          ... episodeOfCare Σ0..*Reference(EpisodeOfCare)Episode(s) of care that this encounter should be recorded against
                                                                                          Σ0..*Reference(EpisodeOfCare)Episode(s) of care that this encounter should be recorded against
                                                                                            ... basedOn 0..*Reference(ServiceRequest)The ServiceRequest that initiated this encounter
                                                                                            0..*Reference(ServiceRequest)The ServiceRequest that initiated this encounter
                                                                                              ... participant Σ0..*BackboneElementBác sĩ/NVYT tham gia
                                                                                              Σ0..*BackboneElementBác sĩ/NVYT tham gia
                                                                                                .... 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..*CodeableConceptRole of participant in encounter
                                                                                                      Binding: ?? (extensible): Role of participant in encounter.
                                                                                                      Σ0..*CodeableConceptRole of participant in encounter
                                                                                                      Binding: ?? (extensible): Role of participant in encounter.
                                                                                                        .... period 0..1PeriodPeriod of time during the encounter that the participant participated0..1PeriodPeriod of time during the encounter that the participant participated
                                                                                                          .... individual Σ0..1Reference(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)Persons involved in the encounter other than the patientΣ0..1Reference(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)Persons involved in the encounter other than the patient
                                                                                                            ... appointment Σ0..*Reference(Appointment)The appointment that scheduled this encounter
                                                                                                            Σ0..*Reference(Appointment)The appointment that scheduled this encounter
                                                                                                              ... period S0..1PeriodThời gian khám/nhập việnS0..1PeriodThời gian khám/nhập viện
                                                                                                                ... length 0..1DurationQuantity of time the encounter lasted (less time absent)0..1DurationQuantity of time the encounter lasted (less time absent)
                                                                                                                  ... reasonCode SΣ0..*CodeableConceptLý do đến khám/chief complaint
                                                                                                                  Binding: ?? (extensible)
                                                                                                                  SΣ0..*CodeableConceptLý do đến khám/chief complaint
                                                                                                                  Binding: ?? (extensible)
                                                                                                                    .... 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
                                                                                                                        .... coding Σ0..*CodingCode defined by a terminology system
                                                                                                                        Σ0..*CodingCode defined by a terminology system
                                                                                                                          .... text SΣ0..1stringDiễn giải tự do của lý do đến khámSΣ0..1stringDiễn giải tự do của lý do đến khám
                                                                                                                            ... reasonReference Σ0..*Reference(Condition | Procedure | Observation | ImmunizationRecommendation)Reason the encounter takes place (reference)
                                                                                                                            Σ0..*Reference(Condition | Procedure | Observation | ImmunizationRecommendation)Reason the encounter takes place (reference)
                                                                                                                              ... diagnosis SΣ0..*BackboneElementChẩn đoán
                                                                                                                              SΣ0..*BackboneElementChẩn đoán
                                                                                                                                .... 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
                                                                                                                                      .... condition SΣ1..1Reference(Chẩn đoán VN Core — VN Core Condition Profile)The diagnosis or procedure relevant to the encounterSΣ1..1Reference(Chẩn đoán VN Core — VN Core Condition Profile)The diagnosis or procedure relevant to the encounter
                                                                                                                                        .... use 0..1CodeableConceptLoại chẩn đoán (chính, phụ, nhập viện, ra viện)
                                                                                                                                        Binding: ?? (preferred): The type of diagnosis this condition represents.
                                                                                                                                        0..1CodeableConceptLoại chẩn đoán (chính, phụ, nhập viện, ra viện)
                                                                                                                                        Binding: ?? (preferred): The type of diagnosis this condition represents.
                                                                                                                                          .... rank 0..1positiveIntRanking of the diagnosis (for each role type)0..1positiveIntRanking of the diagnosis (for each role type)
                                                                                                                                            ... account 0..*Reference(Account)The set of accounts that may be used for billing for this Encounter
                                                                                                                                            0..*Reference(Account)The set of accounts that may be used for billing for this Encounter
                                                                                                                                              ... hospitalization 0..1BackboneElementThông tin nhập viện/ra viện0..1BackboneElementThông tin nhập viện/ra viện
                                                                                                                                                .... 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
                                                                                                                                                      .... preAdmissionIdentifier 0..1IdentifierPre-admission identifier0..1IdentifierPre-admission identifier
                                                                                                                                                        .... origin 0..1Reference(Location | Organization)The location/organization from which the patient came before admission0..1Reference(Location | Organization)The location/organization from which the patient came before admission
                                                                                                                                                          .... admitSource 0..1CodeableConceptFrom where patient was admitted (physician referral, transfer)
                                                                                                                                                          Binding: ?? (preferred): From where the patient was admitted.
                                                                                                                                                          0..1CodeableConceptFrom where patient was admitted (physician referral, transfer)
                                                                                                                                                          Binding: ?? (preferred): From where the patient was admitted.
                                                                                                                                                            .... reAdmission 0..1CodeableConceptThe type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission
                                                                                                                                                            Binding: ?? (example): The reason for re-admission of this hospitalization encounter.
                                                                                                                                                            0..1CodeableConceptThe type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission
                                                                                                                                                            Binding: ?? (example): The reason for re-admission of this hospitalization encounter.
                                                                                                                                                              .... dietPreference 0..*CodeableConceptDiet preferences reported by the patient
                                                                                                                                                              Binding: ?? (example): Medical, cultural or ethical food preferences to help with catering requirements.
                                                                                                                                                              0..*CodeableConceptDiet preferences reported by the patient
                                                                                                                                                              Binding: ?? (example): Medical, cultural or ethical food preferences to help with catering requirements.
                                                                                                                                                                .... specialCourtesy 0..*CodeableConceptSpecial courtesies (VIP, board member)
                                                                                                                                                                Binding: ?? (preferred): Special courtesies.
                                                                                                                                                                0..*CodeableConceptSpecial courtesies (VIP, board member)
                                                                                                                                                                Binding: ?? (preferred): Special courtesies.
                                                                                                                                                                  .... specialArrangement 0..*CodeableConceptWheelchair, translator, stretcher, etc.
                                                                                                                                                                  Binding: ?? (preferred): Special arrangements.
                                                                                                                                                                  0..*CodeableConceptWheelchair, translator, stretcher, etc.
                                                                                                                                                                  Binding: ?? (preferred): Special arrangements.
                                                                                                                                                                    .... destination 0..1Reference(Location | Organization)Location/organization to which the patient is discharged0..1Reference(Location | Organization)Location/organization to which the patient is discharged
                                                                                                                                                                      .... dischargeDisposition 0..1CodeableConceptTình trạng ra viện
                                                                                                                                                                      Binding: ?? (extensible)
                                                                                                                                                                      0..1CodeableConceptTình trạng ra viện
                                                                                                                                                                      Binding: ?? (extensible)
                                                                                                                                                                        ... location 0..*BackboneElementList of locations where the patient has been
                                                                                                                                                                        0..*BackboneElementList of locations where the patient has been
                                                                                                                                                                          .... 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
                                                                                                                                                                                .... location 1..1Reference(Location)Location the encounter takes place1..1Reference(Location)Location the encounter takes place
                                                                                                                                                                                  .... status 0..1codeplanned | active | reserved | completed
                                                                                                                                                                                  Binding: ?? (required): The status of the location.
                                                                                                                                                                                  0..1codeplanned | active | reserved | completed
                                                                                                                                                                                  Binding: ?? (required): The status of the location.
                                                                                                                                                                                    .... physicalType 0..1CodeableConceptThe physical type of the location (usually the level in the location hierachy - bed room ward etc.)
                                                                                                                                                                                    Binding: ?? (example): Physical form of the location.
                                                                                                                                                                                    0..1CodeableConceptThe physical type of the location (usually the level in the location hierachy - bed room ward etc.)
                                                                                                                                                                                    Binding: ?? (example): Physical form of the location.
                                                                                                                                                                                      .... period 0..1PeriodTime period during which the patient was present at the location0..1PeriodTime period during which the patient was present at the location
                                                                                                                                                                                        ... serviceProvider S0..1Reference(Cơ sở y tế VN Core — VN Core Organization Profile)Cơ sở KCBS0..1Reference(Cơ sở y tế VN Core — VN Core Organization Profile)Cơ sở KCB
                                                                                                                                                                                          ... partOf 0..1Reference(Encounter)Another Encounter this encounter is part of0..1Reference(Encounter)Another Encounter this encounter is part of

                                                                                                                                                                                            doco Documentation for this format