PackagesCanonicalsLogsProblems
    Packages
    rs/dk.ehealth.sundhed.fhir.ig.core@3.3.0
    http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media
description: null
package_name: rs/dk.ehealth.sundhed.fhir.ig.core
derivation: constraint
name: ehealth-media
type: Media
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}
          min: 1
          max: 1
        quality:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality', index: 2}
          min: 0
        resolvedTiming:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing', index: 3}
          min: 1
          max: 1
  basedOn:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
    index: 4
  subject:
    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://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Specimen']
    index: 5
    elements:
      reference: {type: string, index: 6}
    required: [reference]
  created:
    choices: []
    index: 8
  operator:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner']
    index: 9
  device:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
    index: 10
  note:
    elements:
      author:
        choices: [authorString]
        index: 17
        slicing:
          slices:
            authorString:
              match: {}
              schema:
                choices: [authorString]
                index: 17
              min: 0
              max: 1
      authorReference:
        type: Reference
        choiceOf: author
        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: 15
        slicing:
          slices:
            authorReference:
              match: {}
              schema:
                type: Reference
                choiceOf: author
                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: 15
              min: 0
              max: 1
      authorString:
        type: string
        choiceOf: author
        index: 18
        slicing:
          slices:
            authorString:
              match: {}
              schema: {type: string, choiceOf: author, index: 18}
              min: 0
              max: 1
package_version: 3.3.0
extensions:
  episodeOfCare: {url: 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', min: 1, max: 1, type: Extension, index: 1}
  quality: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality', min: 0, type: Extension, index: 2}
  resolvedTiming: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing', min: 1, max: 1, type: Extension, index: 3}
class: profile
kind: resource
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media
base: http://hl7.org/fhir/StructureDefinition/Media
version: 3.3.0
required: [basedOn, created, subject]