Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-39521

How can we make a question mandatory based on the answer of a previous question?

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Considered - Question answered
    • Icon: Medium Medium
    • FHIR Core (FHIR)
    • R5
    • FHIR Infrastructure
    • Questionnaire
    • Hide

      Look at the minOccursCalculated and minOccursExpression slices in the http://build.fhir.org/ig/HL7/sdc/StructureDefinition-sdc-questionnaire-behave.html profile. (Note - you'll typically get answers much faster by asking on http://chat.fhir.org.)

      Show
      Look at the minOccursCalculated and minOccursExpression slices in the http://build.fhir.org/ig/HL7/sdc/StructureDefinition-sdc-questionnaire-behave.html profile. (Note - you'll typically get answers much faster by asking on http://chat.fhir.org .)

    Description

      We need to make a question mandatory based on the answer of a previous question. Here are two examples:

      1. When a surgery was done to a patient, the system should enable and make mandatory the field “type of surgery”;
      2. When a patient indicated that received the COVID vaccine, the system should enable and make mandatory the field “date of vaccination”;

      Attachments

        Activity

          People

            Unassigned Unassigned
            rquintano Ricardo Quintano
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: