PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@3.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/AuthorizationActivity
description: An Authorization Activity represents authorizations or pre-authorizations currently active for the patient for the particular payer. \n\nAuthorizations are represented using an act subordinate to the policy or program that provided it. The authorization refers to the policy or program. Authorized treatments can be grouped into an organizer class, where common properties, such as the reason for the authorization, can be expressed. Subordinate acts represent what was authorized.
package_name: hl7.cda.us.ccda
derivation: constraint
name: AuthorizationActivity
type: http://hl7.org/cda/stds/core/StructureDefinition/Act
elements:
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      min: 1
      slices:
        authorization-activity:
          match: {root: 2.16.840.1.113883.10.20.1.19}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.1.19}
                index: 2
              extension: {index: 3}
            required: [root]
            extensions: {}
  classCode:
    pattern: {type: Code, value: ACT}
    index: 4
  moodCode:
    pattern: {type: Code, value: EVN}
    index: 5
  id: {index: 6}
  text:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 7
    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/AuthorizationActivity', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 8
  entryRelationship:
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: typeCode, type: value}
      min: 1
      slices:
        target:
          match: {typeCode: SUBJ}
          schema:
            short: The target of an authorization activity MAY contain one or more performer, to indicate the providers that have been authorized to provide treatment (CONF:81-8952).
            constraint:
              81-8951: {human: 'The target of an authorization activity with act/entryRelationship/@typeCode="SUBJ" SHALL be a clinical statement with moodCode="PRMS" Promise (CONF:81-8951).', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/AuthorizationActivity', severity: error, expression: (act | encounter | observation | observationMedia | organizer | procedure | regionOfInterest | substanceAdministration | supply).where(moodCode='PRMS').exists()}
            array: true
            min: 1
            _required: true
            index: 10
            elements:
              typeCode:
                pattern: {type: Code, value: SUBJ}
                index: 11
package_version: 3.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/AuthorizationActivity
base: http://hl7.org/cda/stds/core/StructureDefinition/Act
version: 3.0.0-ballot
required: [id, templateId, entryRelationship]