Definition: The repeat pattern data type should be used where it is necessary to define the frequency at which an event is to take place. This data type provides a way to define repeat pattern codes "on the fly". The repeat pattern code is equivalent to the TQ data type, component 2, sub-component 1 (repeat pattern). The additional components define the meaning of the repeat pattern code. Components 2 - 10 are used to define relatively simple repeat patterns. Component 11 is provided to define complex repeat patterns. This data type forms a bridge between the 2.x Repeat Pattern concept from Quantity/Timing, and the Version 3.0 GTS General Timing Specification. Component 1 is the 2.x concept of repeat pattern. Components 2-7 are derived from the version 3.0 data type PIVL. Components 8-10 are derived from the version 3.0 EIVL data type. If a repeat pattern cannot be defined using components 2-10, then component 11, General Timing Specification is provided. This allows the full literal form of the version 3.0 GTS to be specified.
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.
1Max Length705 →
2Min Length→ 2
3Max Length10 →
3Conf Length→ 10=
4Max Length10 →
4Conf Length→ 10=
5Max Length10 →
5Conf Length→ 10=
6Data TypeIS → CWE
6Max Length10 →
7Min Length→ 1
8Max Length6 → 3
8Min Length→ 2
9Max Length10 →
9Conf Length→ 10=
10Data TypeIS → CWE
10Max Length10 →
11Max Length200 →
11
| Comp# | FHIR | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 1 | 828 | - | - | R | RPT.1 | Repeat Pattern Code | |||
| 2 | 829 | 2 | - | O | RPT.2 | Calendar Alignment | - | ||
| 3 | 830 | - | 10= | O | - | RPT.3 | Phase Range Begin Value | ||
| 4 | 831 | - | 10= | O | - | RPT.4 | Phase Range End Value | ||
| 5 | 832 | - | 10= | O | - | RPT.5 | Period Quantity | ||
| 6 | 833 | - | - | C | - | RPT.6 | Period Units | ||
| 7 | 834 | 1 | - | O | RPT.7 | Institution Specified Time | - | ||
| 8 | 835 | 3 | - | O | RPT.8 | Event | |||
| 9 | 836 | - | 10= | O | - | RPT.9 | Event Offset Quantity | ||
| 10 | 837 | - | - | C | - | RPT.10 | Event Offset Units | - | |
| 11 | 838 | - | - | O | - | RPT.11 | General Timing Specification | - |
Used In Segment Fields