Clinical Document Architecture, published by Health Level 7. This guide is not an authorized publication; it is the continuous build for version 2.0.0-sd built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/CDA-core-sd/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/cda/stds/core/StructureDefinition/Precondition2 | Version: 2.0.0-sd | |||
Active as of 2024-10-25 | 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 Template, 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 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) | |
(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 | URI |
Precondition2.typeCode | required | Fixed Value: PRCNhttp://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType from this IG | |
Precondition2.conjunctionCode | required | RelationshipConjunctionhttp://terminology.hl7.org/ValueSet/v3-RelationshipConjunction|2.0.0 |
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 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) | |
(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 | URI |
Precondition2.typeCode | required | Fixed Value: PRCNhttp://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType from this IG | |
Precondition2.conjunctionCode | required | RelationshipConjunctionhttp://terminology.hl7.org/ValueSet/v3-RelationshipConjunction|2.0.0 |
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 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 | 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: 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 | |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
Precondition2.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor from this IG | |
Precondition2.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor from this IG | |
Precondition2.typeCode | required | Fixed Value: PRCNhttp://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType from this IG | |
Precondition2.conjunctionCode | required | RelationshipConjunctionhttp://terminology.hl7.org/ValueSet/v3-RelationshipConjunction|2.0.0 |
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 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) | |
(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 | URI |
Precondition2.typeCode | required | Fixed Value: PRCNhttp://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType from this IG | |
Precondition2.conjunctionCode | required | RelationshipConjunctionhttp://terminology.hl7.org/ValueSet/v3-RelationshipConjunction|2.0.0 |
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 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) | |
(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 | URI |
Precondition2.typeCode | required | Fixed Value: PRCNhttp://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType from this IG | |
Precondition2.conjunctionCode | required | RelationshipConjunctionhttp://terminology.hl7.org/ValueSet/v3-RelationshipConjunction|2.0.0 |
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 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 | 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: 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 | |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
Precondition2.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor from this IG | |
Precondition2.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor from this IG | |
Precondition2.typeCode | required | Fixed Value: PRCNhttp://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType from this IG | |
Precondition2.conjunctionCode | required | RelationshipConjunctionhttp://terminology.hl7.org/ValueSet/v3-RelationshipConjunction|2.0.0 |
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