<?xml version="1.0" encoding="UTF-8"?>

<StructureMap xmlns="http://hl7.org/fhir">
  <id value="Vpr2DiagnosticReportNoteCytopathologyDiagnosticReport"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureMap Vpr2DiagnosticReportNoteCytopathologyDiagnosticReport</b></p><a name="Vpr2DiagnosticReportNoteCytopathologyDiagnosticReport"> </a><a name="hcVpr2DiagnosticReportNoteCytopathologyDiagnosticReport"> </a><pre class="fml">
<b>map</b><span style="color: navy"> &quot;</span>http://va.gov/fhir/StructureMap/Vpr2DiagnosticReportNoteCytopathologyDiagnosticReport<span style="color: navy">&quot; = &quot;</span>Vpr2DiagnosticReportNoteCytopathologyDiagnosticReport<span style="color: navy">&quot;

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="StructureDefinition-VprDocument.html" title="VPR document">http://va.gov/fhir/StructureDefinition/VprDocument</a><span style="color: navy">&quot; </span><b>alias </b>VprDocument <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="StructureDefinition-DiagnosticReportNoteCytopathologyDiagnosticReport.html" title="Diagnostic Report Note: Cytopathology DiagnosticReport">http://va.gov/fhir/StructureDefinition/DiagnosticReportNoteCytopathologyDiagnosticReport</a><span style="color: navy">&quot; </span><b>alias </b>DiagnosticReportNoteCytopathologyDiagnosticReport <b>as </b><b>target</b>

<b>group </b>map<span style="color: navy">(</span><b>source</b> <span style="color: maroon">document</span><span style="color: navy"> : </span>VprDocument, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>DiagnosticReportNoteCytopathologyDiagnosticReport<span style="color: navy">)</span><b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  document.encounter<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.effective = <span style="color: maroon">v</span><span style="color: navy">;</span>
  document.referenceDateTime<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.effective = <span style="color: maroon">v</span><span style="color: navy">;</span>
  document.clinician<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.performer = <span style="color: maroon">v</span><span style="color: navy">;</span>
  document.clinician<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.resultsInterpreter = <span style="color: maroon">v</span><span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <url value="http://va.gov/fhir/StructureMap/Vpr2DiagnosticReportNoteCytopathologyDiagnosticReport"/>
  <version value="2.5.0"/>
  <name value="Vpr2DiagnosticReportNoteCytopathologyDiagnosticReport"/>
  <status value="draft"/>
  <date value="2026-03-31T16:09:38+00:00"/>
  <publisher value="VA"/>
  <contact>
    <name value="VA"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.va.gov"/>
    </telecom>
  </contact>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
      <display value="United States of America"/>
    </coding>
  </jurisdiction>
  <structure>
    <url value="http://va.gov/fhir/StructureDefinition/VprDocument"/>
    <mode value="source"/>
    <alias value="VprDocument"/>
  </structure>
  <structure>
    <url value="http://va.gov/fhir/StructureDefinition/DiagnosticReportNoteCytopathologyDiagnosticReport"/>
    <mode value="target"/>
    <alias value="DiagnosticReportNoteCytopathologyDiagnosticReport"/>
  </structure>
  <group>
    <name value="map"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="document"/>
      <type value="VprDocument"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="DiagnosticReportNoteCytopathologyDiagnosticReport"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="encounter"/>
      <source>
        <context value="document"/>
        <element value="encounter"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="effective"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="referenceDateTime"/>
      <source>
        <context value="document"/>
        <element value="referenceDateTime"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="effective"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="clinician"/>
      <source>
        <context value="document"/>
        <element value="clinician"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="performer"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="clinician"/>
      <source>
        <context value="document"/>
        <element value="clinician"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="resultsInterpreter"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
      </target>
    </rule>
  </group>
</StructureMap>