PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver@r4b.r5-0.0.1-snapshot-1
    http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.detail
description: This cross-version extension represents CarePlan.activity.detail from http://hl7.org/fhir/StructureDefinition/CarePlan|4.3.0 for use in FHIR R5.
package_name: hl7.fhir.uv.xver
derivation: constraint
name: ext_R4B_CarePlan_ac_detail
type: Extension
elements:
  extension:
    array: true
    min: 1
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        description:
          match: {url: null}
          schema:
            isModifier: false
            short: Extra info describing activity to perform
            index: 68
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Extra info describing activity to perform
                choices: [valueString]
                index: 70
              valueString:
                base: {path: 'Extension.value[x]'}
                type: string
                short: Extra info describing activity to perform
                choiceOf: value
                index: 71
        instantiatesCanonical:
          match: {url: null}
          schema:
            isModifier: false
            short: Instantiates FHIR protocol or definition
            array: true
            index: 5
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Instantiates FHIR protocol or definition
                choices: [valueCanonical]
                index: 7
              valueCanonical:
                base: {path: 'Extension.value[x]'}
                type: canonical
                short: Instantiates FHIR protocol or definition
                choiceOf: value
                index: 8
        instantiatesUri:
          match: {url: null}
          schema:
            isModifier: false
            short: Instantiates external protocol or definition
            array: true
            index: 9
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Instantiates external protocol or definition
                choices: [valueUri]
                index: 11
              valueUri:
                base: {path: 'Extension.value[x]'}
                type: uri
                short: Instantiates external protocol or definition
                choiceOf: value
                index: 12
        goal:
          match: {url: null}
          schema:
            isModifier: false
            short: Goals this activity relates to
            array: true
            index: 25
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Goals this activity relates to
                choices: [valueReference]
                index: 27
              valueReference:
                short: Goals this activity relates to
                refers: ['http://hl7.org/fhir/StructureDefinition/Goal']
                type: Reference
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 28
        reasonCode:
          match: {url: null}
          schema:
            isModifier: false
            short: Why activity should be done or why activity was prohibited
            array: true
            index: 17
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Why activity should be done or why activity was prohibited
                choices: [valueCodeableConcept]
                index: 19
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Why activity should be done or why activity was prohibited
                choiceOf: value
                index: 20
        statusReason:
          match: {url: null}
          schema:
            isModifier: false
            short: Reason for current status
            index: 33
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Reason for current status
                choices: [valueCodeableConcept]
                index: 35
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Reason for current status
                choiceOf: value
                index: 36
        product[x]:
          match: {url: null}
          schema:
            isModifier: false
            short: What is to be administered/supplied
            index: 55
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: What is to be administered/supplied
                choices: [valueCodeableConcept, valueReference]
                index: 57
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: What is to be administered/supplied
                choiceOf: value
                index: 58
              valueReference:
                short: What is to be administered/supplied
                refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance']
                type: Reference
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 59
        dailyAmount:
          match: {url: null}
          schema:
            isModifier: false
            short: How to consume/day?
            index: 60
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: How to consume/day?
                choices: [valueQuantity]
                index: 62
              valueQuantity:
                base: {path: 'Extension.value[x]'}
                type: Quantity
                short: How to consume/day?
                choiceOf: value
                index: 63
        status:
          match: {url: null}
          schema:
            isModifier: true
            short: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
            _required: true
            isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the activity should not be treated as valid
            index: 29
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
                choices: [valueCode]
                index: 31
              valueCode:
                base: {path: 'Extension.value[x]'}
                type: code
                short: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
                choiceOf: value
                index: 32
        kind:
          match: {url: null}
          schema:
            isModifier: false
            short: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
            index: 1
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
                choices: [valueCode]
                index: 3
              valueCode:
                base: {path: 'Extension.value[x]'}
                type: code
                short: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
                choiceOf: value
                index: 4
        scheduled[x]:
          match: {url: null}
          schema:
            isModifier: false
            short: When activity is to occur
            index: 41
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: When activity is to occur
                choices: [valueTiming, valuePeriod, valueString]
                index: 43
              valueTiming:
                base: {path: 'Extension.value[x]'}
                type: Timing
                short: When activity is to occur
                choiceOf: value
                index: 44
              valuePeriod:
                base: {path: 'Extension.value[x]'}
                type: Period
                short: When activity is to occur
                choiceOf: value
                index: 45
              valueString:
                base: {path: 'Extension.value[x]'}
                type: string
                short: When activity is to occur
                choiceOf: value
                index: 46
        code:
          match: {url: null}
          schema:
            isModifier: false
            short: Detail type of activity
            index: 13
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Detail type of activity
                choices: [valueCodeableConcept]
                index: 15
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Detail type of activity
                choiceOf: value
                index: 16
        doNotPerform:
          match: {url: null}
          schema:
            isModifier: true
            short: If true, activity is prohibiting action
            isModifierReason: If true this element negates the specified action. For example, instead of a request for a procedure, it is a request for the procedure to not occur.
            index: 37
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: If true, activity is prohibiting action
                choices: [valueBoolean]
                index: 39
              valueBoolean:
                base: {path: 'Extension.value[x]'}
                type: boolean
                short: If true, activity is prohibiting action
                choiceOf: value
                index: 40
        quantity:
          match: {url: null}
          schema:
            isModifier: false
            short: How much to administer/supply/consume
            index: 64
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: How much to administer/supply/consume
                choices: [valueQuantity]
                index: 66
              valueQuantity:
                base: {path: 'Extension.value[x]'}
                type: Quantity
                short: How much to administer/supply/consume
                choiceOf: value
                index: 67
        location:
          match: {url: null}
          schema:
            isModifier: false
            short: Where it should happen
            index: 47
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Where it should happen
                choices: [valueReference]
                index: 49
              valueReference:
                short: Where it should happen
                refers: ['http://hl7.org/fhir/StructureDefinition/Location']
                type: Reference
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 50
        performer:
          match: {url: null}
          schema:
            isModifier: false
            short: Who will be responsible?
            array: true
            index: 51
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Who will be responsible?
                choices: [valueReference]
                index: 53
              valueReference:
                short: Who will be responsible?
                refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/HealthcareService', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                type: Reference
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 54
        reasonReference:
          match: {url: null}
          schema:
            isModifier: false
            short: Why activity is needed
            array: true
            index: 21
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Why activity is needed
                choices: [valueReference]
                index: 23
              valueReference:
                short: Why activity is needed
                refers: ['http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation']
                type: Reference
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 24
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.detail'}
    index: 72
package_version: r4b.r5-0.0.1-snapshot-1
extensions:
  description:
    url: null
    isModifier: false
    short: Extra info describing activity to perform
    index: 68
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Extra info describing activity to perform
        choices: [valueString]
        index: 70
      valueString:
        base: {path: 'Extension.value[x]'}
        type: string
        short: Extra info describing activity to perform
        choiceOf: value
        index: 71
  instantiatesCanonical:
    url: null
    isModifier: false
    short: Instantiates FHIR protocol or definition
    array: true
    index: 5
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Instantiates FHIR protocol or definition
        choices: [valueCanonical]
        index: 7
      valueCanonical:
        base: {path: 'Extension.value[x]'}
        type: canonical
        short: Instantiates FHIR protocol or definition
        choiceOf: value
        index: 8
  instantiatesUri:
    url: null
    isModifier: false
    short: Instantiates external protocol or definition
    array: true
    index: 9
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Instantiates external protocol or definition
        choices: [valueUri]
        index: 11
      valueUri:
        base: {path: 'Extension.value[x]'}
        type: uri
        short: Instantiates external protocol or definition
        choiceOf: value
        index: 12
  goal:
    url: null
    isModifier: false
    short: Goals this activity relates to
    array: true
    index: 25
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Goals this activity relates to
        choices: [valueReference]
        index: 27
      valueReference:
        short: Goals this activity relates to
        refers: ['http://hl7.org/fhir/StructureDefinition/Goal']
        type: Reference
        base: {path: 'Extension.value[x]'}
        choiceOf: value
        index: 28
  reasonCode:
    url: null
    isModifier: false
    short: Why activity should be done or why activity was prohibited
    array: true
    index: 17
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Why activity should be done or why activity was prohibited
        choices: [valueCodeableConcept]
        index: 19
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Why activity should be done or why activity was prohibited
        choiceOf: value
        index: 20
  statusReason:
    url: null
    isModifier: false
    short: Reason for current status
    index: 33
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Reason for current status
        choices: [valueCodeableConcept]
        index: 35
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Reason for current status
        choiceOf: value
        index: 36
  product[x]:
    url: null
    isModifier: false
    short: What is to be administered/supplied
    index: 55
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: What is to be administered/supplied
        choices: [valueCodeableConcept, valueReference]
        index: 57
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: What is to be administered/supplied
        choiceOf: value
        index: 58
      valueReference:
        short: What is to be administered/supplied
        refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance']
        type: Reference
        base: {path: 'Extension.value[x]'}
        choiceOf: value
        index: 59
  dailyAmount:
    url: null
    isModifier: false
    short: How to consume/day?
    index: 60
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: How to consume/day?
        choices: [valueQuantity]
        index: 62
      valueQuantity:
        base: {path: 'Extension.value[x]'}
        type: Quantity
        short: How to consume/day?
        choiceOf: value
        index: 63
  status:
    url: null
    isModifier: true
    short: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
    _required: true
    isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the activity should not be treated as valid
    index: 29
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
        choices: [valueCode]
        index: 31
      valueCode:
        base: {path: 'Extension.value[x]'}
        type: code
        short: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
        choiceOf: value
        index: 32
  kind:
    url: null
    isModifier: false
    short: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
    index: 1
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
        choices: [valueCode]
        index: 3
      valueCode:
        base: {path: 'Extension.value[x]'}
        type: code
        short: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
        choiceOf: value
        index: 4
  scheduled[x]:
    url: null
    isModifier: false
    short: When activity is to occur
    index: 41
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: When activity is to occur
        choices: [valueTiming, valuePeriod, valueString]
        index: 43
      valueTiming:
        base: {path: 'Extension.value[x]'}
        type: Timing
        short: When activity is to occur
        choiceOf: value
        index: 44
      valuePeriod:
        base: {path: 'Extension.value[x]'}
        type: Period
        short: When activity is to occur
        choiceOf: value
        index: 45
      valueString:
        base: {path: 'Extension.value[x]'}
        type: string
        short: When activity is to occur
        choiceOf: value
        index: 46
  code:
    url: null
    isModifier: false
    short: Detail type of activity
    index: 13
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Detail type of activity
        choices: [valueCodeableConcept]
        index: 15
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Detail type of activity
        choiceOf: value
        index: 16
  doNotPerform:
    url: null
    isModifier: true
    short: If true, activity is prohibiting action
    isModifierReason: If true this element negates the specified action. For example, instead of a request for a procedure, it is a request for the procedure to not occur.
    index: 37
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: If true, activity is prohibiting action
        choices: [valueBoolean]
        index: 39
      valueBoolean:
        base: {path: 'Extension.value[x]'}
        type: boolean
        short: If true, activity is prohibiting action
        choiceOf: value
        index: 40
  quantity:
    url: null
    isModifier: false
    short: How much to administer/supply/consume
    index: 64
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: How much to administer/supply/consume
        choices: [valueQuantity]
        index: 66
      valueQuantity:
        base: {path: 'Extension.value[x]'}
        type: Quantity
        short: How much to administer/supply/consume
        choiceOf: value
        index: 67
  location:
    url: null
    isModifier: false
    short: Where it should happen
    index: 47
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Where it should happen
        choices: [valueReference]
        index: 49
      valueReference:
        short: Where it should happen
        refers: ['http://hl7.org/fhir/StructureDefinition/Location']
        type: Reference
        base: {path: 'Extension.value[x]'}
        choiceOf: value
        index: 50
  performer:
    url: null
    isModifier: false
    short: Who will be responsible?
    array: true
    index: 51
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Who will be responsible?
        choices: [valueReference]
        index: 53
      valueReference:
        short: Who will be responsible?
        refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/HealthcareService', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
        type: Reference
        base: {path: 'Extension.value[x]'}
        choiceOf: value
        index: 54
  reasonReference:
    url: null
    isModifier: false
    short: Why activity is needed
    array: true
    index: 21
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Why activity is needed
        choices: [valueReference]
        index: 23
      valueReference:
        short: Why activity is needed
        refers: ['http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation']
        type: Reference
        base: {path: 'Extension.value[x]'}
        choiceOf: value
        index: 24
class: extension
kind: complex-type
url: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.detail
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url, extension]