PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.core@5.0.0
    http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse
description: To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the QuestionnaireResponse resource to record, search, and fetch retrieve captures the responses to form/survey and assessment tools such as the *Protocol for Responding to and Assessing Patients’ Assets, Risks, and Experiences (PRAPARE) Survey*.   This profile is based on the [Structured Data Capture (SDC) Questionnaire Response Profile](http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaireresponse.html) and identifies the *additional* core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.
package_name: hl7.fhir.us.core
derivation: constraint
name: USCoreQuestionnaireResponseProfile
type: QuestionnaireResponse
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      tag:
        mustSupport: true
        index: 1
        elements:
          code: {index: 2}
        required: [code]
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            sdoh:
              match: {code: sdoh, system: 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags'}
              schema:
                short: SDOH Tag
                mustSupport: true
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/us-core-tags'}
                pattern:
                  type: Coding
                  value: {code: sdoh, system: 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags'}
                index: 3
              max: 1
  questionnaire:
    mustSupport: true
    index: 4
    extensions:
      url: {url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri', min: 0, max: 1, type: Extension, mustSupport: true, index: 5}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri
        index: 5
        slicing:
          slices:
            url:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri', index: 5}
              min: 0
              max: 1
  status: {mustSupport: true, index: 6}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
    index: 7
  authored: {mustSupport: true, index: 8}
  author:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson']
    index: 9
  item:
    mustSupport: true
    index: 10
    elements:
      linkId: {mustSupport: true, index: 11}
      answer:
        elements:
          valueReference: {type: Reference, mustSupport: true, choiceOf: value, index: 25}
          valueUri: {type: uri, mustSupport: true, choiceOf: value, index: 22}
          valueTime: {type: time, mustSupport: true, choiceOf: value, index: 17}
          valueDecimal: {type: decimal, mustSupport: true, choiceOf: value, index: 18}
          valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 23}
          value:
            mustSupport: true
            choices: [valueBoolean, valueDate, valueDateTime, valueTime, valueDecimal, valueInteger, valueString, valueCoding, valueUri, valueQuantity, valueAttachment, valueReference]
            index: 13
          valueString: {type: string, mustSupport: true, choiceOf: value, index: 20}
          valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 14}
          valueDateTime: {type: dateTime, mustSupport: true, choiceOf: value, index: 16}
          valueDate: {type: date, mustSupport: true, choiceOf: value, index: 15}
          valueCoding: {type: Coding, mustSupport: true, choiceOf: value, index: 21}
          valueInteger: {type: integer, mustSupport: true, choiceOf: value, index: 19}
          valueAttachment: {type: Attachment, mustSupport: true, choiceOf: value, index: 24}
package_version: 5.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse
base: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse
version: 5.0.0
required: [subject]