Consolidated CDA Release 2.1 StructureDefinition Publication
2.1 - CI Build

Consolidated CDA Release 2.1 StructureDefinition Publication, published by Health Level Seven. This is not an authorized publication; it is the continuous build for version 2.1). This version is based on the current content of https://github.com/HL7/CDA-ccda-2.1-sd/ and changes regularly. See the Directory of published versions

## Logical Model: Precondition for Substance Administration

Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/PreconditionforSubstanceAdministration | Version: 2.1
Draft as of 2023-09-29 | Computable Name: PreconditionforSubstanceAdministration
Other Identifiers: id: urn:hl7ii:2.16.840.1.113883.10.20.22.4.25:2014-06-09

A criterion for administration can be used to record that the medication is to be administered only when the associated criteria are met.

Usage:

- Use this Logical Model: Immunization Activity, Medication Activity, Planned Immunization Activity and Planned Medication Activity

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Differential Table
- Key Elements Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from CDAR2.Criterion

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Criterion |  |  | CDAR2.Criterion | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @classCode, @moodCode, templateId, code, text, value
Slices for templateId |  | 1..* | II | Slice: Unordered, Open by value:root, value:extension
templateId:primary |  | 1..1 | II |
root |  | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.25
extension |  | 1..1 | st | Required Pattern: 2014-06-09
code |  | 1..1 | CD |
code |  | 1..1 | cs | Required Pattern: ASSERTION
codeSystem |  | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.5.4
value |  | 1..1 | CD | Binding: Problem (required)
Documentation for this format

#### Terminology Bindings (Differential)

Path | Conformance | ValueSet
Criterion.value | required | Problem

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Criterion |  | 1..1 | CDAR2.Criterion | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @classCode, @moodCode, templateId, code, text, value Base for all types and resources
@classCode |  | 1..1 | cs | Binding: ActClassObservation (required)
Slices for templateId |  | 1..* | II | Slice: Unordered, Open by value:root, value:extension
templateId:primary |  | 1..1 | II |
@root |  | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.25
@extension |  | 1..1 | st | Required Pattern: 2014-06-09
code |  | 1..1 | CD | Binding: v3 Code System ActCode (extensible)
@code |  | 1..1 | cs | Required Pattern: ASSERTION
@codeSystem |  | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.5.4
value |  | 1..1 | CD | Binding: Problem (required)
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet
Criterion.classCode | required | ActClassObservation
Criterion.code | extensible | ActCode
Criterion.value | required | Problem

#### Constraints

Id | Grade | Path(s) | Details | Requirements
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Criterion |  | 1..1 | CDAR2.Criterion | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @classCode, @moodCode, templateId, code, text, value Base for all types and resources
@classCode |  | 1..1 | cs | Binding: ActClassObservation (required)
@moodCode |  | 0..1 | cs | Binding: ActMoodPredicate (required) Fixed Value: EVN.CRT
Slices for templateId |  | 1..* | II | Slice: Unordered, Open by value:root, value:extension
templateId:primary |  | 1..1 | II |
@nullFlavor |  | 0..1 | cs | Binding: NullFlavor (required)
@assigningAuthorityName |  | 0..1 | st |
@displayable |  | 0..1 | bl |
@root |  | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.25
@extension |  | 1..1 | st | Required Pattern: 2014-06-09
code |  | 1..1 | CD | Binding: v3 Code System ActCode (extensible)
@nullFlavor |  | 0..1 | cs | Binding: NullFlavor (required)
@code |  | 1..1 | cs | Required Pattern: ASSERTION
@codeSystem |  | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.5.4
@codeSystemName |  | 0..1 | st |
@codeSystemVersion |  | 0..1 | st |
@displayName |  | 0..1 | st |
@sdtcValueSet |  | 0..1 | oid | XML Namespace: urn:hl7-org:sdtc XML: valueSet (urn:hl7-org:sdtc)
@sdtcValueSetVersion |  | 0..1 | st | XML Namespace: urn:hl7-org:sdtc XML: valueSetVersion (urn:hl7-org:sdtc)
originalText |  | 0..1 | ED |
qualifier |  | 0..* | CR |
translation |  | 0..* | CD |
text |  | 0..1 | ED |
value |  | 1..1 | CD | Binding: Problem (required)
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet / Code
Criterion.classCode | required | ActClassObservation
Criterion.moodCode | required | Fixed Value: EVN.CRT
Criterion.templateId:primary.nullFlavor | required | NullFlavor
Criterion.code | extensible | ActCode
Criterion.code.nullFlavor | required | NullFlavor
Criterion.value | required | Problem

#### Constraints

Id | Grade | Path(s) | Details | Requirements
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |

This structure is derived from CDAR2.Criterion

Summary

Mandatory: 8 elements

Slices

This structure defines the following Slices:

- The element Criterion.templateId is sliced based on the values of value:root, value:extension

Differential View

This structure is derived from CDAR2.Criterion

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Criterion |  |  | CDAR2.Criterion | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @classCode, @moodCode, templateId, code, text, value
Slices for templateId |  | 1..* | II | Slice: Unordered, Open by value:root, value:extension
templateId:primary |  | 1..1 | II |
root |  | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.25
extension |  | 1..1 | st | Required Pattern: 2014-06-09
code |  | 1..1 | CD |
code |  | 1..1 | cs | Required Pattern: ASSERTION
codeSystem |  | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.5.4
value |  | 1..1 | CD | Binding: Problem (required)
Documentation for this format

#### Terminology Bindings (Differential)

Path | Conformance | ValueSet
Criterion.value | required | Problem

Key Elements View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Criterion |  | 1..1 | CDAR2.Criterion | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @classCode, @moodCode, templateId, code, text, value Base for all types and resources
@classCode |  | 1..1 | cs | Binding: ActClassObservation (required)
Slices for templateId |  | 1..* | II | Slice: Unordered, Open by value:root, value:extension
templateId:primary |  | 1..1 | II |
@root |  | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.25
@extension |  | 1..1 | st | Required Pattern: 2014-06-09
code |  | 1..1 | CD | Binding: v3 Code System ActCode (extensible)
@code |  | 1..1 | cs | Required Pattern: ASSERTION
@codeSystem |  | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.5.4
value |  | 1..1 | CD | Binding: Problem (required)
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet
Criterion.classCode | required | ActClassObservation
Criterion.code | extensible | ActCode
Criterion.value | required | Problem

#### Constraints

Id | Grade | Path(s) | Details | Requirements
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Criterion |  | 1..1 | CDAR2.Criterion | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @classCode, @moodCode, templateId, code, text, value Base for all types and resources
@classCode |  | 1..1 | cs | Binding: ActClassObservation (required)
@moodCode |  | 0..1 | cs | Binding: ActMoodPredicate (required) Fixed Value: EVN.CRT
Slices for templateId |  | 1..* | II | Slice: Unordered, Open by value:root, value:extension
templateId:primary |  | 1..1 | II |
@nullFlavor |  | 0..1 | cs | Binding: NullFlavor (required)
@assigningAuthorityName |  | 0..1 | st |
@displayable |  | 0..1 | bl |
@root |  | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.25
@extension |  | 1..1 | st | Required Pattern: 2014-06-09
code |  | 1..1 | CD | Binding: v3 Code System ActCode (extensible)
@nullFlavor |  | 0..1 | cs | Binding: NullFlavor (required)
@code |  | 1..1 | cs | Required Pattern: ASSERTION
@codeSystem |  | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.5.4
@codeSystemName |  | 0..1 | st |
@codeSystemVersion |  | 0..1 | st |
@displayName |  | 0..1 | st |
@sdtcValueSet |  | 0..1 | oid | XML Namespace: urn:hl7-org:sdtc XML: valueSet (urn:hl7-org:sdtc)
@sdtcValueSetVersion |  | 0..1 | st | XML Namespace: urn:hl7-org:sdtc XML: valueSetVersion (urn:hl7-org:sdtc)
originalText |  | 0..1 | ED |
qualifier |  | 0..* | CR |
translation |  | 0..* | CD |
text |  | 0..1 | ED |
value |  | 1..1 | CD | Binding: Problem (required)
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet / Code
Criterion.classCode | required | ActClassObservation
Criterion.moodCode | required | Fixed Value: EVN.CRT
Criterion.templateId:primary.nullFlavor | required | NullFlavor
Criterion.code | extensible | ActCode
Criterion.code.nullFlavor | required | NullFlavor
Criterion.value | required | Problem

#### Constraints

Id | Grade | Path(s) | Details | Requirements
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |

This structure is derived from CDAR2.Criterion

Summary

Mandatory: 8 elements

Slices

This structure defines the following Slices:

- The element Criterion.templateId is sliced based on the values of value:root, value:extension

Other representations of profile: CSV, Excel