<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="2df7c9d2-888b-4ef2-a2eb-04b5575ce845" />
  <meta>
    <lastUpdated value="2022-10-04T14:38:29.6289121+00:00" />
  </meta>
  <url value="http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-orderTiming" />
  <name value="OLISOrderTiming" />
  <status value="draft" />
  <date value="2022-10-04T14:40:29.2058996+00:00" />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="OLIS-HL7-V2" />
    <name value="OLIS HL7 V2" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <type value="Timing" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Timing" />
  <derivation value="constraint" />
  <differential>
    <element id="Timing.event">
      <path value="Timing.event" />
      <definition value="Identifies specific times when the event occurs. This is only used for timed order in OLIS (priority = &quot;T&quot;)" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
      <mapping>
        <identity value="OLIS-HL7-V2" />
        <map value="OBR.27.4" />
        <comment value="Only if OBR.27.6 is P or T" />
      </mapping>
    </element>
    <element id="Timing.code">
      <path value="Timing.code" />
      <short value="only text field will be supported" />
      <definition value="Note: for OLIS, only text field will be supported for P and T values." />
      <comment value="text field will be &quot;Preoperative (to be done prior to surgery)&quot; or &quot;Timing critical (do as near as possible to requested time)&quot;" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Timing.code.text">
      <path value="Timing.code.text" />
      <short value="Support information about P and T values in OLIS" />
      <definition value="text field will be &quot;Preoperative (to be done prior to surgery)&quot; or &quot;Timing critical within &lt;integer&gt; &lt;unit&gt;&quot; where unit can be &quot;seconds&quot;, &quot;minutes&quot;, &quot;hours&quot;, &quot;days&quot;, &quot;weeks&quot;, &quot;months&quot;" />
      <min value="1" />
      <mustSupport value="true" />
      <mapping>
        <identity value="OLIS-HL7-V2" />
        <map value="OBR.27.6 (only if it's P or T value)" />
        <comment value="If &quot;P&quot;, text should be &quot;Preoperative (to be done prior to surgery). If it's a T&lt;unit&gt;&lt;integer&gt; value, text should be &quot;timing critical within &lt;integer&gt; &lt;unit&gt;&quot; where &lt;unit&gt; is &quot;seconds&quot; for TS, &quot;minutes&quot; for &quot;TM&quot;, &quot;hours&quot; for TH, &quot;days&quot; for TD, &quot;weeks' for TW, &quot;months&quot; for TL" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>