FHIR Extensions Pack
5.1.0 - 5.1.0 (April 2024) International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

: FML Conversion for HealthcareService: R5 to R4 - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="HealthcareService5to4"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><pre class="fml">
<span style="color: #cc00cc">/// <b>url</b> = </span><span style="color: blue">'http://hl7.org/fhir/StructureMap/HealthcareService5to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'HealthcareService5to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for HealthcareService: R5 to R4'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>

<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/healthcareservice.html" title="HealthcareService">http://hl7.org/fhir/StructureDefinition/HealthcareService</a><span style="color: navy">&quot; </span><b>alias </b>HealthcareServiceR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4/healthcareservice.html" title="HealthcareService">http://hl7.org/fhir/4.0/StructureDefinition/HealthcareService</a><span style="color: navy">&quot; </span><b>alias </b>HealthcareServiceR4 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4<span style="color: navy">&quot;
</span>
<b>group </b>HealthcareService<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>HealthcareServiceR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>HealthcareServiceR4<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.active<span style="color: navy"><b> -&gt; </b></span>tgt.active<span style="color: navy">;</span>
  src.providedBy<span style="color: navy"><b> -&gt; </b></span>tgt.providedBy<span style="color: navy">;</span>
  src.category<span style="color: navy"><b> -&gt; </b></span>tgt.category<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.offeredIn -&gt; tgt.offeredIn;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.specialty<span style="color: navy"><b> -&gt; </b></span>tgt.specialty<span style="color: navy">;</span>
  src.location<span style="color: navy"><b> -&gt; </b></span>tgt.location<span style="color: navy">;</span>
  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span>
  src.comment<span style="color: navy"><b> -&gt; </b></span>tgt.comment<span style="color: navy">;</span>
  src.extraDetails<span style="color: navy"><b> -&gt; </b></span>tgt.extraDetails<span style="color: navy">;</span>
  src.photo<span style="color: navy"><b> -&gt; </b></span>tgt.photo<span style="color: navy">;</span>
  src.coverageArea<span style="color: navy"><b> -&gt; </b></span>tgt.coverageArea<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.contact -&gt; tgt.contact;</span>
  src.serviceProvisionCode<span style="color: navy"><b> -&gt; </b></span>tgt.serviceProvisionCode<span style="color: navy">;</span>
  src.eligibility<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.eligibility<b> as </b><span style="color: maroon">t</span><b> then </b>HealthcareServiceEligibility<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.program<span style="color: navy"><b> -&gt; </b></span>tgt.program<span style="color: navy">;</span>
  src.characteristic<span style="color: navy"><b> -&gt; </b></span>tgt.characteristic<span style="color: navy">;</span>
  src.communication<span style="color: navy"><b> -&gt; </b></span>tgt.communication<span style="color: navy">;</span>
  src.referralMethod<span style="color: navy"><b> -&gt; </b></span>tgt.referralMethod<span style="color: navy">;</span>
  src.appointmentRequired<span style="color: navy"><b> -&gt; </b></span>tgt.appointmentRequired<span style="color: navy">;</span>
  src.availability<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.availableTime<b> as </b><span style="color: maroon">t</span><b> then </b>HealthcareServiceAvailabilityAvailableTime<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span> <i>&quot;availableTime&quot;</i><span style="color: navy">;</span>
  src.availability<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.notAvailable<b> as </b><span style="color: maroon">t</span><b> then </b>HealthcareServiceAvailabilityNotAvailableTime<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span> <i>&quot;notAvailableTime&quot;</i><span style="color: navy">;</span>
  src.endpoint<span style="color: navy"><b> -&gt; </b></span>tgt.endpoint<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>HealthcareServiceEligibility<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.code<span style="color: navy"><b> -&gt; </b></span>tgt.code<span style="color: navy">;</span>
  src.comment<span style="color: navy"><b> -&gt; </b></span>tgt.comment<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>HealthcareServiceAvailabilityAvailableTime<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.availableTime<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.daysOfWeek<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t = <span style="color: maroon">s.daysOfWeek</span><span style="color: navy">;</span>
  src.availableTime<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.allDay<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t = <span style="color: maroon">s.allDay</span><span style="color: navy">;</span>
  src.availableTime<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.availableStartTime<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t = <span style="color: maroon">s.availableStartTime</span><span style="color: navy">;</span>
  src.availableTime<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.availableEndTime<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t = <span style="color: maroon">s.availableEndTime</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>HealthcareServiceAvailabilityNotAvailableTime<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.notAvailableTime<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.description<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t = <span style="color: maroon">s.description</span><span style="color: navy">;</span>
  src.notAvailableTime<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.during<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t = <span style="color: maroon">s.during</span><span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/StructureMap/HealthcareService5to4"/>
  <version value="5.1.0"/>
  <name value="HealthcareService5to4"/>
  <title value="FML Conversion for HealthcareService: R5 to R4"/>
  <status value="active"/>
  <date value="2024-04-27T18:54:50+10:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="FMLConversionforHealthcareServiceR5toR4"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
    <mode value="source"/>
    <alias value="HealthcareServiceR5"/>
  </structure>
  <structure>
    <url
         value="http://hl7.org/fhir/4.0/StructureDefinition/HealthcareService"/>
    <mode value="target"/>
    <alias value="HealthcareServiceR4"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*5to4"/>
  <group>
    <name value="HealthcareService"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="HealthcareServiceR5"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="HealthcareServiceR4"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="identifier"/>
      <source>
        <context value="src"/>
        <element value="identifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="identifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="active"/>
      <source>
        <context value="src"/>
        <element value="active"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="active"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="providedBy"/>
      <source>
        <context value="src"/>
        <element value="providedBy"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="providedBy"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="category"/>
      <source>
        <context value="src"/>
        <element value="category"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="category"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.offeredIn -&gt; tgt.offeredIn;"/>
    </rule>
    <rule>
      <name value="type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="specialty"/>
      <source>
        <context value="src"/>
        <element value="specialty"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="specialty"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="location"/>
      <source>
        <context value="src"/>
        <element value="location"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="location"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="name"/>
      <source>
        <context value="src"/>
        <element value="name"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="name"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="comment"/>
      <source>
        <context value="src"/>
        <element value="comment"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="comment"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="extraDetails"/>
      <source>
        <context value="src"/>
        <element value="extraDetails"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="extraDetails"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="photo"/>
      <source>
        <context value="src"/>
        <element value="photo"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="photo"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="coverageArea"/>
      <source>
        <context value="src"/>
        <element value="coverageArea"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="coverageArea"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.contact -&gt; tgt.contact;"/>
    </rule>
    <rule>
      <name value="serviceProvisionCode"/>
      <source>
        <context value="src"/>
        <element value="serviceProvisionCode"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="serviceProvisionCode"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="eligibility"/>
      <source>
        <context value="src"/>
        <element value="eligibility"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="eligibility"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="HealthcareServiceEligibility"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="program"/>
      <source>
        <context value="src"/>
        <element value="program"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="program"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="characteristic"/>
      <source>
        <context value="src"/>
        <element value="characteristic"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="characteristic"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="communication"/>
      <source>
        <context value="src"/>
        <element value="communication"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="communication"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="referralMethod"/>
      <source>
        <context value="src"/>
        <element value="referralMethod"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="referralMethod"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="appointmentRequired"/>
      <source>
        <context value="src"/>
        <element value="appointmentRequired"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="appointmentRequired"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="availableTime"/>
      <source>
        <context value="src"/>
        <element value="availability"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="availableTime"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="HealthcareServiceAvailabilityAvailableTime"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="notAvailableTime"/>
      <source>
        <context value="src"/>
        <element value="availability"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="notAvailable"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="HealthcareServiceAvailabilityNotAvailableTime"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="endpoint"/>
      <source>
        <context value="src"/>
        <element value="endpoint"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="endpoint"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="HealthcareServiceEligibility"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="code"/>
      <source>
        <context value="src"/>
        <element value="code"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="code"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="comment"/>
      <source>
        <context value="src"/>
        <element value="comment"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="comment"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="HealthcareServiceAvailabilityAvailableTime"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="availableTime"/>
      <source>
        <context value="src"/>
        <element value="availableTime"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="daysOfWeek"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s.daysOfWeek"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="availableTime"/>
      <source>
        <context value="src"/>
        <element value="availableTime"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="allDay"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s.allDay"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="availableTime"/>
      <source>
        <context value="src"/>
        <element value="availableTime"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="availableStartTime"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s.availableStartTime"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="availableTime"/>
      <source>
        <context value="src"/>
        <element value="availableTime"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="availableEndTime"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s.availableEndTime"/>
        </parameter>
      </target>
    </rule>
  </group>
  <group>
    <name value="HealthcareServiceAvailabilityNotAvailableTime"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="notAvailableTime"/>
      <source>
        <context value="src"/>
        <element value="notAvailableTime"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="description"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s.description"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="notAvailableTime"/>
      <source>
        <context value="src"/>
        <element value="notAvailableTime"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="during"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s.during"/>
        </parameter>
      </target>
    </rule>
  </group>
</StructureMap>