<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-entity-Organization" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR Organization Profile</b>
      </p>
      <p>A social or legal structure formed by human beings.</p>
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.entity.Organization maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization:
  OrganizationName maps to name
  OrganizationAlias maps to alias  // I wish FHIR allowed multiple names, but it doesn't
  Type maps to type
  OrganizationIdentifier maps to identifier
  Address maps to address
  ContactPoint maps to contact
  ActiveFlag maps to active
  PartOf.Content maps to partOf
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.entity.Organization" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR Organization Profile" />
  <status value="draft" />
  <date value="2017-12-20" />
  <publisher value="The MITRE Corporation: Standard Health Record Collaborative" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://standardhealthrecord.org" />
    </telecom>
  </contact>
  <description value="A social or legal structure formed by human beings." />
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166" />
      <code value="US" />
      <display value="United States Minor Outlying Islands (the)" />
    </coding>
  </jurisdiction>
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="servd" />
    <uri value="http://www.omg.org/spec/ServD/1.0/" />
    <name value="ServD" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <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/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Organization" />
  <baseDefinition value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" />
  <derivation value="constraint" />
  <differential>
    <element id="Organization:shr-entity-Organization">
      <path value="Organization" />
      <short value="SHR Organization Profile" />
      <definition value="A social or legal structure formed by human beings." />
      <mustSupport value="false" />
    </element>
    <element id="Organization:shr-entity-Organization.extension:relatedencounter">
      <path value="Organization.extension" />
      <sliceName value="relatedencounter" />
      <definition value="If content was generated during a patient encounter, related encounter is the encounter where the information was gained." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension" />
      </type>
    </element>
    <element id="Organization:shr-entity-Organization.extension:author">
      <path value="Organization.extension" />
      <sliceName value="author" />
      <definition value="The person or organization who created the entry and is responsible for (and may certify) the content." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension" />
      </type>
    </element>
    <element id="Organization:shr-entity-Organization.extension:informant">
      <path value="Organization.extension" />
      <sliceName value="informant" />
      <definition value="The person or entity that provided the information in the entry, as distinct from who created the entry, e.g. the subject (patient), medical professional, family member, device or software program." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension" />
      </type>
    </element>
    <element id="Organization:shr-entity-Organization.identifier">
      <path value="Organization.identifier" />
      <type>
        <code value="Identifier" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-OrganizationIdentifier" />
      </type>
    </element>
    <element id="Organization:shr-entity-Organization.type">
      <path value="Organization.type" />
      <min value="1" />
      <max value="1" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="OrganizationType" />
        </extension>
        <strength value="required" />
        <description value="Used to categorize the organization" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/organization-type" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Organization:shr-entity-Organization.address">
      <path value="Organization.address" />
      <type>
        <code value="Address" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" />
      </type>
    </element>
    <element id="Organization:shr-entity-Organization.partOf">
      <path value="Organization.partOf" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization" />
      </type>
    </element>
    <element id="Organization:shr-entity-Organization.contact">
      <path value="Organization.contact" />
      <min value="1" />
      <max value="*" />
    </element>
  </differential>
</StructureDefinition>