<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="profile-organization-patientchart" />
  <meta>
    <versionId value="2" />
    <lastUpdated value="2022-09-28T20:40:09.1799748+00:00" />
  </meta>
  <url value="http://telus.com/fhir/patientChart/StructureDefinition/profile-organization" />
  <name value="Organization" />
  <title value="TELUS Organization eServices" />
  <status value="draft" />
  <date value="2022-03-29T18:02:59.3384868Z" />
  <fhirVersion value="4.0.1" />
  <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="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/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <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" />
      <comment value="Conformance Rule: This is the full url returned in the TPR query response. Example: https://api.telus.com/rest/v1/preconf/THP/TPRMD_vs1/r4/Organization/EMRClinic1CPRID" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.id">
      <path value="Organization.id" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.meta">
      <path value="Organization.meta" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.meta.lastUpdated">
      <path value="Organization.meta.lastUpdated" />
      <comment value="Conformance Rule:  Where known, this must be supplied.&#xD;&#xA;&#xD;&#xA;This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http.html#read) interaction." />
      <mustSupport value="true" />
    </element>
    <element id="Organization.meta.source">
      <path value="Organization.meta.source" />
      <comment value="Usage:  Where known this must be supplied&#xD;&#xA;&#xD;&#xA;In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. &#xA;&#xA;This element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL." />
      <mustSupport value="true" />
    </element>
    <element id="Organization.meta.profile">
      <path value="Organization.meta.profile" />
      <comment value="Usage Note:   This should be provided in order to identify the resource profile.&#xD;&#xA;&#xD;&#xA;It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set." />
      <mustSupport value="true" />
    </element>
    <element id="Organization.text">
      <path value="Organization.text" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.text.status">
      <path value="Organization.text.status" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.text.div">
      <path value="Organization.text.div" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.identifier">
      <path value="Organization.identifier" />
      <short value="Identifies this organization across multiple systems" />
      <comment value="Usage Note:   If a business identifier is available, this may be populated as agreed to by each implementer.&#xD;&#xA;Usage Note:   This is the Main/Parent Location which is essentially a separate office that shares the same server.    Note:  In some cases the sub-location may also be used" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.identifier.system">
      <path value="Organization.identifier.system" />
      <comment value="Usage Note:  urn:telus:emr:&lt;emr type&gt;:&lt;emr instance id&gt;:organization&#xD;&#xA;&#xD;&#xA;dentifier.system is always case sensitive.&#xD;&#xA;&#xD;&#xA;Example:  urn:telus:emr:ma::emr-organization, where value could be labtestsk1" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.identifier.value">
      <path value="Organization.identifier.value" />
      <comment value="If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.active">
      <path value="Organization.active" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.type">
      <path value="Organization.type" />
      <comment value="TBD - review and finalize codes - start with TELUS code set - look at http://telus.com/fhir/ValueSet/telus-organization-type&#xD;&#xA;&#xD;&#xA;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&#xA;&#xA;When considering if multiple types are appropriate, you should evaluate if child organizations would be a more appropriate use of the concept, as different types likely are in different sub-areas of the organization. This is most likely to be used where type values have orthogonal values, such as a religious, academic and medical center.&#xA;&#xA;We expect that some jurisdictions will profile this optionality to be a single cardinality." />
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
      </binding>
    </element>
    <element id="Organization.type.coding">
      <path value="Organization.type.coding" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.type.coding.system">
      <path value="Organization.type.coding.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.type.coding.code">
      <path value="Organization.type.coding.code" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.type.coding.display">
      <path value="Organization.type.coding.display" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.name">
      <path value="Organization.name" />
      <comment value="Conformance Rule: The may include the Clinic name as known to the Vendor. As this is a string data type, reminder to structure for readability and presentation.&#xD;&#xA;&#xD;&#xA;If the name of an organization changes, consider putting the old name in the alias column so that it can still be located through searches." />
      <min value="1" />
      <maxLength value="100" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.telecom">
      <path value="Organization.telecom" />
      <comment value="Usage Note: This is used to specify the public Clinic telephone number or fax number.    This data may be considered sensitive and therefore is only supported in some cases.&#xD;&#xA;&#xD;&#xA;Alignment:  This is supported for eReferral in Ontario&#xD;&#xA;&#xD;&#xA;ContactPoint.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." />
      <mustSupport value="true" />
    </element>
    <element id="Organization.telecom.system">
      <path value="Organization.telecom.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.telecom.value">
      <path value="Organization.telecom.value" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.telecom.use">
      <path value="Organization.telecom.use" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.telecom.period">
      <path value="Organization.telecom.period" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.telecom.period.start">
      <path value="Organization.telecom.period.start" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.telecom.period.end">
      <path value="Organization.telecom.period.end" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.address">
      <path value="Organization.address" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.address.text">
      <path value="Organization.address.text" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.address.line">
      <path value="Organization.address.line" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.address.city">
      <path value="Organization.address.city" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.address.state">
      <path value="Organization.address.state" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.address.postalCode">
      <path value="Organization.address.postalCode" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.partOf">
      <path value="Organization.partOf" />
      <comment value="Usage:   The organization of which this organization forms a part, eg a sub-location will be part of the parent location/organization.   An EMR security separation defined by “functional location” configuration in EMR will be identified by part of.     &#xD;&#xA;Conformance Rule:  This is only populated when the organization has been assigned functional locations.&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <mustSupport value="true" />
    </element>
    <element id="Organization.partOf.reference">
      <path value="Organization.partOf.reference" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.partOf.display">
      <path value="Organization.partOf.display" />
      <comment value="Usage Note:  This is a textual representation of the reference that should be used in the narrative&#xD;&#xA;Conformance Rule:   This must be populated with the key identifier associated with teh reference**** - TBD&#xD;&#xA;&#xD;&#xA;This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it." />
      <mustSupport value="true" />
    </element>
    <element id="Organization.contact">
      <path value="Organization.contact" />
      <comment value="Alignment:  This is supported for eReferral in Ontario&#xD;&#xA;&#xD;&#xA;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." />
    </element>
  </differential>
</StructureDefinition>