This page is part of the CDA: Clinical Document Architecture (v2.0.0-sd-snapshot1: CDA2 Draft) based on FHIR (HL7® FHIR® Standard) v5.0.0. . For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/cda/stds/core/StructureDefinition/Precondition2 | Version: 2.0.0-sd-snapshot1 | |||
Active as of 2023-12-16 | 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:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from InfrastructureRoot
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 Instances 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: ActRelationshipType (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 | |
Documentation for this format |
Path | Conformance | ValueSet / Code |
Precondition2.typeCode | required | Fixed Value: PRCN |
Precondition2.conjunctionCode | required | RelationshipConjunction |
Id | Grade | Path(s) | Details | Requirements |
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 |
---|---|---|---|---|
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 Instances 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: ActRelationshipType (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 | |
Documentation for this format |
Path | Conformance | ValueSet / Code |
Precondition2.typeCode | required | Fixed Value: PRCN |
Precondition2.conjunctionCode | required | RelationshipConjunction |
Id | Grade | Path(s) | Details | Requirements |
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 |
---|---|---|---|---|
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 Instances 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 | 0..1 | II | ||
@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 | ||
templateId | 0..* | II | ||
@typeCode | 0..1 | cs | Binding: ActRelationshipType (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 | |
Documentation for this format |
Path | Conformance | ValueSet / Code |
Precondition2.nullFlavor | required | CDANullFlavor |
Precondition2.typeId.nullFlavor | required | CDANullFlavor |
Precondition2.typeCode | required | Fixed Value: PRCN |
Precondition2.conjunctionCode | required | RelationshipConjunction |
Id | Grade | Path(s) | Details | Requirements |
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
Differential View
This structure is derived from InfrastructureRoot
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 Instances 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: ActRelationshipType (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 | |
Documentation for this format |
Path | Conformance | ValueSet / Code |
Precondition2.typeCode | required | Fixed Value: PRCN |
Precondition2.conjunctionCode | required | RelationshipConjunction |
Id | Grade | Path(s) | Details | Requirements |
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 |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 Instances 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: ActRelationshipType (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 | |
Documentation for this format |
Path | Conformance | ValueSet / Code |
Precondition2.typeCode | required | Fixed Value: PRCN |
Precondition2.conjunctionCode | required | RelationshipConjunction |
Id | Grade | Path(s) | Details | Requirements |
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 |
---|---|---|---|---|
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 Instances 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 | 0..1 | II | ||
@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 | ||
templateId | 0..* | II | ||
@typeCode | 0..1 | cs | Binding: ActRelationshipType (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 | |
Documentation for this format |
Path | Conformance | ValueSet / Code |
Precondition2.nullFlavor | required | CDANullFlavor |
Precondition2.typeId.nullFlavor | required | CDANullFlavor |
Precondition2.typeCode | required | Fixed Value: PRCN |
Precondition2.conjunctionCode | required | RelationshipConjunction |
Id | Grade | Path(s) | Details | Requirements |
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