<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="spark1645" />
  <meta>
    <versionId value="spark1997" />
    <lastUpdated value="2015-11-18T16:38:13.519+00:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="4" />
  </extension>
  <url value="http://mais.org.ar/fhir/StructureDefinition/OrganizacionPrestadora" />
  <name value="OrganizacionPrestadora" />
  <status value="draft" />
  <date value="2015-09-22T20:02:49+10:00" />
  <description value="Base StructureDefinition for Organization Resource" />
  <fhirVersion value="1.0.1" />
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM" />
  </mapping>
  <mapping>
    <identity value="servd" />
    <uri value="http://www.omg.org/spec/ServD/1.0/" />
    <name value="ServD" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <kind value="resource" />
  <constrainedType value="Organization" />
  <abstract value="false" />
  <base value="http://hl7.org/fhir/StructureDefinition/Organization" />
  <differential>
    <element>
      <path value="Organization" />
      <short value="La organización que brindó los servicios de salud" />
      <definition value="Organización que factura los servicios al prestador" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Organization" />
        <aggregation value="bundled" />
      </type>
      <mustSupport value="true" />
      <mapping>
        <identity value="v2" />
        <map value="(also see master files messages)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Organization(classCode=ORG, determinerCode=INST)" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Organization" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="administrative.group" />
      </mapping>
    </element>
    <element>
      <path value="Organization.identifier" />
      <name value="IdentificadorOrganizacionPrestadora" />
      <short value="Identifies this organization  across multiple systems" />
      <definition value="Identifier for the organization that is used to identify the organization across multiple disparate systems." />
      <requirements value="Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
      <condition value="org-1" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="XON.10 / XON.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".scopes[Role](classCode=IDENT)" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Identifiers" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="id" />
      </mapping>
    </element>
    <element>
      <path value="Organization.identifier.assigner" />
      <short value="Organization that issued id (may be just text)" />
      <definition value="Organization that issued/manages the identifier." />
      <comments value="The reference may be just a text description of the assigner." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <profile value="http://mais.org.ar/fhir/StructureDefinition/OrganizacionPrestadora" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="CX.4 / (CX.4,CX.9,CX.10)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./IdentifierIssuingAuthority" />
      </mapping>
    </element>
    <element>
      <path value="Organization.active" />
      <short value="Whether the organization's record is still in active use" />
      <definition value="Whether the organization's record is still in active use." />
      <comments value="Default is true." />
      <requirements value="Need a flag to indicate a record is no longer to be used and should generally be hidden for the user in the UI." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="boolean" />
      </type>
      <defaultValueBoolean value="true" />
      <fixedBoolean value="true" />
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="No equivalent in HL7 v2" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".status" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Status (however this concept in ServD more covers why the organization is active or not, could be delisted, deregistered, not operational yet) this could alternatively be derived from ./StartDate and ./EndDate and given a context date." />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="status" />
      </mapping>
    </element>
    <element>
      <path value="Organization.type" />
      <short value="Kind of organization" />
      <definition value="The kind of organization that this is." />
      <comments value="Organizations can be corporations, wards, sections, clinical teams, government departments, etc. Note that code is generally a classifier of the type of organization; in many applications, codes are used to identity a particular organization (say, ward) as opposed to another of the same type - these are identifiers, not codes." />
      <requirements value="Need to be able to track the kind of organization that this is - different organization types have different uses." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="No equivalent in v2" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".code" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="class" />
      </mapping>
    </element>
    <element>
      <path value="Organization.name" />
      <name value="NombreOrganizacionPrestadora" />
      <short value="Name used for the organization" />
      <definition value="A name associated with the organization." />
      <requirements value="Need to use the name as the label of the organization." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <condition value="org-1" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="XON.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".name" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value=".PreferredName/Name" />
      </mapping>
    </element>
    <element>
      <path value="Organization.telecom" />
      <short value="A contact detail for the organization" />
      <definition value="A contact detail for the organization." />
      <comments value="The use code home is not to be used. Note that these contacts are not the contact details of people who are employed by or represent the organization, but official contacts for the organization itself." />
      <requirements value="Human contact for the organization." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="ContactPoint" />
      </type>
      <condition value="org-3" />
      <mapping>
        <identity value="v2" />
        <map value="ORC-22?" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".telecom" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./ContactPoints" />
      </mapping>
    </element>
    <element>
      <path value="Organization.address" />
      <short value="An address for the organization" />
      <definition value="An address for the organization." />
      <comments value="Organization may have multiple addresses with different uses or applicable periods. The use code home is not to be used." />
      <requirements value="May need to keep track of the organization's addresses for contacting, billing or reporting requirements." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Address" />
      </type>
      <condition value="org-2" />
      <mapping>
        <identity value="v2" />
        <map value="ORC-23?" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".address" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./PrimaryAddress and ./OtherAddresses" />
      </mapping>
    </element>
    <element>
      <path value="Organization.partOf" />
      <short value="The organization of which this organization forms a part" />
      <definition value="The organization of which this organization forms a part." />
      <requirements value="Need to be able to track the hierarchy of organizations within an organization." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <profile value="http://mais.org.ar/fhir/StructureDefinition/OrganizacionPrestadora" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="No equivalent in HL7 v2" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".playedBy[classCode=Part].scoper" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Organization.contact" />
      <short value="Contact for the organization for a certain purpose" />
      <definition value="Contact for the organization for a certain purpose." />
      <comments value="Where multiple contacts for the same purpose are provided there is a standard extension that can be used to determine which one is the preferred contact to use." />
      <requirements value="Need to keep track of assigned contact points within bigger organization." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".contactParty" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>