Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data loss in repeatable group form items #410

Open
qscgyjqscgyj opened this issue Dec 16, 2024 · 0 comments
Open

Data loss in repeatable group form items #410

qscgyjqscgyj opened this issue Dec 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@qscgyjqscgyj
Copy link
Collaborator

qscgyjqscgyj commented Dec 16, 2024

Questionnaire:

item:
  - linkId: conditions-group
    text: Conditions
    type: group
    item:
      - linkId: conditions-details-group
        type: group
        repeats: true
        item:
          - linkId: condition-type
            text: Disease/Condition
            type: choice
            required: true
            answerValueSet: http://hl7.org/fhir/ValueSet/condition-code
          - linkId: condition-status
            text: Status
            type: choice
            answerOption:
              - value:
                  Coding:
                    system: "http://loinc.org"
                    code: "LA16666-2"
                    display: Current
              - value:
                  Coding:
                    system: "http://loinc.org"
                    code: "LA18632-2"
                    display: Past
          - linkId: condition-notes
            text: Notes
            type: string
meta:
  profile:
    - https://beda.software/beda-emr-questionnaire
name: Conditions
title: Conditions
status: active
subjectType:
  - Encounter
  - Patient
mapping:
  - id: conditions-create
    resourceType: Mapping
useContext:
  - code:
      code: questionnaire-type
      system: https://rce.uoh.cl/FHIR/CodeSystem/questionnaire-type
    value:
      CodeableConcept:
        coding:
          - code: clinical-form
resourceType: Questionnaire
id: conditions

Problem:
If we fill 1st form group and add new one and fill it after and add one more and fill it the result questionnaire response will include only 1st and 3rd groups, but if we firstly add 3 groups before and fill it after, whole groups data will be in the result quuestionnaire response

Screen.Recording.2024-12-16.at.10.mp4
@qscgyjqscgyj qscgyjqscgyj added the bug Something isn't working label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant