PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@3.0.0
    http://hl7.org/cda/us/ccda/StructureDefinition/InterventionAct
description: This template represents an Intervention Act. It is a wrapper for intervention-type activities considered to be parts of the same intervention. For example, an activity such as \"elevate head of bed\" combined with \"provide humidified O2 per nasal cannula\" may be the interventions performed for a health concern of \"respiratory insufficiency\" to achieve a goal of \"pulse oximetry greater than 92%\". These intervention activities may be newly described or derived from a variety of sources within an EHR.\n\nInterventions are actions taken to increase the likelihood of achieving the patient's or providers' goals. An Intervention Act should contain a reference to a Goal Observation representing the reason for the intervention.\n\nIntervention Acts can be related to each other, or to Planned Intervention Acts. (E.g., a Planned Intervention Act with moodCode of INT could be related to a series of Intervention Acts with moodCode of EVN, each having an effectiveTime containing the time of the intervention.) \n\nAll interventions referenced in an Intervention Act must have a moodCode of EVN, indicating that they have occurred.
package_name: hl7.cda.us.ccda
derivation: constraint
name: InterventionAct
type: http://hl7.org/cda/stds/core/StructureDefinition/Act
elements:
  entryRelationship:
    index: 16
    slicing:
      rules: open
      discriminator:
      - {path: typeCode, type: value}
      - {path: observation, type: profile}
      - {path: substanceAdministration, type: profile}
      - {path: act, type: profile}
      - {path: procedure, type: profile}
      - {path: encounter, type: profile}
      - {path: supply, type: profile}
      min: null
      slices:
        medicationActivity:
          match: {typeCode: REFR}
          schema:
            array: true
            index: 23
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 24
              substanceAdministration: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration', index: 25}
            required: [substanceAdministration]
        interventionAct:
          match: {typeCode: REFR}
          schema:
            short: The following entryRelationship represents the relationship between two Intervention Acts (Intervention RELATES TO Intervention).
            array: true
            index: 26
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 27
              act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 28}
            required: [act]
        advanceDirectiveObservation:
          match: {typeCode: REFR}
          schema:
            array: true
            index: 17
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 18
              observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 19}
            required: [observation]
        immunizationActivity:
          match: {typeCode: REFR}
          schema:
            array: true
            index: 20
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 21
              substanceAdministration: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration', index: 22}
            required: [substanceAdministration]
        entryReferenceRefr:
          match: {typeCode: REFR}
          schema:
            short: Where an Intervention needs to reference another entry already described in the CDA document instance, rather than repeating the full content of the entry, the Entry Reference template may be used to reference this entry.
            array: true
            index: 44
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 45
              act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 46}
            required: [act]
        procedureActivityProcedure:
          match: {typeCode: REFR}
          schema:
            array: true
            index: 29
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 30
              procedure: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Procedure', index: 31}
            required: [procedure]
        encounterActivity:
          match: {typeCode: REFR}
          schema:
            array: true
            index: 32
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 33
              encounter: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Encounter', index: 34}
            required: [encounter]
        entryReferenceRson:
          match: {typeCode: RSON}
          schema:
            short: An Intervention Act should reference a Goal Observation. Because the Goal Observation is already described in the CDA document instance's Goals section, rather than repeating the full content of the Goal Observation, the Entry Reference template can be used to reference this entry. The following entryRelationship represents an Entry Reference to Goal Observation.
            constraint:
              entry-ref-goal: {human: This entryReference template **SHALL** reference an instance of a Goal Observation template., source: 'http://hl7.org/cda/us/ccda/StructureDefinition/InterventionAct', severity: error, expression: '%resource.descendants().ofType(CDA.Observation).where(templateId.exists($this.root = ''2.16.840.1.113883.10.20.22.4.121'' and $this.extension = ''2022-06-01'') and id.exists($this.root = %context.act.id.first().root and $this.extension ~ %context.act.id.first().extension))'}
            array: true
            index: 47
            elements:
              typeCode:
                pattern: {type: Code, value: RSON}
                index: 48
              act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 49}
            required: [act]
        nonMedSupply:
          match: {typeCode: REFR}
          schema:
            array: true
            index: 38
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 39
              supply: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Supply', index: 40}
            required: [supply]
        plannedInterventionAct:
          match: {typeCode: REFR}
          schema:
            array: true
            index: 53
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 54
              act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 55}
            required: [act]
        handoffCommunicationParticipants:
          match: {typeCode: REFR}
          schema:
            array: true
            index: 50
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 51
              act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 52}
            required: [act]
        instruction:
          match: {typeCode: REFR}
          schema:
            array: true
            index: 35
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 36
              act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 37}
            required: [act]
        nutritionRecommendation:
          match: {typeCode: REFR}
          schema:
            array: true
            index: 41
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 42
              act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 43}
            required: [act]
  classCode:
    pattern: {type: Code, value: ACT}
    index: 4
  author: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Author', index: 15}
  reference:
    index: 56
    elements:
      typeCode:
        pattern: {type: Code, value: REFR}
        index: 57
      externalDocument: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/ExternalDocument', index: 58}
    required: [externalDocument]
  id: {index: 6}
  code:
    index: 7
    elements:
      code:
        pattern: {type: Code, value: '362956003'}
        index: 8
      codeSystem:
        pattern: {type: String, value: 2.16.840.1.113883.6.96}
        index: 9
    required: [codeSystem, code]
  moodCode:
    pattern: {type: Code, value: EVN}
    index: 5
  effectiveTime: {index: 14}
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      - {path: extension, type: value}
      min: 1
      slices:
        intervention-act:
          match: {root: 2.16.840.1.113883.10.20.22.4.131, extension: '2015-08-01'}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.131}
                index: 2
              extension:
                pattern: {type: String, value: '2015-08-01'}
                index: 3
            required: [root, extension]
            extensions: {}
  statusCode:
    index: 12
    elements:
      code:
        pattern: {type: Code, value: completed}
        index: 13
    required: [code]
  text:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 10
    elements:
      reference:
        constraint:
          value-starts-octothorpe: {human: 'If reference/@value is present, it SHALL begin with a ''#'' and SHALL point to its corresponding narrative', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/InterventionAct', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 11
package_version: 3.0.0
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/InterventionAct
base: http://hl7.org/cda/stds/core/StructureDefinition/Act
version: 3.0.0
required: [id, statusCode, templateId]