<StructureDefinition xmlns="http://hl7.org/fhir">
  <meta>
    <lastUpdated value="2018-02-22T13:09:28.596+00:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="pa" />
  </extension>
  <url value="https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1" />
  <version value="1.4.0" />
  <name value="CareConnect-GPC-Organization-1" />
  <status value="active" />
  <date value="2024-01-22T11:39:06.3872207+00:00" />
  <publisher value="HL7 UK" />
  <description value="The Organization resource represents the organisation that employs the healthcare professional." />
  <copyright value="Copyright © 2019 HL7 UK&#xD;&#xA;&#xD;&#xA;Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at&#xD;&#xA;&#xD;&#xA;http://www.apache.org/licenses/LICENSE-2.0&#xD;&#xA;&#xD;&#xA;Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.&#xD;&#xA;&#xD;&#xA;HL7® FHIR® standard Copyright © 2011+ HL7&#xD;&#xA;&#xD;&#xA;The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at&#xD;&#xA;&#xD;&#xA;https://www.hl7.org/fhir/license.html" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Organization" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Organization" />
  <derivation value="constraint" />
  <differential>
    <element id="Organization.extension">
      <path value="Organization.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.extension:mainLocation">
      <path value="Organization.extension" />
      <sliceName value="mainLocation" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MainLocation-1" />
      </type>
    </element>
    <element id="Organization.extension:organization-period">
      <path value="Organization.extension" />
      <sliceName value="organization-period" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/organization-period" />
      </type>
    </element>
    <element id="Organization.identifier">
      <path value="Organization.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <ordered value="false" />
        <rules value="openAtEnd" />
      </slicing>
    </element>
    <element id="Organization.identifier:odsOrganisationCode">
      <path value="Organization.identifier" />
      <sliceName value="odsOrganisationCode" />
      <short value="Organisation Data Service code" />
      <definition value="Identifier code supplier by the Organisation Data Service" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.identifier:odsOrganisationCode.use">
      <path value="Organization.identifier.use" />
      <max value="0" />
    </element>
    <element id="Organization.identifier:odsOrganisationCode.type">
      <path value="Organization.identifier.type" />
      <max value="0" />
    </element>
    <element id="Organization.identifier:odsOrganisationCode.system">
      <path value="Organization.identifier.system" />
      <min value="1" />
      <fixedUri value="https://fhir.nhs.uk/Id/ods-organization-code" />
    </element>
    <element id="Organization.identifier:odsOrganisationCode.value">
      <path value="Organization.identifier.value" />
      <min value="1" />
    </element>
    <element id="Organization.identifier:odsOrganisationCode.period">
      <path value="Organization.identifier.period" />
      <max value="0" />
    </element>
    <element id="Organization.identifier:odsOrganisationCode.assigner">
      <path value="Organization.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="Organization.type">
      <path value="Organization.type" />
      <max value="1" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="OrganizationType" />
        </extension>
        <strength value="extensible" />
        <description value="A ValueSet to categorize the organisation" />
        <valueSetReference>
          <reference value="https://fhir.nhs.uk/STU3/ValueSet/GPConnect-OrganisationType-1" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Organization.name">
      <path value="Organization.name" />
      <min value="1" />
    </element>
    <element id="Organization.telecom">
      <path value="Organization.telecom" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.address">
      <path value="Organization.address" />
      <mustSupport value="true" />
    </element>
    <element id="Organization.address.state">
      <path value="Organization.address.state" />
      <max value="0" />
    </element>
    <element id="Organization.partOf">
      <path value="Organization.partOf" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1" />
      </type>
    </element>
    <element id="Organization.contact.name.family">
      <path value="Organization.contact.name.family" />
      <min value="1" />
    </element>
    <element id="Organization.contact.address.state">
      <path value="Organization.contact.address.state" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>