subjectType cardinality restriction causes problems

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive
    • Priority: 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

      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.

            Assignee:
            Unassigned
            Reporter:
            Paul Lynch
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: