Skip to content

[BUG] Conversion of the Aidbox format questionnaire into FHIR-compliant format (launchContext) #558

@atuonufure

Description

@atuonufure

Describe the bug
When converting a questionnaire from Aidbox format to FHIR, LaunchContext does not match the FHIR standard.

Severity
Critical

Steps to reproduce the behavior:
Sample questionnaire: https://github.com/beda-software/fhir-emr/blob/5d9f5de88c66af6201c2841ddae6320884670711/resources/seeds/Questionnaire/allergies.yaml#L15

Sample launchContext:

launchContext:
    - name:
          code: Patient
      type: 
        - Patient
    - name:
          code: Author
      type: 
        - Resource

LaunchContext in zen profile: https://github.com/beda-software/fhir-emr/blob/5d9f5de88c66af6201c2841ddae6320884670711/zenproject/zrc/questionnaire-profile.edn#L87

In Aidbox, open the questionnaire and try to convert it from Aidbox format to FHIR.

We get the questionnaire with launchContext in a format that does not conform to the FHIR standard.

Expected behavior
Conversion of the Aidbox format questionnaire into FHIR-compliant format.

Versions:

  • Aidbox image version:
  • version "2303"
  • channel "latest"
  • commit "0336bd87a"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions