PackagesCanonicalsLogsProblems
    Packages
    SUPPORT.R4@3.0.0
    http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4
description: Finnish PHR StructureDefinition for QuestionnaireResponse Resource.
package_name: SUPPORT.R4
derivation: constraint
name: FIPHRSDQuestionnairesResponsesR4
type: QuestionnaireResponse
elements:
  questionnaire: {type: canonical, short: Questionnaire being answered, index: 20}
  meta:
    elements:
      profile:
        pattern: {type: Canonical, value: 'http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4'}
        index: 0
    required: [profile]
  encounter: {index: 26}
  item: {index: 34}
  source:
    type: Reference
    short: 'Finnish PHR: The application user who answered the questions'
    refers: ['http://phr.kanta.fi/StructureDefinition/fiphr-sd-patient']
    index: 30
    elements:
      reference: {index: 31}
      identifier: {index: 32}
      display: {index: 33}
    required: [reference]
  author:
    type: Reference
    refers: ['http://phr.kanta.fi/StructureDefinition/fiphr-sd-patient']
    index: 28
    elements:
      reference: {index: 29}
    required: [reference]
  extension:
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        creatingApplication:
          match: {url: null}
          schema: {type: Extension, url: 'http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication', index: 4}
  status: {short: 'Finnish PHR: in-progress | completed | amended | stopped', index: 21}
  language: {index: 1}
  identifier:
    index: 5
    elements:
      use:
        pattern: {type: Code, value: official}
        index: 6
      system:
        pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
        index: 7
      value: {index: 8}
      period: {index: 9}
      assigner: {index: 10}
    required: [value, system, use]
  basedOn:
    type: Reference
    refers: ['http://phr.kanta.fi/StructureDefinition/fiphr-sd-selfcareplan-r4']
    index: 11
    elements:
      reference: {index: 12}
      type: {index: 13}
      identifier: {index: 14}
      display: {index: 15}
    required: [reference]
  authored: {index: 27}
  partOf:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Observation']
    index: 16
    elements:
      reference: {index: 17}
      identifier: {index: 18}
      display: {index: 19}
    required: [reference]
  subject:
    type: Reference
    refers: ['http://phr.kanta.fi/StructureDefinition/fiphr-sd-patient']
    index: 22
    elements:
      reference: {index: 23}
      identifier: {index: 24}
      display: {index: 25}
    required: [reference]
  text: {index: 2}
package_version: 3.0.0
extensions:
  creatingApplication: {url: 'http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication', type: Extension, index: 4}
class: profile
kind: resource
url: http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4
base: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
version: '0.1'
required: [authored, text, identifier, item, subject, questionnaire, source, language]