PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu3.currentbuild@0.0.3-pre-release
    https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization
description: This profile defines the UK constraints and extensions on the International FHIR resource [Organization](https://hl7.org/fhir/R4/Organization.html).
package_name: fhir.r4.ukcore.stu3.currentbuild
derivation: constraint
name: UKCoreOrganization
type: Organization
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        mainLocation:
          match: {url: null}
          schema: {type: Extension, short: Main location, url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MainLocation', index: 1}
        organizationPeriod:
          match: {url: null}
          schema:
            type: Extension
            short: The date range that this organization SHOULD be considered available.
            url: http://hl7.org/fhir/StructureDefinition/organization-period
            index: 2
            elements:
              value:
                short: The date range that this organization SHOULD be considered available.
                choices: []
                index: 4
  identifier:
    index: 5
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        odsOrganisationCode:
          match: {system: 'https://fhir.nhs.uk/Id/ods-organization-code'}
          schema:
            short: Organisation Data Service code
            index: 6
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.nhs.uk/Id/ods-organization-code'}
                type: uri
                index: 7
              value: {index: 8}
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
                index: 9
            required: [system, value]
        odsSiteCode:
          match: {system: 'https://fhir.nhs.uk/Id/ods-site-code'}
          schema:
            short: ODS Site code to identify the organisation at site level
            index: 10
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.nhs.uk/Id/ods-site-code'}
                type: uri
                index: 11
              value: {index: 12}
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
                index: 13
            required: [system, value]
  partOf:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
    index: 14
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 15
  endpoint:
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 16
package_version: 0.0.3-pre-release
extensions:
  mainLocation: {url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MainLocation', type: Extension, short: Main location, index: 1}
  organizationPeriod:
    url: http://hl7.org/fhir/StructureDefinition/organization-period
    type: Extension
    short: The date range that this organization SHOULD be considered available.
    index: 2
    elements:
      value:
        short: The date range that this organization SHOULD be considered available.
        choices: []
        index: 4
class: profile
kind: resource
url: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 2.3.0