HL7 v2+ Specification
0.0.0 - draft
HL7 v2+ Specification, published by HL7 International. This guide is not an authorized publication; it is the continuous build for version 0.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2ig/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/v2/StructureDefinition/RPT | Version: 0.0.0 | |||
Standards status: Informative | Computable Name: RPT |
When using the RPT, if an application doesn't recognize the code in component 1, then it may attempt to determine the appropriate frequency using the remaining components. If the application does recognize the code in component 1, the application is not required to determine the frequency from the remaining components.
Use Case: The use case supporting this proposal is the need to define repeat patterns on the fly while placing an order. The TQ data type did not have the capability to define the meaning of a repeat pattern on the fly. To get around this problem, vendors have implemented a variety of solutions to solve this issue. One way was to add Z-components to the TQ data type to transmit information about the repeat pattern. Another solution was to attempt to parse the repeat pattern code in an attempt to decipher what the code meant.
Examples:
Q1H&Every 1 Hour&HL7xxx^^^^1^h |
Q2J2&Every second Tuesday&HL7xxx^DW^2^^2^wk |
BID&Twice a day at institution specified times&HL7xxx^^^^12^h^Y |
QAM&Every morning at the institution specified time&HL7xxx^HD^00^11^1^d^Y |
QHS&Every day before the hours of sleep&HL7xxx^^^^1^d^^AHS |
ACM&Before Breakfast&HL7xxx^^^^^^^ACM |
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: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | V2ComplexDataType | repeat pattern | |
![]() ![]() ![]() |
1..1 | CWE | Repeat Pattern Code Binding: hl7VS-repeatPattern (required) | |
![]() ![]() ![]() |
0..1 | code | Calendar Alignment Binding: hl7VS-calendarAlignment (required) | |
![]() ![]() ![]() |
0..1 | decimal | Phase Range Begin Value | |
![]() ![]() ![]() |
0..1 | decimal | Phase Range End Value | |
![]() ![]() ![]() |
0..1 | decimal | Period Quantity | |
![]() ![]() ![]() |
0..1 | CWE | Period Units | |
![]() ![]() ![]() |
0..1 | code | Institution Specified Time Binding: hl7VS-yes-no-Indicator (required) | |
![]() ![]() ![]() |
0..1 | code | Event Binding: hl7VS-eventRelatedPeriod (required) | |
![]() ![]() ![]() |
0..1 | decimal | Event Offset Quantity | |
![]() ![]() ![]() |
0..1 | CWE | Event Offset Units | |
![]() ![]() ![]() |
0..1 | string | General Timing Specification | |
![]() |
Path | Conformance | ValueSet | URI |
RPT.1 | required | Hl7VSRepeatPatternhttp://terminology.hl7.org/ValueSet/v2-0335 | |
RPT.2 | required | Hl7VSCalendarAlignmenthttp://terminology.hl7.org/ValueSet/v2-0527 | |
RPT.7 | required | Hl7VSYesNoIndicatorhttp://terminology.hl7.org/ValueSet/v2-0136 | |
RPT.8 | required | Hl7VSEventRelatedPeriodhttp://terminology.hl7.org/ValueSet/v2-0528 |
This structure is derived from V2ComplexDataType
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | V2ComplexDataType | repeat pattern | |
![]() ![]() ![]() |
1..1 | CWE | Repeat Pattern Code Binding: hl7VS-repeatPattern (required) | |
![]() ![]() ![]() |
0..1 | code | Calendar Alignment Binding: hl7VS-calendarAlignment (required) | |
![]() ![]() ![]() |
0..1 | decimal | Phase Range Begin Value | |
![]() ![]() ![]() |
0..1 | decimal | Phase Range End Value | |
![]() ![]() ![]() |
0..1 | decimal | Period Quantity | |
![]() ![]() ![]() |
0..1 | CWE | Period Units | |
![]() ![]() ![]() |
0..1 | code | Institution Specified Time Binding: hl7VS-yes-no-Indicator (required) | |
![]() ![]() ![]() |
0..1 | code | Event Binding: hl7VS-eventRelatedPeriod (required) | |
![]() ![]() ![]() |
0..1 | decimal | Event Offset Quantity | |
![]() ![]() ![]() |
0..1 | CWE | Event Offset Units | |
![]() ![]() ![]() |
0..1 | string | General Timing Specification | |
![]() |
Path | Conformance | ValueSet | URI |
RPT.1 | required | Hl7VSRepeatPatternhttp://terminology.hl7.org/ValueSet/v2-0335 | |
RPT.2 | required | Hl7VSCalendarAlignmenthttp://terminology.hl7.org/ValueSet/v2-0527 | |
RPT.7 | required | Hl7VSYesNoIndicatorhttp://terminology.hl7.org/ValueSet/v2-0136 | |
RPT.8 | required | Hl7VSEventRelatedPeriodhttp://terminology.hl7.org/ValueSet/v2-0528 |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | V2ComplexDataType | repeat pattern | |
![]() ![]() ![]() |
1..1 | CWE | Repeat Pattern Code Binding: hl7VS-repeatPattern (required) | |
![]() ![]() ![]() |
0..1 | code | Calendar Alignment Binding: hl7VS-calendarAlignment (required) | |
![]() ![]() ![]() |
0..1 | decimal | Phase Range Begin Value | |
![]() ![]() ![]() |
0..1 | decimal | Phase Range End Value | |
![]() ![]() ![]() |
0..1 | decimal | Period Quantity | |
![]() ![]() ![]() |
0..1 | CWE | Period Units | |
![]() ![]() ![]() |
0..1 | code | Institution Specified Time Binding: hl7VS-yes-no-Indicator (required) | |
![]() ![]() ![]() |
0..1 | code | Event Binding: hl7VS-eventRelatedPeriod (required) | |
![]() ![]() ![]() |
0..1 | decimal | Event Offset Quantity | |
![]() ![]() ![]() |
0..1 | CWE | Event Offset Units | |
![]() ![]() ![]() |
0..1 | string | General Timing Specification | |
![]() |
Path | Conformance | ValueSet | URI |
RPT.1 | required | Hl7VSRepeatPatternhttp://terminology.hl7.org/ValueSet/v2-0335 | |
RPT.2 | required | Hl7VSCalendarAlignmenthttp://terminology.hl7.org/ValueSet/v2-0527 | |
RPT.7 | required | Hl7VSYesNoIndicatorhttp://terminology.hl7.org/ValueSet/v2-0136 | |
RPT.8 | required | Hl7VSEventRelatedPeriodhttp://terminology.hl7.org/ValueSet/v2-0528 |
This structure is derived from V2ComplexDataType
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | V2ComplexDataType | repeat pattern | |
![]() ![]() ![]() |
1..1 | CWE | Repeat Pattern Code Binding: hl7VS-repeatPattern (required) | |
![]() ![]() ![]() |
0..1 | code | Calendar Alignment Binding: hl7VS-calendarAlignment (required) | |
![]() ![]() ![]() |
0..1 | decimal | Phase Range Begin Value | |
![]() ![]() ![]() |
0..1 | decimal | Phase Range End Value | |
![]() ![]() ![]() |
0..1 | decimal | Period Quantity | |
![]() ![]() ![]() |
0..1 | CWE | Period Units | |
![]() ![]() ![]() |
0..1 | code | Institution Specified Time Binding: hl7VS-yes-no-Indicator (required) | |
![]() ![]() ![]() |
0..1 | code | Event Binding: hl7VS-eventRelatedPeriod (required) | |
![]() ![]() ![]() |
0..1 | decimal | Event Offset Quantity | |
![]() ![]() ![]() |
0..1 | CWE | Event Offset Units | |
![]() ![]() ![]() |
0..1 | string | General Timing Specification | |
![]() |
Path | Conformance | ValueSet | URI |
RPT.1 | required | Hl7VSRepeatPatternhttp://terminology.hl7.org/ValueSet/v2-0335 | |
RPT.2 | required | Hl7VSCalendarAlignmenthttp://terminology.hl7.org/ValueSet/v2-0527 | |
RPT.7 | required | Hl7VSYesNoIndicatorhttp://terminology.hl7.org/ValueSet/v2-0136 | |
RPT.8 | required | Hl7VSEventRelatedPeriodhttp://terminology.hl7.org/ValueSet/v2-0528 |
Differential View
This structure is derived from V2ComplexDataType
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | V2ComplexDataType | repeat pattern | |
![]() ![]() ![]() |
1..1 | CWE | Repeat Pattern Code Binding: hl7VS-repeatPattern (required) | |
![]() ![]() ![]() |
0..1 | code | Calendar Alignment Binding: hl7VS-calendarAlignment (required) | |
![]() ![]() ![]() |
0..1 | decimal | Phase Range Begin Value | |
![]() ![]() ![]() |
0..1 | decimal | Phase Range End Value | |
![]() ![]() ![]() |
0..1 | decimal | Period Quantity | |
![]() ![]() ![]() |
0..1 | CWE | Period Units | |
![]() ![]() ![]() |
0..1 | code | Institution Specified Time Binding: hl7VS-yes-no-Indicator (required) | |
![]() ![]() ![]() |
0..1 | code | Event Binding: hl7VS-eventRelatedPeriod (required) | |
![]() ![]() ![]() |
0..1 | decimal | Event Offset Quantity | |
![]() ![]() ![]() |
0..1 | CWE | Event Offset Units | |
![]() ![]() ![]() |
0..1 | string | General Timing Specification | |
![]() |
Path | Conformance | ValueSet | URI |
RPT.1 | required | Hl7VSRepeatPatternhttp://terminology.hl7.org/ValueSet/v2-0335 | |
RPT.2 | required | Hl7VSCalendarAlignmenthttp://terminology.hl7.org/ValueSet/v2-0527 | |
RPT.7 | required | Hl7VSYesNoIndicatorhttp://terminology.hl7.org/ValueSet/v2-0136 | |
RPT.8 | required | Hl7VSEventRelatedPeriodhttp://terminology.hl7.org/ValueSet/v2-0528 |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | V2ComplexDataType | repeat pattern | |
![]() ![]() ![]() |
1..1 | CWE | Repeat Pattern Code Binding: hl7VS-repeatPattern (required) | |
![]() ![]() ![]() |
0..1 | code | Calendar Alignment Binding: hl7VS-calendarAlignment (required) | |
![]() ![]() ![]() |
0..1 | decimal | Phase Range Begin Value | |
![]() ![]() ![]() |
0..1 | decimal | Phase Range End Value | |
![]() ![]() ![]() |
0..1 | decimal | Period Quantity | |
![]() ![]() ![]() |
0..1 | CWE | Period Units | |
![]() ![]() ![]() |
0..1 | code | Institution Specified Time Binding: hl7VS-yes-no-Indicator (required) | |
![]() ![]() ![]() |
0..1 | code | Event Binding: hl7VS-eventRelatedPeriod (required) | |
![]() ![]() ![]() |
0..1 | decimal | Event Offset Quantity | |
![]() ![]() ![]() |
0..1 | CWE | Event Offset Units | |
![]() ![]() ![]() |
0..1 | string | General Timing Specification | |
![]() |
Path | Conformance | ValueSet | URI |
RPT.1 | required | Hl7VSRepeatPatternhttp://terminology.hl7.org/ValueSet/v2-0335 | |
RPT.2 | required | Hl7VSCalendarAlignmenthttp://terminology.hl7.org/ValueSet/v2-0527 | |
RPT.7 | required | Hl7VSYesNoIndicatorhttp://terminology.hl7.org/ValueSet/v2-0136 | |
RPT.8 | required | Hl7VSEventRelatedPeriodhttp://terminology.hl7.org/ValueSet/v2-0528 |
This structure is derived from V2ComplexDataType