<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="pr-insurance-company" />
  <meta>
    <source value="https://www.icanbwell.com/fhir_profile_definitions" />
    <security>
      <system value="https://www.icanbwell.com/owner" />
      <code value="bwell" />
    </security>
    <security>
      <system value="https://www.icanbwell.com/access" />
      <code value="bwell" />
    </security>
  </meta>
  <url value="https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-insurance-company" />
  <version value="1.02" />
  <name value="InsuranceCompany" />
  <title value="Profile: Insurance Company" />
  <status value="active" />
  <experimental value="false" />
  <date value="2022-06-02" />
  <publisher value="b.Well Connected Health" />
  <description value="Insurance organizations (ACOs, TPAs, payors, etc)" />
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166" />
      <code value="US" />
      <display value="United States of America" />
    </coding>
    <text value="United States of America" />
  </jurisdiction>
  <fhirVersion value="4.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Organization" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Organization" />
  <derivation value="constraint" />
  <differential>
    <element id="Organization">
      <path value="Organization" />
    </element>
    <element id="Organization.id">
      <path value="Organization.id" />
    </element>
    <element id="Organization.meta">
      <path value="Organization.meta" />
      <label value="meta" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Meta" />
      </type>
    </element>
    <element id="Organization.meta.source">
      <path value="Organization.meta.source" />
      <sliceName value="meta-source" />
      <label value="meta" />
      <short value="uri of the data source" />
      <definition value="Typically the data owner's URL followed by a source/file description" />
      <requirements value="mandatory for all resources in bWell's FHIR Server" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <example>
        <label value="example of meta.source" />
        <valueUri value="https://www.icanbwell.com/provider-directory" />
      </example>
    </element>
    <element id="Organization.meta.security">
      <path value="Organization.meta.security" />
      <sliceName value="meta-security" />
      <label value="meta" />
      <short value="security tags representing the data's owner, vendor, and accessibility" />
      <definition value="data owner: &#xA; &#xA; data vendor: &#xA; &#xA; data access:" />
      <requirements value="/owner &amp; /access are mandatory for all resources in bWell's FHIR Server" />
      <min value="1" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
      <example>
        <label value="example of data owner security tag" />
        <valueCoding>
          <system value="https://www.icanbwell.com/owner" />
          <code value="bwell" />
        </valueCoding>
      </example>
      <example>
        <label value="example of data access security tag" />
        <valueCoding>
          <system value="https://www.icanbwell.com/access" />
          <code value="bwell" />
        </valueCoding>
      </example>
      <example>
        <label value="example of data vendor security tag" />
        <valueCoding>
          <system value="https://www.icanbwell.com/vendor" />
          <code value="bwell" />
        </valueCoding>
      </example>
    </element>
    <element id="Organization.active">
      <path value="Organization.active" />
      <short value="default to true" />
      <mustSupport value="true" />
    </element>
    <element id="de-organization-type">
      <path value="Organization.type" />
      <label value="organization-type" />
      <slicing>
        <description value="slice by type" />
        <rules value="open" />
      </slicing>
      <short value="Type of organization" />
      <min value="1" />
      <max value="*" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="de-organization-type.type.id">
      <path value="Organization.type.id" />
      <label value="organization-type" />
      <short value="set to type code" />
      <requirements value="Needs Review" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="de-organization-type.type.coding">
      <path value="Organization.type.coding" />
      <label value="organization-type" />
      <min value="1" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="de-insurance-type">
      <path value="Organization.type" />
      <sliceName value="insurance-type" />
      <label value="insurance-type" />
      <short value="fixed: ins" />
      <definition value="An insurance organization" />
      <min value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <patternCodeableConcept>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/organization-type" />
          <code value="ins" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Organization.name">
      <path value="Organization.name" />
      <short value="Name of the company" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>