PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r3.r5@0.0.1-snapshot-1
    http://hl7.org/fhir/3.0/StructureDefinition/extension-CarePlan.activity.detail
description: This cross-version extension represents CarePlan.activity.detail from http://hl7.org/fhir/StructureDefinition/CarePlan|3.0.2 for use in FHIR R5.
package_name: hl7.fhir.uv.xver-r3.r5
derivation: constraint
name: ext_R3_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: 64
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Extra info describing activity to perform
                choices: [valueString]
                index: 66
              valueString:
                base: {path: 'Extension.value[x]'}
                type: string
                short: Extra info describing activity to perform
                choiceOf: value
                index: 67
        category:
          match: {url: null}
          schema:
            isModifier: false
            short: diet | drug | encounter | observation | procedure | supply | other
            index: 1
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: diet | drug | encounter | observation | procedure | supply | other
                choices: [valueCodeableConcept]
                index: 3
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: diet | drug | encounter | observation | procedure | supply | other
                choiceOf: value
                index: 4
        definition:
          match: {url: null}
          schema:
            isModifier: false
            short: Protocol or definition
            index: 5
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Protocol or definition
                choices: [valueReference]
                index: 7
              valueReference:
                short: Protocol or definition
                refers: ['http://hl7.org/fhir/StructureDefinition/ActivityDefinition', 'http://hl7.org/fhir/StructureDefinition/PlanDefinition', 'http://hl7.org/fhir/StructureDefinition/Questionnaire']
                type: Reference
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 8
        prohibited:
          match: {url: null}
          schema:
            isModifier: true
            short: Do NOT do
            isModifierReason: This extension is a modifier because the target element CarePlan.activity.detail.prohibited is flagged IsModifier
            index: 33
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Do NOT do
                choices: [valueBoolean]
                index: 35
              valueBoolean:
                base: {path: 'Extension.value[x]'}
                type: boolean
                short: Do NOT do
                choiceOf: value
                index: 36
        goal:
          match: {url: null}
          schema:
            isModifier: false
            short: Goals this activity relates to
            array: true
            index: 21
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Goals this activity relates to
                choices: [valueReference]
                index: 23
              valueReference:
                short: Goals this activity relates to
                refers: ['http://hl7.org/fhir/StructureDefinition/Goal']
                type: Reference
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 24
        reasonCode:
          match: {url: null}
          schema:
            isModifier: false
            short: Why activity should be done or why activity was prohibited
            array: true
            index: 13
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Why activity should be done or why activity was prohibited
                choices: [valueCodeableConcept]
                index: 15
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Why activity should be done or why activity was prohibited
                choiceOf: value
                index: 16
        statusReason:
          match: {url: null}
          schema:
            isModifier: false
            short: Reason for current status
            index: 29
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Reason for current status
                choices: [valueString]
                index: 31
              valueString:
                base: {path: 'Extension.value[x]'}
                type: string
                short: Reason for current status
                choiceOf: value
                index: 32
        product[x]:
          match: {url: null}
          schema:
            isModifier: false
            short: What is to be administered/supplied
            index: 51
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: What is to be administered/supplied
                choices: [valueCodeableConcept, valueReference]
                index: 53
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: What is to be administered/supplied
                choiceOf: value
                index: 54
              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: 55
        dailyAmount:
          match: {url: null}
          schema:
            isModifier: false
            short: How to consume/day?
            index: 56
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: How to consume/day?
                choices: [valueQuantity]
                index: 58
              valueQuantity:
                base: {path: 'Extension.value[x]'}
                type: Quantity
                short: How to consume/day?
                choiceOf: value
                index: 59
        status:
          match: {url: null}
          schema:
            isModifier: true
            short: not-started | scheduled | in-progress | on-hold | completed | cancelled | unknown
            _required: true
            isModifierReason: This extension is a modifier because the target element CarePlan.activity.detail.status is flagged IsModifier
            index: 25
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: not-started | scheduled | in-progress | on-hold | completed | cancelled | unknown
                choices: [valueCode]
                index: 27
              valueCode:
                base: {path: 'Extension.value[x]'}
                type: code
                short: not-started | scheduled | in-progress | on-hold | completed | cancelled | unknown
                choiceOf: value
                index: 28
        scheduled[x]:
          match: {url: null}
          schema:
            isModifier: false
            short: When activity is to occur
            index: 37
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: When activity is to occur
                choices: [valueTiming, valuePeriod, valueString]
                index: 39
              valueTiming:
                base: {path: 'Extension.value[x]'}
                type: Timing
                short: When activity is to occur
                choiceOf: value
                index: 40
              valuePeriod:
                base: {path: 'Extension.value[x]'}
                type: Period
                short: When activity is to occur
                choiceOf: value
                index: 41
              valueString:
                base: {path: 'Extension.value[x]'}
                type: string
                short: When activity is to occur
                choiceOf: value
                index: 42
        code:
          match: {url: null}
          schema:
            isModifier: false
            short: Detail type of activity
            index: 9
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Detail type of activity
                choices: [valueCodeableConcept]
                index: 11
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Detail type of activity
                choiceOf: value
                index: 12
        quantity:
          match: {url: null}
          schema:
            isModifier: false
            short: How much to administer/supply/consume
            index: 60
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: How much to administer/supply/consume
                choices: [valueQuantity]
                index: 62
              valueQuantity:
                base: {path: 'Extension.value[x]'}
                type: Quantity
                short: How much to administer/supply/consume
                choiceOf: value
                index: 63
        location:
          match: {url: null}
          schema:
            isModifier: false
            short: Where it should happen
            index: 43
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Where it should happen
                choices: [valueReference]
                index: 45
              valueReference:
                short: Where it should happen
                refers: ['http://hl7.org/fhir/StructureDefinition/Location']
                type: Reference
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 46
        performer:
          match: {url: null}
          schema:
            isModifier: false
            short: Who will be responsible?
            array: true
            index: 47
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Who will be responsible?
                choices: [valueReference]
                index: 49
              valueReference:
                short: Who will be responsible?
                refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                type: Reference
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 50
        reasonReference:
          match: {url: null}
          schema:
            isModifier: false
            short: Condition triggering need for activity
            array: true
            index: 17
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Condition triggering need for activity
                choices: [valueReference]
                index: 19
              valueReference:
                short: Condition triggering need for activity
                refers: ['http://hl7.org/fhir/StructureDefinition/Condition']
                type: Reference
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 20
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/3.0/StructureDefinition/extension-CarePlan.activity.detail'}
    index: 68
package_version: 0.0.1-snapshot-1
extensions:
  description:
    url: null
    isModifier: false
    short: Extra info describing activity to perform
    index: 64
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Extra info describing activity to perform
        choices: [valueString]
        index: 66
      valueString:
        base: {path: 'Extension.value[x]'}
        type: string
        short: Extra info describing activity to perform
        choiceOf: value
        index: 67
  category:
    url: null
    isModifier: false
    short: diet | drug | encounter | observation | procedure | supply | other
    index: 1
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: diet | drug | encounter | observation | procedure | supply | other
        choices: [valueCodeableConcept]
        index: 3
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: diet | drug | encounter | observation | procedure | supply | other
        choiceOf: value
        index: 4
  definition:
    url: null
    isModifier: false
    short: Protocol or definition
    index: 5
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Protocol or definition
        choices: [valueReference]
        index: 7
      valueReference:
        short: Protocol or definition
        refers: ['http://hl7.org/fhir/StructureDefinition/ActivityDefinition', 'http://hl7.org/fhir/StructureDefinition/PlanDefinition', 'http://hl7.org/fhir/StructureDefinition/Questionnaire']
        type: Reference
        base: {path: 'Extension.value[x]'}
        choiceOf: value
        index: 8
  prohibited:
    url: null
    isModifier: true
    short: Do NOT do
    isModifierReason: This extension is a modifier because the target element CarePlan.activity.detail.prohibited is flagged IsModifier
    index: 33
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Do NOT do
        choices: [valueBoolean]
        index: 35
      valueBoolean:
        base: {path: 'Extension.value[x]'}
        type: boolean
        short: Do NOT do
        choiceOf: value
        index: 36
  goal:
    url: null
    isModifier: false
    short: Goals this activity relates to
    array: true
    index: 21
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Goals this activity relates to
        choices: [valueReference]
        index: 23
      valueReference:
        short: Goals this activity relates to
        refers: ['http://hl7.org/fhir/StructureDefinition/Goal']
        type: Reference
        base: {path: 'Extension.value[x]'}
        choiceOf: value
        index: 24
  reasonCode:
    url: null
    isModifier: false
    short: Why activity should be done or why activity was prohibited
    array: true
    index: 13
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Why activity should be done or why activity was prohibited
        choices: [valueCodeableConcept]
        index: 15
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Why activity should be done or why activity was prohibited
        choiceOf: value
        index: 16
  statusReason:
    url: null
    isModifier: false
    short: Reason for current status
    index: 29
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Reason for current status
        choices: [valueString]
        index: 31
      valueString:
        base: {path: 'Extension.value[x]'}
        type: string
        short: Reason for current status
        choiceOf: value
        index: 32
  product[x]:
    url: null
    isModifier: false
    short: What is to be administered/supplied
    index: 51
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: What is to be administered/supplied
        choices: [valueCodeableConcept, valueReference]
        index: 53
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: What is to be administered/supplied
        choiceOf: value
        index: 54
      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: 55
  dailyAmount:
    url: null
    isModifier: false
    short: How to consume/day?
    index: 56
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: How to consume/day?
        choices: [valueQuantity]
        index: 58
      valueQuantity:
        base: {path: 'Extension.value[x]'}
        type: Quantity
        short: How to consume/day?
        choiceOf: value
        index: 59
  status:
    url: null
    isModifier: true
    short: not-started | scheduled | in-progress | on-hold | completed | cancelled | unknown
    _required: true
    isModifierReason: This extension is a modifier because the target element CarePlan.activity.detail.status is flagged IsModifier
    index: 25
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: not-started | scheduled | in-progress | on-hold | completed | cancelled | unknown
        choices: [valueCode]
        index: 27
      valueCode:
        base: {path: 'Extension.value[x]'}
        type: code
        short: not-started | scheduled | in-progress | on-hold | completed | cancelled | unknown
        choiceOf: value
        index: 28
  scheduled[x]:
    url: null
    isModifier: false
    short: When activity is to occur
    index: 37
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: When activity is to occur
        choices: [valueTiming, valuePeriod, valueString]
        index: 39
      valueTiming:
        base: {path: 'Extension.value[x]'}
        type: Timing
        short: When activity is to occur
        choiceOf: value
        index: 40
      valuePeriod:
        base: {path: 'Extension.value[x]'}
        type: Period
        short: When activity is to occur
        choiceOf: value
        index: 41
      valueString:
        base: {path: 'Extension.value[x]'}
        type: string
        short: When activity is to occur
        choiceOf: value
        index: 42
  code:
    url: null
    isModifier: false
    short: Detail type of activity
    index: 9
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Detail type of activity
        choices: [valueCodeableConcept]
        index: 11
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Detail type of activity
        choiceOf: value
        index: 12
  quantity:
    url: null
    isModifier: false
    short: How much to administer/supply/consume
    index: 60
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: How much to administer/supply/consume
        choices: [valueQuantity]
        index: 62
      valueQuantity:
        base: {path: 'Extension.value[x]'}
        type: Quantity
        short: How much to administer/supply/consume
        choiceOf: value
        index: 63
  location:
    url: null
    isModifier: false
    short: Where it should happen
    index: 43
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Where it should happen
        choices: [valueReference]
        index: 45
      valueReference:
        short: Where it should happen
        refers: ['http://hl7.org/fhir/StructureDefinition/Location']
        type: Reference
        base: {path: 'Extension.value[x]'}
        choiceOf: value
        index: 46
  performer:
    url: null
    isModifier: false
    short: Who will be responsible?
    array: true
    index: 47
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Who will be responsible?
        choices: [valueReference]
        index: 49
      valueReference:
        short: Who will be responsible?
        refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
        type: Reference
        base: {path: 'Extension.value[x]'}
        choiceOf: value
        index: 50
  reasonReference:
    url: null
    isModifier: false
    short: Condition triggering need for activity
    array: true
    index: 17
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Condition triggering need for activity
        choices: [valueReference]
        index: 19
      valueReference:
        short: Condition triggering need for activity
        refers: ['http://hl7.org/fhir/StructureDefinition/Condition']
        type: Reference
        base: {path: 'Extension.value[x]'}
        choiceOf: value
        index: 20
class: extension
kind: complex-type
url: http://hl7.org/fhir/3.0/StructureDefinition/extension-CarePlan.activity.detail
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url, extension]