Clinical Document Architecture with Australian Schema - Local Development build (v1.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://hl7.org/cda/stds/core/StructureDefinition/Precondition2 | Version: 1.0.1 | |||
| Active as of 2025-10-10 | Maturity Level: 1 | Responsible: HL7 | 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.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | InfrastructureRoot | XML Namespace: urn:hl7-org:sdtc Base for all types and resources Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: precondition2-only-one |
![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() |
0..* | CS | ||
![]() ![]() |
C | 0..1 | II | Constraints: II-1 |
![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() |
0..* | II | ||
![]() ![]() |
0..1 | cs | Binding: CDAActRelationshipType (required) Fixed Value: PRCN | |
![]() ![]() |
0..1 | bl | ||
![]() ![]() |
1..1 | CS | XML Namespace: urn:hl7-org:sdtc Binding: RelationshipConjunction (2.0.0) (required) | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | Criterion | XML Namespace: urn:hl7-org:sdtc | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Precondition2.nullFlavor | Base | required | CDANullFlavor | 📦1.0.1 | This IG |
| Precondition2.typeId.nullFlavor | Base | required | CDANullFlavor | 📦1.0.1 | This IG |
| Precondition2.typeCode | Base | required | CDAActRelationshipType | 📦1.0.1 | This IG |
| Precondition2.conjunctionCode | Base | required | RelationshipConjunction | 📍2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| II-1 | error | Precondition2.typeId | An II instance must have either a root or an nullFlavor. |
root.exists() or nullFlavor.exists()
|
| precondition2-only-one | error | Precondition2 | SHALL 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | InfrastructureRoot | XML Namespace: urn:hl7-org:sdtc Base for all types and resources Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: precondition2-only-one |
![]() ![]() |
0..1 | cs | Binding: CDAActRelationshipType (required) Fixed Value: PRCN | |
![]() ![]() |
0..1 | bl | ||
![]() ![]() |
1..1 | CS | XML Namespace: urn:hl7-org:sdtc Binding: RelationshipConjunction (2.0.0) (required) | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | Criterion | XML Namespace: urn:hl7-org:sdtc | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Precondition2.typeCode | Base | required | CDAActRelationshipType | 📦1.0.1 | This IG |
| Precondition2.conjunctionCode | Base | required | RelationshipConjunction | 📍2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| precondition2-only-one | error | Precondition2 | SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion |
(allTrue | allFalse | atLeastOneTrue | atLeastOneFalse | onlyOneTrue | onlyOneFalse | criterion).count() = 1
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | InfrastructureRoot | XML Namespace: urn:hl7-org:sdtc Base for all types and resources Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: precondition2-only-one |
![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() |
0..* | CS | ||
![]() ![]() |
C | 0..1 | II | Constraints: II-1 |
![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() |
0..* | II | ||
![]() ![]() |
0..1 | cs | Binding: CDAActRelationshipType (required) Fixed Value: PRCN | |
![]() ![]() |
0..1 | bl | ||
![]() ![]() |
1..1 | CS | XML Namespace: urn:hl7-org:sdtc Binding: RelationshipConjunction (2.0.0) (required) | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | Criterion | XML Namespace: urn:hl7-org:sdtc | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Precondition2.nullFlavor | Base | required | CDANullFlavor | 📦1.0.1 | This IG |
| Precondition2.typeId.nullFlavor | Base | required | CDANullFlavor | 📦1.0.1 | This IG |
| Precondition2.typeCode | Base | required | CDAActRelationshipType | 📦1.0.1 | This IG |
| Precondition2.conjunctionCode | Base | required | RelationshipConjunction | 📍2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| II-1 | error | Precondition2.typeId | An II instance must have either a root or an nullFlavor. |
root.exists() or nullFlavor.exists()
|
| precondition2-only-one | error | Precondition2 | SHALL 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:
Maturity: 1
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | InfrastructureRoot | XML Namespace: urn:hl7-org:sdtc Base for all types and resources Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: precondition2-only-one |
![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() |
0..* | CS | ||
![]() ![]() |
C | 0..1 | II | Constraints: II-1 |
![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() |
0..* | II | ||
![]() ![]() |
0..1 | cs | Binding: CDAActRelationshipType (required) Fixed Value: PRCN | |
![]() ![]() |
0..1 | bl | ||
![]() ![]() |
1..1 | CS | XML Namespace: urn:hl7-org:sdtc Binding: RelationshipConjunction (2.0.0) (required) | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | Criterion | XML Namespace: urn:hl7-org:sdtc | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Precondition2.nullFlavor | Base | required | CDANullFlavor | 📦1.0.1 | This IG |
| Precondition2.typeId.nullFlavor | Base | required | CDANullFlavor | 📦1.0.1 | This IG |
| Precondition2.typeCode | Base | required | CDAActRelationshipType | 📦1.0.1 | This IG |
| Precondition2.conjunctionCode | Base | required | RelationshipConjunction | 📍2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| II-1 | error | Precondition2.typeId | An II instance must have either a root or an nullFlavor. |
root.exists() or nullFlavor.exists()
|
| precondition2-only-one | error | Precondition2 | SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion |
(allTrue | allFalse | atLeastOneTrue | atLeastOneFalse | onlyOneTrue | onlyOneFalse | criterion).count() = 1
|
Differential View
This structure is derived from InfrastructureRoot
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | InfrastructureRoot | XML Namespace: urn:hl7-org:sdtc Base for all types and resources Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: precondition2-only-one |
![]() ![]() |
0..1 | cs | Binding: CDAActRelationshipType (required) Fixed Value: PRCN | |
![]() ![]() |
0..1 | bl | ||
![]() ![]() |
1..1 | CS | XML Namespace: urn:hl7-org:sdtc Binding: RelationshipConjunction (2.0.0) (required) | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | Criterion | XML Namespace: urn:hl7-org:sdtc | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Precondition2.typeCode | Base | required | CDAActRelationshipType | 📦1.0.1 | This IG |
| Precondition2.conjunctionCode | Base | required | RelationshipConjunction | 📍2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| precondition2-only-one | error | Precondition2 | SHALL have only one of allTrue, allFalse, atLeastOneTrue, atLeastOneFalse, onlyOneTrue, onlyOneFalse, or criterion |
(allTrue | allFalse | atLeastOneTrue | atLeastOneFalse | onlyOneTrue | onlyOneFalse | criterion).count() = 1
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | InfrastructureRoot | XML Namespace: urn:hl7-org:sdtc Base for all types and resources Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: precondition2-only-one |
![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() |
0..* | CS | ||
![]() ![]() |
C | 0..1 | II | Constraints: II-1 |
![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() |
0..* | II | ||
![]() ![]() |
0..1 | cs | Binding: CDAActRelationshipType (required) Fixed Value: PRCN | |
![]() ![]() |
0..1 | bl | ||
![]() ![]() |
1..1 | CS | XML Namespace: urn:hl7-org:sdtc Binding: RelationshipConjunction (2.0.0) (required) | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | PreconditionBase | XML Namespace: urn:hl7-org:sdtc | |
![]() ![]() ![]() |
0..1 | Criterion | XML Namespace: urn:hl7-org:sdtc | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Precondition2.nullFlavor | Base | required | CDANullFlavor | 📦1.0.1 | This IG |
| Precondition2.typeId.nullFlavor | Base | required | CDANullFlavor | 📦1.0.1 | This IG |
| Precondition2.typeCode | Base | required | CDAActRelationshipType | 📦1.0.1 | This IG |
| Precondition2.conjunctionCode | Base | required | RelationshipConjunction | 📍2.0.0 | THO v5.2 |
| Id | Grade | Path(s) | Description | Expression |
| II-1 | error | Precondition2.typeId | An II instance must have either a root or an nullFlavor. |
root.exists() or nullFlavor.exists()
|
| precondition2-only-one | error | Precondition2 | SHALL 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:
Maturity: 1