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
Page standards status: Informative |
XML representation of the RPT logical model.
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="RPT"/>
<meta>
<profile
value="http://hl7.org/v2/StructureDefinition/ComplexDataType-Profile"/>
</meta>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition RPT</b></p><a name="RPT"> </a><a name="hcRPT"> </a><a name="RPT-en-US"> </a><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description & Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-RPT-definitions.html#RPT" title="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.">RPT</a><a name="RPT"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-v2-complex-data-type.html">V2ComplexDataType</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">repeat pattern<br/><span style="font-weight:bold">Instances of this logical model are not marked to be the target of a Reference</span><br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-RPT-definitions.html#RPT.1">1</a><a name="RPT.1"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CWE.html">CWE</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Repeat Pattern Code<br/><span style="font-weight:bold">Binding: </span><a href="http://terminology.hl7.org/6.0.2/ValueSet-v2-0335.html" title="http://terminology.hl7.org/ValueSet/v2-0335">hl7VS-repeatPattern</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-RPT-definitions.html#RPT.2">2</a><a name="RPT.2"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ID.html">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Calendar Alignment<br/><span style="font-weight:bold">Binding: </span><a href="http://terminology.hl7.org/6.0.2/ValueSet-v2-0527.html" title="http://terminology.hl7.org/ValueSet/v2-0527">hl7VS-calendarAlignment</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-RPT-definitions.html#RPT.3">3</a><a name="RPT.3"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-NM.html">decimal</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Phase Range Begin Value</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-RPT-definitions.html#RPT.4">4</a><a name="RPT.4"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-NM.html">decimal</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Phase Range End Value</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-RPT-definitions.html#RPT.5">5</a><a name="RPT.5"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-NM.html">decimal</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Period Quantity</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-RPT-definitions.html#RPT.6">6</a><a name="RPT.6"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CWE.html">CWE</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Period Units</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-RPT-definitions.html#RPT.7">7</a><a name="RPT.7"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ID.html">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Institution Specified Time<br/><span style="font-weight:bold">Binding: </span><a href="http://terminology.hl7.org/6.0.2/ValueSet-v2-0136.html" title="http://terminology.hl7.org/ValueSet/v2-0136">hl7VS-yes-no-Indicator</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-RPT-definitions.html#RPT.8">8</a><a name="RPT.8"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ID.html">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Event<br/><span style="font-weight:bold">Binding: </span><a href="http://terminology.hl7.org/6.0.2/ValueSet-v2-0528.html" title="http://terminology.hl7.org/ValueSet/v2-0528">hl7VS-eventRelatedPeriod</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-RPT-definitions.html#RPT.9">9</a><a name="RPT.9"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-NM.html">decimal</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Event Offset Quantity</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-RPT-definitions.html#RPT.10">10</a><a name="RPT.10"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CWE.html">CWE</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Event Offset Units</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-RPT-definitions.html#RPT.11">11</a><a name="RPT.11"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-GTS.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">General Timing Specification</td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
</text>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="informative">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
<valueCanonical
value="http://somewhere.org/fhir/uv/v2plus/ImplementationGuide/hl7.other.uv.v2plus"/>
</extension>
</valueCode>
</extension>
<url value="http://hl7.org/v2/StructureDefinition/RPT"/>
<version value="0.0.0"/>
<name value="RPT"/>
<title value="HL7 v2 RPT Data Type"/>
<status value="active"/>
<date value="2024-10-31T15:11:23+00:00"/>
<publisher value="HL7 International"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/Special/committees/v2mgmt"/>
</telecom>
</contact>
<description
value="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|"/>
<fhirVersion value="5.0.0"/>
<mapping>
<identity value="rim"/>
<uri value="http://hl7.org/v3"/>
<name value="RIM Mapping"/>
</mapping>
<kind value="logical"/>
<abstract value="false"/>
<type value="http://hl7.org/v2/StructureDefinition/RPT"/>
<baseDefinition
value="http://hl7.org/v2/StructureDefinition/v2-complex-data-type"/>
<derivation value="specialization"/>
<snapshot>
<element id="RPT">
<path value="RPT"/>
<short value="repeat pattern"/>
<definition
value="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."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Base"/>
<min value="0"/>
<max value="*"/>
</base>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="RPT.1">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="R"/>
</extension>
<path value="RPT.1"/>
<short value="Repeat Pattern Code"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="RPT.1"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/v2/StructureDefinition/CWE"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v2-0335"/>
</binding>
</element>
<element id="RPT.2">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension url="http://hl7.org/v2/StructureDefinition/v2-length">
<extension url="min">
<valueInteger value="2"/>
</extension>
<extension url="max">
<valueInteger value="2"/>
</extension>
</extension>
<path value="RPT.2"/>
<short value="Calendar Alignment"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="RPT.2"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/v2/StructureDefinition/ID"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v2-0527"/>
</binding>
</element>
<element id="RPT.3">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension
url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
<extension url="length">
<valueInteger value="10"/>
</extension>
<extension url="noTruncate">
<valueBoolean value="true"/>
</extension>
</extension>
<path value="RPT.3"/>
<short value="Phase Range Begin Value"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="RPT.3"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/v2/StructureDefinition/NM"/>
</type>
</element>
<element id="RPT.4">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension
url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
<extension url="length">
<valueInteger value="10"/>
</extension>
<extension url="noTruncate">
<valueBoolean value="true"/>
</extension>
</extension>
<path value="RPT.4"/>
<short value="Phase Range End Value"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="RPT.4"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/v2/StructureDefinition/NM"/>
</type>
</element>
<element id="RPT.5">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension
url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
<extension url="length">
<valueInteger value="10"/>
</extension>
<extension url="noTruncate">
<valueBoolean value="true"/>
</extension>
</extension>
<path value="RPT.5"/>
<short value="Period Quantity"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="RPT.5"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/v2/StructureDefinition/NM"/>
</type>
</element>
<element id="RPT.6">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="C"/>
</extension>
<path value="RPT.6"/>
<short value="Period Units"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="RPT.6"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/v2/StructureDefinition/CWE"/>
</type>
</element>
<element id="RPT.7">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension url="http://hl7.org/v2/StructureDefinition/v2-length">
<extension url="min">
<valueInteger value="1"/>
</extension>
<extension url="max">
<valueInteger value="1"/>
</extension>
</extension>
<path value="RPT.7"/>
<short value="Institution Specified Time"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="RPT.7"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/v2/StructureDefinition/ID"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v2-0136"/>
</binding>
</element>
<element id="RPT.8">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension url="http://hl7.org/v2/StructureDefinition/v2-length">
<extension url="min">
<valueInteger value="2"/>
</extension>
<extension url="max">
<valueInteger value="3"/>
</extension>
</extension>
<path value="RPT.8"/>
<short value="Event"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="RPT.8"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/v2/StructureDefinition/ID"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v2-0528"/>
</binding>
</element>
<element id="RPT.9">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension
url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
<extension url="length">
<valueInteger value="10"/>
</extension>
<extension url="noTruncate">
<valueBoolean value="true"/>
</extension>
</extension>
<path value="RPT.9"/>
<short value="Event Offset Quantity"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="RPT.9"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/v2/StructureDefinition/NM"/>
</type>
</element>
<element id="RPT.10">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="C"/>
</extension>
<path value="RPT.10"/>
<short value="Event Offset Units"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="RPT.10"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/v2/StructureDefinition/CWE"/>
</type>
</element>
<element id="RPT.11">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<path value="RPT.11"/>
<short value="General Timing Specification"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="RPT.11"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/v2/StructureDefinition/GTS"/>
</type>
</element>
</snapshot>
<differential>
<element id="RPT">
<path value="RPT"/>
<short value="repeat pattern"/>
<definition
value="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."/>
<min value="0"/>
<max value="*"/>
</element>
<element id="RPT.1">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="R"/>
</extension>
<path value="RPT.1"/>
<short value="Repeat Pattern Code"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="http://hl7.org/v2/StructureDefinition/CWE"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v2-0335"/>
</binding>
</element>
<element id="RPT.2">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension url="http://hl7.org/v2/StructureDefinition/v2-length">
<extension url="min">
<valueInteger value="2"/>
</extension>
<extension url="max">
<valueInteger value="2"/>
</extension>
</extension>
<path value="RPT.2"/>
<short value="Calendar Alignment"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/v2/StructureDefinition/ID"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v2-0527"/>
</binding>
</element>
<element id="RPT.3">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension
url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
<extension url="length">
<valueInteger value="10"/>
</extension>
<extension url="noTruncate">
<valueBoolean value="true"/>
</extension>
</extension>
<path value="RPT.3"/>
<short value="Phase Range Begin Value"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/v2/StructureDefinition/NM"/>
</type>
</element>
<element id="RPT.4">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension
url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
<extension url="length">
<valueInteger value="10"/>
</extension>
<extension url="noTruncate">
<valueBoolean value="true"/>
</extension>
</extension>
<path value="RPT.4"/>
<short value="Phase Range End Value"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/v2/StructureDefinition/NM"/>
</type>
</element>
<element id="RPT.5">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension
url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
<extension url="length">
<valueInteger value="10"/>
</extension>
<extension url="noTruncate">
<valueBoolean value="true"/>
</extension>
</extension>
<path value="RPT.5"/>
<short value="Period Quantity"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/v2/StructureDefinition/NM"/>
</type>
</element>
<element id="RPT.6">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="C"/>
</extension>
<path value="RPT.6"/>
<short value="Period Units"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/v2/StructureDefinition/CWE"/>
</type>
</element>
<element id="RPT.7">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension url="http://hl7.org/v2/StructureDefinition/v2-length">
<extension url="min">
<valueInteger value="1"/>
</extension>
<extension url="max">
<valueInteger value="1"/>
</extension>
</extension>
<path value="RPT.7"/>
<short value="Institution Specified Time"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/v2/StructureDefinition/ID"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v2-0136"/>
</binding>
</element>
<element id="RPT.8">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension url="http://hl7.org/v2/StructureDefinition/v2-length">
<extension url="min">
<valueInteger value="2"/>
</extension>
<extension url="max">
<valueInteger value="3"/>
</extension>
</extension>
<path value="RPT.8"/>
<short value="Event"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/v2/StructureDefinition/ID"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v2-0528"/>
</binding>
</element>
<element id="RPT.9">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<extension
url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
<extension url="length">
<valueInteger value="10"/>
</extension>
<extension url="noTruncate">
<valueBoolean value="true"/>
</extension>
</extension>
<path value="RPT.9"/>
<short value="Event Offset Quantity"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/v2/StructureDefinition/NM"/>
</type>
</element>
<element id="RPT.10">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="C"/>
</extension>
<path value="RPT.10"/>
<short value="Event Offset Units"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/v2/StructureDefinition/CWE"/>
</type>
</element>
<element id="RPT.11">
<extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
<valueCode value="O"/>
</extension>
<path value="RPT.11"/>
<short value="General Timing Specification"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/v2/StructureDefinition/GTS"/>
</type>
</element>
</differential>
</StructureDefinition>