PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@3.5.1
    http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role
description: This is a modifier role that can hold a role and a reference to the item who has the role. Ex. owner + a reference to the owner organization.
package_name: dk.ehealth.sundhed.fhir.ig.core
derivation: constraint
name: ehealth-modifier-role
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        reference:
          match: {}
          schema:
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: reference}
                index: 3
              value:
                choices: [valueReference]
                index: 5
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']
                index: 6
            required: [valueReference, value]
        role:
          match: {}
          schema:
            _required: true
            index: 7
            extensions: {}
            elements:
              extension: {index: 8}
              url:
                pattern: {type: Uri, value: role}
                index: 9
              value:
                choices: [valueCodeableConcept]
                index: 11
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 12}
            required: [value, valueCodeableConcept]
  url:
    pattern: {type: Uri, value: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role'}
    index: 13
  value:
    choices: []
    index: 15
package_version: 3.5.1
extensions:
  reference:
    url: null
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: reference}
        index: 3
      value:
        choices: [valueReference]
        index: 5
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']
        index: 6
    required: [valueReference, value]
  role:
    url: null
    _required: true
    index: 7
    extensions: {}
    elements:
      extension: {index: 8}
      url:
        pattern: {type: Uri, value: role}
        index: 9
      value:
        choices: [valueCodeableConcept]
        index: 11
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 12}
    required: [value, valueCodeableConcept]
class: extension
kind: complex-type
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 3.5.1