PackagesCanonicalsLogsProblems
    Packages
    PGO.02@1.02.1
    http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse-Prescriber
description: 'The health professional that entered the medication agreement with the patient. '
package_name: PGO.02
derivation: constraint
name: Zib MedicationUse Prescriber
type: Extension
elements:
  valueBase64Binary: {type: base64Binary, choiceOf: value, index: 13}
  valueAge: {type: Age, choiceOf: value, index: 30}
  valueTiming: {type: Timing, choiceOf: value, index: 49}
  valueCode: {type: code, choiceOf: value, index: 15}
  valueReference:
    type: Reference
    choiceOf: value
    refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner']
    index: 50
  valueUri: {type: uri, choiceOf: value, index: 28}
  valueTime: {type: time, choiceOf: value, index: 26}
  valueDecimal: {type: decimal, choiceOf: value, index: 18}
  valueMarkdown: {type: markdown, choiceOf: value, index: 22}
  valueIdentifier: {type: Identifier, choiceOf: value, index: 40}
  valueQuantity: {type: Quantity, choiceOf: value, index: 43}
  value:
    choices: [valueBase64Binary, valueBoolean, valueCode, valueDate, valueDateTime, valueDecimal, valueId, valueInstant, valueInteger, valueMarkdown, valueOid, valuePositiveInt, valueString, valueTime, valueUnsignedInt, valueUri, valueAddress, valueAge, valueAnnotation, valueAttachment, valueCodeableConcept, valueCoding, valueContactPoint, valueCount, valueDistance, valueDuration, valueHumanName, valueIdentifier, valueMoney, valuePeriod, valueQuantity, valueRange, valueRatio, valueReference, valueSampledData, valueSignature, valueTiming, valueReference]
    index: 12
  valueCount: {type: Count, choiceOf: value, index: 36}
  valueString: {type: string, choiceOf: value, index: 25}
  valueRatio: {type: Ratio, choiceOf: value, index: 45}
  valueBoolean: {type: boolean, choiceOf: value, index: 14}
  valueInstant: {type: instant, choiceOf: value, index: 20}
  valueDateTime: {type: dateTime, choiceOf: value, index: 17}
  valueDate: {type: date, choiceOf: value, index: 16}
  valueDuration: {type: Duration, choiceOf: value, index: 38}
  valueMoney: {type: Money, choiceOf: value, index: 41}
  valueCoding: {type: Coding, choiceOf: value, index: 34}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        agent:
          match: {url: agent}
          schema:
            short: Who ordered the initial medication(s)
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: agent}
                index: 2
              value:
                choices: [valueReference, valueReference]
                index: 4
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        choices: [valueReference, valueReference]
                        index: 4
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-practitionerrole']
                index: 5
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        type: Reference
                        choiceOf: value
                        refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-practitionerrole']
                        index: 5
        onBehalfOf:
          match: {url: onBehalfOf}
          schema:
            short: Organization agent is acting for
            index: 7
            elements:
              url:
                pattern: {type: Uri, value: onBehalfOf}
                index: 8
              valueReference:
                type: Reference
                refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization']
                index: 9
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization']
                        index: 9
  valueSampledData: {type: SampledData, choiceOf: value, index: 47}
  valueContactPoint: {type: ContactPoint, choiceOf: value, index: 35}
  url:
    pattern: {type: Uri, value: 'http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse-Prescriber'}
    index: 10
  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 33}
  valueAnnotation: {type: Annotation, choiceOf: value, index: 31}
  valuePeriod: {type: Period, choiceOf: value, index: 42}
  valueDistance: {type: Distance, choiceOf: value, index: 37}
  valueRange: {type: Range, choiceOf: value, index: 44}
  valueSignature: {type: Signature, choiceOf: value, index: 48}
  valueInteger: {type: integer, choiceOf: value, index: 21}
  valueHumanName: {type: HumanName, choiceOf: value, index: 39}
  valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 27}
  valueAttachment: {type: Attachment, choiceOf: value, index: 32}
  valueOid: {type: oid, choiceOf: value, index: 23}
  valueAddress: {type: Address, choiceOf: value, index: 29}
  valuePositiveInt: {type: positiveInt, choiceOf: value, index: 24}
  valueId: {type: id, choiceOf: value, index: 19}
package_version: 1.02.1
extensions:
  agent:
    url: agent
    short: Who ordered the initial medication(s)
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: agent}
        index: 2
      value:
        choices: [valueReference, valueReference]
        index: 4
        slicing:
          slices:
            valueReference:
              match: {}
              schema:
                choices: [valueReference, valueReference]
                index: 4
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-practitionerrole']
        index: 5
        slicing:
          slices:
            valueReference:
              match: {}
              schema:
                type: Reference
                choiceOf: value
                refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-practitionerrole']
                index: 5
  onBehalfOf:
    url: onBehalfOf
    short: Organization agent is acting for
    index: 7
    elements:
      url:
        pattern: {type: Uri, value: onBehalfOf}
        index: 8
      valueReference:
        type: Reference
        refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization']
        index: 9
        slicing:
          slices:
            valueReference:
              match: {}
              schema:
                type: Reference
                refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization']
                index: 9
class: extension
kind: complex-type
url: http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse-Prescriber
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '2.0'