Clinical Document Architecture
2.0.1-sd - release

This page is part of the CDA: Clinical Document Architecture (v2.0.1-sd: CDA 2.0 - Informative) generated with FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Logical Model: Precondition2 (CDA Class)

Official URL: http://hl7.org/cda/stds/core/StructureDefinition/Precondition2 Version: 2.0.1-sd
Active as of 2024-12-18 Computable Name: Precondition2

The sdtc:precondition2 extension allows a more flexible set of skip conditions on a set of criteria. Without this extension the skip condition is restricted to all criteria true. The extension allows a choice of the following logical operation extensions sdtc:allTrue, sdtc:allFalse, sdtc:atLeastOneTrue, sdtc:atLeastOneFalse, sdtc:onlyOneFalse, and sdtc:onlyOneTrue to be placed upon the encapsulated criteria or a criterion. The logical operation extensions nest a [0 .. *] sdtc:precondition2 extension allowing for a complex specification of nested skip conditions if needed.

Usage:

Formal Views of Template Content

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

This structure is derived from InfrastructureRoot

NameFlagsCard.TypeDescription & Constraintsdoco
.. Precondition2 C 1..1 InfrastructureRoot XML Namespace: urn:hl7-org:sdtc
Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId
Base for all types and resources
Instance of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
precondition2-only-one: SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion
... @typeCode 0..1 cs Binding: CDAActRelationshipType (required)
Fixed Value: PRCN
... @negationInd 0..1 bl
... conjunctionCode 1..1 CS XML Namespace: urn:hl7-org:sdtc
Binding: RelationshipConjunction (2.0.0) (required)
.... allTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... allFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... atLeastOneTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... atLeastOneFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... onlyOneTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... onlyOneFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... criterion 0..1 Criterion XML Namespace: urn:hl7-org:sdtc

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / CodeURI
Precondition2.typeCoderequiredFixed Value: PRCN
http://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType
from this IG
Precondition2.conjunctionCoderequiredRelationshipConjunction
http://terminology.hl7.org/ValueSet/v3-RelationshipConjunction|2.0.0

Constraints

IdGradePath(s)DetailsRequirements
precondition2-only-oneerrorPrecondition2SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion
: (allTrue | allFalse | atLeastOneTrue | atLeastOneFalse | onlyOneTrue | onlyOneFalse | criterion).count() = 1
NameFlagsCard.TypeDescription & Constraintsdoco
.. Precondition2 C 1..1 InfrastructureRoot XML Namespace: urn:hl7-org:sdtc
Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId
Base for all types and resources
Instance of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
precondition2-only-one: SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion
... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
... realmCode 0..* CS
... typeId C 0..1 II II-1: An II instance must have either a root or an nullFlavor.
.... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
.... @assigningAuthorityName 0..1 st
.... @displayable 0..1 bl
.... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
.... @extension 1..1 st
... @typeCode 0..1 cs Binding: CDAActRelationshipType (required)
Fixed Value: PRCN
... @negationInd 0..1 bl
... conjunctionCode 1..1 CS XML Namespace: urn:hl7-org:sdtc
Binding: RelationshipConjunction (2.0.0) (required)
... (Choice of one) 1..1
.... allTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... allFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... atLeastOneTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... atLeastOneFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... onlyOneTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... onlyOneFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... criterion 0..1 Criterion XML Namespace: urn:hl7-org:sdtc

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Precondition2.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
from this IG
Precondition2.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
from this IG
Precondition2.typeCoderequiredFixed Value: PRCN
http://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType
from this IG
Precondition2.conjunctionCoderequiredRelationshipConjunction
http://terminology.hl7.org/ValueSet/v3-RelationshipConjunction|2.0.0

Constraints

IdGradePath(s)DetailsRequirements
II-1errorPrecondition2.typeIdAn II instance must have either a root or an nullFlavor.
: root.exists() or nullFlavor.exists()
precondition2-only-oneerrorPrecondition2SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion
: (allTrue | allFalse | atLeastOneTrue | atLeastOneFalse | onlyOneTrue | onlyOneFalse | criterion).count() = 1
NameFlagsCard.TypeDescription & Constraintsdoco
.. Precondition2 C 1..1 InfrastructureRoot XML Namespace: urn:hl7-org:sdtc
Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId
Base for all types and resources
Instance of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
precondition2-only-one: SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion
... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
... realmCode 0..* CS
... typeId C 0..1 II II-1: An II instance must have either a root or an nullFlavor.
.... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
.... @assigningAuthorityName 0..1 st
.... @displayable 0..1 bl
.... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
.... @extension 1..1 st
... @typeCode 0..1 cs Binding: CDAActRelationshipType (required)
Fixed Value: PRCN
... @negationInd 0..1 bl
... conjunctionCode 1..1 CS XML Namespace: urn:hl7-org:sdtc
Binding: RelationshipConjunction (2.0.0) (required)
... (Choice of one) 1..1
.... allTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... allFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... atLeastOneTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... atLeastOneFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... onlyOneTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... onlyOneFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... criterion 0..1 Criterion XML Namespace: urn:hl7-org:sdtc

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Precondition2.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
from this IG
Precondition2.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
from this IG
Precondition2.typeCoderequiredFixed Value: PRCN
http://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType
from this IG
Precondition2.conjunctionCoderequiredRelationshipConjunction
http://terminology.hl7.org/ValueSet/v3-RelationshipConjunction|2.0.0

Constraints

IdGradePath(s)DetailsRequirements
II-1errorPrecondition2.typeIdAn II instance must have either a root or an nullFlavor.
: root.exists() or nullFlavor.exists()
precondition2-only-oneerrorPrecondition2SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion
: (allTrue | allFalse | atLeastOneTrue | atLeastOneFalse | onlyOneTrue | onlyOneFalse | criterion).count() = 1

This structure is derived from InfrastructureRoot

Summary

Mandatory: 0 element(1 nested mandatory element)
Fixed: 1 element

Structures

This structure refers to these other structures:

Differential View

This structure is derived from InfrastructureRoot

NameFlagsCard.TypeDescription & Constraintsdoco
.. Precondition2 C 1..1 InfrastructureRoot XML Namespace: urn:hl7-org:sdtc
Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId
Base for all types and resources
Instance of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
precondition2-only-one: SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion
... @typeCode 0..1 cs Binding: CDAActRelationshipType (required)
Fixed Value: PRCN
... @negationInd 0..1 bl
... conjunctionCode 1..1 CS XML Namespace: urn:hl7-org:sdtc
Binding: RelationshipConjunction (2.0.0) (required)
.... allTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... allFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... atLeastOneTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... atLeastOneFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... onlyOneTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... onlyOneFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... criterion 0..1 Criterion XML Namespace: urn:hl7-org:sdtc

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / CodeURI
Precondition2.typeCoderequiredFixed Value: PRCN
http://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType
from this IG
Precondition2.conjunctionCoderequiredRelationshipConjunction
http://terminology.hl7.org/ValueSet/v3-RelationshipConjunction|2.0.0

Constraints

IdGradePath(s)DetailsRequirements
precondition2-only-oneerrorPrecondition2SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion
: (allTrue | allFalse | atLeastOneTrue | atLeastOneFalse | onlyOneTrue | onlyOneFalse | criterion).count() = 1

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Precondition2 C 1..1 InfrastructureRoot XML Namespace: urn:hl7-org:sdtc
Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId
Base for all types and resources
Instance of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
precondition2-only-one: SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion
... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
... realmCode 0..* CS
... typeId C 0..1 II II-1: An II instance must have either a root or an nullFlavor.
.... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
.... @assigningAuthorityName 0..1 st
.... @displayable 0..1 bl
.... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
.... @extension 1..1 st
... @typeCode 0..1 cs Binding: CDAActRelationshipType (required)
Fixed Value: PRCN
... @negationInd 0..1 bl
... conjunctionCode 1..1 CS XML Namespace: urn:hl7-org:sdtc
Binding: RelationshipConjunction (2.0.0) (required)
... (Choice of one) 1..1
.... allTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... allFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... atLeastOneTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... atLeastOneFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... onlyOneTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... onlyOneFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... criterion 0..1 Criterion XML Namespace: urn:hl7-org:sdtc

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Precondition2.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
from this IG
Precondition2.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
from this IG
Precondition2.typeCoderequiredFixed Value: PRCN
http://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType
from this IG
Precondition2.conjunctionCoderequiredRelationshipConjunction
http://terminology.hl7.org/ValueSet/v3-RelationshipConjunction|2.0.0

Constraints

IdGradePath(s)DetailsRequirements
II-1errorPrecondition2.typeIdAn II instance must have either a root or an nullFlavor.
: root.exists() or nullFlavor.exists()
precondition2-only-oneerrorPrecondition2SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion
: (allTrue | allFalse | atLeastOneTrue | atLeastOneFalse | onlyOneTrue | onlyOneFalse | criterion).count() = 1

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Precondition2 C 1..1 InfrastructureRoot XML Namespace: urn:hl7-org:sdtc
Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId
Base for all types and resources
Instance of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
precondition2-only-one: SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion
... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
... realmCode 0..* CS
... typeId C 0..1 II II-1: An II instance must have either a root or an nullFlavor.
.... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
.... @assigningAuthorityName 0..1 st
.... @displayable 0..1 bl
.... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
.... @extension 1..1 st
... @typeCode 0..1 cs Binding: CDAActRelationshipType (required)
Fixed Value: PRCN
... @negationInd 0..1 bl
... conjunctionCode 1..1 CS XML Namespace: urn:hl7-org:sdtc
Binding: RelationshipConjunction (2.0.0) (required)
... (Choice of one) 1..1
.... allTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... allFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... atLeastOneTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... atLeastOneFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... onlyOneTrue 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... onlyOneFalse 0..1 PreconditionBase XML Namespace: urn:hl7-org:sdtc
.... criterion 0..1 Criterion XML Namespace: urn:hl7-org:sdtc

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Precondition2.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
from this IG
Precondition2.typeId.nullFlavorrequiredCDANullFlavor
http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
from this IG
Precondition2.typeCoderequiredFixed Value: PRCN
http://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType
from this IG
Precondition2.conjunctionCoderequiredRelationshipConjunction
http://terminology.hl7.org/ValueSet/v3-RelationshipConjunction|2.0.0

Constraints

IdGradePath(s)DetailsRequirements
II-1errorPrecondition2.typeIdAn II instance must have either a root or an nullFlavor.
: root.exists() or nullFlavor.exists()
precondition2-only-oneerrorPrecondition2SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion
: (allTrue | allFalse | atLeastOneTrue | atLeastOneFalse | onlyOneTrue | onlyOneFalse | criterion).count() = 1

This structure is derived from InfrastructureRoot

Summary

Mandatory: 0 element(1 nested mandatory element)
Fixed: 1 element

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel