PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@5.0.1
    http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse
description: null
package_name: dk.ehealth.sundhed.fhir.ig.core
derivation: constraint
name: ehealth-questionnaireresponse
type: QuestionnaireResponse
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        episodeOfCare:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
            index: 1
            elements:
              value:
                choices: [valueReference]
                index: 3
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
                index: 4
        quality:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality', index: 5}
          min: 0
        resolvedTiming:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing', index: 6}
          min: 1
          max: 1
        effectivePeriod:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-effectivePeriod', index: 7}
          min: 0
          max: 1
  basedOn:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
    index: 8
  partOf:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation', 'http://hl7.org/fhir/StructureDefinition/Procedure']
    index: 9
  questionnaire: {type: canonical, index: 10}
  subject: {index: 11}
  authored: {index: 12}
  author:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']
    index: 13
  source:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']
    index: 14
package_version: 5.0.1
extensions:
  episodeOfCare:
    url: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
    type: Extension
    index: 1
    elements:
      value:
        choices: [valueReference]
        index: 3
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
        index: 4
  quality: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality', min: 0, type: Extension, index: 5}
  resolvedTiming: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing', min: 1, max: 1, type: Extension, index: 6}
  effectivePeriod: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-effectivePeriod', min: 0, max: 1, type: Extension, index: 7}
class: profile
kind: resource
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse
base: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
version: 5.0.1
required: [authored, basedOn, questionnaire, source, subject]