Multi-Language Test IG
0.2.0 - International drapeau

Multi-Language Test IG, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/FHIR/multi-lang-test-ig/ and changes regularly. See the Directory of published versions

: Example Structure Map

Statut des normes de la page: Informative

Brut xml | Télécharger


<StructureMap xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <language value="fr"/>
  <text>
    <status value="generated"/>
    <div xml:lang="fr" lang="fr"><hr/><p><b>French</b></p><hr/><p class="res-header-id"><b>Narratif généré : StructureMap example</b></p><a name="fr-example"> </a><a name="fr-hcexample"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Langue : en</p></div><pre class="fml">
<b>map</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/test/multi-lang/StructureMap/example<span style="color: navy">&quot; = &quot;</span>ExampleStructureMap<span style="color: navy">&quot;

</span><span style="color: navy">// </span><span style="color: green">Example Structure Map Instance</span>

<span style="color: navy">// </span><span style="color: green">test -&gt; testValue</span>
<b>group </b>Examples<span style="color: navy">(</span><b>source</b> <span style="color: maroon">Source</span>, <b>target</b> <span style="color: maroon">Destination</span><span style="color: navy">)</span><span style="color: navy"> {
</span>  Source.test<span style="color: navy"> : </span>SourceClassA<b> as </b><span style="color: maroon">t</span><span style="color: navy"><b> -&gt; </b></span>Destination.testValue = <b>copy</b><span style="color: navy">(</span><span style="color: navy">)</span> <i>&quot;rule1&quot;</i><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-standards-status">
    <valueCode value="informative">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/test/multi-lang/ImplementationGuide/hl7.fhir.test.multi-lang"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/test/multi-lang/StructureMap/example"/>
  <version value="0.2.0"/>
  <name value="ExampleStructureMap"/>
  <title value="Example Structure Map"/>
  <status value="draft"/>
  <experimental value="true"/>
  <date value="2025-08-07T06:51:45+00: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="Example Structure Map Instance"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <group>
    <name value="Examples"/>
    <typeMode value="none"/>
    <documentation value="test -&gt; testValue"/>
    <input>
      <name value="Source"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="Destination"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rule1"/>
      <source>
        <context value="Source"/>
        <type value="SourceClassA"/>
        <element value="test"/>
        <variable value="t"/>
      </source>
      <target>
        <context value="Destination"/>
        <contextType value="variable"/>
        <element value="testValue"/>
        <transform value="copy"/>
      </target>
    </rule>
  </group>
</StructureMap>