<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="fmc-account-profile" />
  <url value="http://fkcfhir.org/fhir/StructureDefinition/fmc-account-profile" />
  <name value="FreseniusAccount" />
  <title value="Fresenius Insurance Account Profile" />
  <status value="active" />
  <description value="Fresenius Insurance Account Profile" />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Account" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Account" />
  <derivation value="constraint" />
  <differential>
    <element id="Account.extension">
      <path value="Account.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Account.extension:addlHelathPlans">
      <path value="Account.extension" />
      <sliceName value="addlHelathPlans" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://fkcfhir.org/fhir/StructureDefinition/fmc-additional-healthplans-extn" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Account.identifier">
      <path value="Account.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="Account.identifier:AccountNumber">
      <path value="Account.identifier" />
      <sliceName value="AccountNumber" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Account.identifier:AccountNumber.type">
      <path value="Account.identifier.type" />
      <binding>
        <strength value="required" />
        <valueSet value="http://terminology.hl7.org/ValueSet/v2-0203" />
      </binding>
    </element>
    <element id="Account.identifier:AccountNumber.system">
      <path value="Account.identifier.system" />
      <min value="1" />
      <patternUri value="urn:oid:2.16.840.1.113883.3.7418.4.2" />
    </element>
    <element id="Account.type">
      <path value="Account.type" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Account.subject">
      <path value="Account.subject" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fkcfhir.org/fhir/StructureDefinition/fmc-patient-profile" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Account.owner">
      <path value="Account.owner" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>