PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver@r3.r4b-0.0.1-snapshot-2
    http://hl7.org/fhir/3.0/StructureDefinition/extension-Contract.agent
description: This cross-version extension represents Contract.agent from http://hl7.org/fhir/StructureDefinition/Contract|3.0.2 for use in FHIR R4B.
package_name: hl7.fhir.uv.xver
derivation: constraint
name: Ext_R3_Contract_agent
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    min: 1
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        actor:
          match: {url: actor}
          schema:
            short: Contract Agent Type
            _required: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: actor}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Contract Agent Type
                choices: [valueReference]
                index: 4
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: Contract Agent Type
                choiceOf: value
                index: 5
            required: [url]
        role:
          match: {url: role}
          schema:
            short: Role type of the agent
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: role}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Role type of the agent
                choices: [valueCodeableConcept]
                index: 9
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Role type of the agent
                choiceOf: value
                index: 10
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Contract.agent'}
    index: 11
package_version: r3.r4b-0.0.1-snapshot-2
extensions:
  actor:
    url: actor
    short: Contract Agent Type
    _required: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: actor}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Contract Agent Type
        choices: [valueReference]
        index: 4
      valueReference:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Reference
        short: Contract Agent Type
        choiceOf: value
        index: 5
    required: [url]
  role:
    url: role
    short: Role type of the agent
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: role}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Role type of the agent
        choices: [valueCodeableConcept]
        index: 9
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Role type of the agent
        choiceOf: value
        index: 10
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/3.0/StructureDefinition/extension-Contract.agent
base: http://hl7.org/fhir/StructureDefinition/Extension|4.3.0
version: 0.0.1-snapshot-2
required: [url, extension]