PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@3.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/DrugMonitoringAct
description: This template represents the act of monitoring the patient's medication and includes a participation to record the person responsible for monitoring the medication. The prescriber of the medication is not necessarily the same person or persons monitoring the drug. The effectiveTime indicates the time when the activity is intended to take place.\n\nFor example, a cardiologist may prescribe a patient Warfarin. The patient's primary care provider may monitor the patient's INR and adjust the dosing of the Warfarin based on these laboratory results. Here the person designated to monitor the drug is the primary care provider.
package_name: hl7.cda.us.ccda
derivation: constraint
name: DrugMonitoringAct
type: http://hl7.org/cda/stds/core/StructureDefinition/Act
elements:
  participant:
    index: 15
    slicing:
      rules: open
      discriminator:
      - {path: typeCode, type: value}
      min: 1
      slices:
        participant1:
          match: {typeCode: RESP}
          schema:
            array: true
            min: 1
            _required: true
            index: 16
            elements:
              typeCode:
                pattern: {type: Code, value: RESP}
                index: 17
              participantRole:
                index: 18
                elements:
                  classCode:
                    pattern: {type: Code, value: ASSIGNED}
                    index: 19
                  id: {index: 20}
                  playingEntity:
                    index: 21
                    elements:
                      classCode:
                        pattern: {type: Code, value: PSN}
                        index: 22
                      name: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/PN', index: 23}
                    required: [name]
                required: [id, playingEntity]
  classCode:
    pattern: {type: Code, value: ACT}
    index: 4
  id: {index: 6}
  code:
    index: 7
    elements:
      code:
        pattern: {type: Code, value: '395170001'}
        index: 8
      codeSystem:
        pattern: {type: String, value: 2.16.840.1.113883.6.96}
        index: 9
    required: [codeSystem, code]
  moodCode:
    pattern: {type: Code, value: INT}
    index: 5
  effectiveTime: {index: 14}
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      min: 1
      slices:
        drug-monitoring-act:
          match: {root: 2.16.840.1.113883.10.20.22.4.123}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.123}
                index: 2
              extension: {index: 3}
            required: [root]
            extensions: {}
  statusCode:
    index: 12
    elements:
      code:
        binding: {strength: required, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.15933'}
        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/DrugMonitoringAct', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 11
package_version: 3.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/DrugMonitoringAct
base: http://hl7.org/cda/stds/core/StructureDefinition/Act
version: 3.0.0-ballot
required: [id, effectiveTime, participant, statusCode, templateId]