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

subjectType cardinality restriction causes problems

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Medium Medium
    • Structured Data Capture (SDC) (FHIR)
    • 2.7.0 [deprecated]
    • FHIR Infrastructure
    • SDC Base Questionnaire
    • (NA)
    • Hide

      Will loosen to 0..*, however will add language that "a Questionnaire SHOULD specify the subject  However it is optional to support legacy questionnaires".

      Show
      Will loosen to 0..* , however will add language that "a Questionnaire SHOULD specify the subject  However it is optional to support legacy questionnaires".
    • Yunwei Wang/Stoyan Halkaliev: 8-0-0
    • Correction
    • Non-compatible

    Description

      SDC adds a cardinality restriction to Questionanire.subjectType of 1..1 (compared to 0..* in regular Questionnaire). I see a couple of problems with this:

      1) The requirement that a subjectType be present means that many Questionnaires might not be usable in SDC apps, e.g. the LOINC questionnaires returned by their FHIR API, which do not specify subjectType.

      2) The requirement that only one subjectType be present eliminates the possibility of the Questionnaire being used for multiple types of subjects in possibly different settings. For example, the Hunger Vital Signs form could conceivably be used in a clinical setting with subjectType "Patient" or a non-clinical setting with subjectType "Person".

      I propose relaxing subjectType back to 0..* as it is in the regular Questionnaire.

      Attachments

        Activity

          People

            Unassigned Unassigned
            plynch Paul Lynch
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: