<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="EnrollmentResponse" />
  <meta>
    <lastUpdated value="2021-01-02T08:58:31.578+11:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
    <valueString value="Financial.Support" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="patient" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fm" />
  </extension>
  <extension url="http://hl7.org/fhir/build/StructureDefinition/entered-in-error-status">
    <valueCode value=".status = entered-in-error" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/EnrollmentResponse" />
  <version value="4.6.0" />
  <name value="EnrollmentResponse" />
  <status value="draft" />
  <date value="2021-01-02T08:58:31+11:00" />
  <publisher value="Health Level Seven International (Financial Management)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
  </contact>
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.hl7.org/Special/committees/fm/index.cfm" />
    </telecom>
  </contact>
  <description value="This resource provides enrollment and plan details from the processing of an EnrollmentRequest resource." />
  <fhirVersion value="4.6.0" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="cdanetv4" />
    <uri value="http://www.cda-adc.ca/en/services/cdanet/" />
    <name value="Canadian Dental Association eclaims standard" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="EnrollmentResponse" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
  <derivation value="specialization" />
  <differential>
    <element id="EnrollmentResponse">
      <path value="EnrollmentResponse" />
      <short value="EnrollmentResponse resource" />
      <definition value="This resource provides enrollment and plan details from the processing of an EnrollmentRequest resource." />
      <min value="0" />
      <max value="*" />
      <mapping>
        <identity value="workflow" />
        <map value="Event" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="financial.support" />
      </mapping>
    </element>
    <element id="EnrollmentResponse.identifier">
      <path value="EnrollmentResponse.identifier" />
      <short value="Business Identifier" />
      <definition value="The Response business identifier." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Identifier" />
      </type>
      <mapping>
        <identity value="workflow" />
        <map value="Event.identifier" />
      </mapping>
    </element>
    <element id="EnrollmentResponse.status">
      <path value="EnrollmentResponse.status" />
      <short value="active | cancelled | draft | entered-in-error" />
      <definition value="The status of the resource instance." />
      <comment value="This element is labeled as a modifier because the status contains codes that mark the response as not currently valid." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isModifier value="true" />
      <isModifierReason value="This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="EnrollmentResponseStatus" />
        </extension>
        <strength value="required" />
        <description value="A code specifying the state of the resource instance." />
        <valueSet value="http://hl7.org/fhir/ValueSet/fm-status" />
      </binding>
      <mapping>
        <identity value="workflow" />
        <map value="Event.status" />
      </mapping>
    </element>
    <element id="EnrollmentResponse.request">
      <path value="EnrollmentResponse.request" />
      <short value="Claim reference" />
      <definition value="Original request resource reference." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/EnrollmentRequest" />
      </type>
      <mapping>
        <identity value="workflow" />
        <map value="Event.basedOn" />
      </mapping>
      <mapping>
        <identity value="cdanetv4" />
        <map value="A02|G01" />
      </mapping>
    </element>
    <element id="EnrollmentResponse.outcome">
      <path value="EnrollmentResponse.outcome" />
      <short value="queued | complete | error | partial" />
      <definition value="Processing status: error, complete." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="EnrollmentOutcome" />
        </extension>
        <strength value="required" />
        <description value="The outcome of the processing." />
        <valueSet value="http://hl7.org/fhir/ValueSet/enrollment-outcome|4.6.0" />
      </binding>
    </element>
    <element id="EnrollmentResponse.disposition">
      <path value="EnrollmentResponse.disposition" />
      <short value="Disposition Message" />
      <definition value="A description of the status of the adjudication." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="workflow" />
        <map value="Event.code" />
      </mapping>
    </element>
    <element id="EnrollmentResponse.created">
      <path value="EnrollmentResponse.created" />
      <short value="Creation date" />
      <definition value="The date when the enclosed suite of services were performed or completed." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="workflow" />
        <map value="Event.occurrence[x]" />
      </mapping>
    </element>
    <element id="EnrollmentResponse.organization">
      <path value="EnrollmentResponse.organization" />
      <short value="Insurer" />
      <definition value="The Insurer who produced this adjudicated response." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
      <mapping>
        <identity value="workflow" />
        <map value="Event.performer.actor" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.actor" />
      </mapping>
    </element>
    <element id="EnrollmentResponse.requestProvider">
      <path value="EnrollmentResponse.requestProvider" />
      <short value="Responsible practitioner" />
      <definition value="The practitioner who is responsible for the services rendered to the patient." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
      <mapping>
        <identity value="cdanetv4" />
        <map value="B01" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>