PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/ODSAPI-Organization-1
description: Organization Resource constrained to represent an ODS Organization.
package_name: NHSD.Assets.STU3
derivation: constraint
name: ODSAPI-Organization-1
type: Organization
elements:
  address:
    index: 30
    extensions:
      UPRN: {url: h, type: Extension, short: Optional Extensions Element, index: 32}
    elements:
      extension:
        index: 31
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            UPRN:
              match: {url: null}
              schema: {type: Extension, short: Optional Extensions Element, url: h, index: 32}
      use: {index: 33}
      type: {index: 34}
      text: {index: 35}
      line: {index: 36}
      state: {index: 37}
      period: {index: 38}
    required: [line]
  meta:
    elements:
      lastUpdated: {index: 0}
    required: [lastUpdated]
  name: {index: 23}
  type:
    index: 15
    elements:
      coding:
        index: 16
        elements:
          system: {index: 17}
          version: {index: 18}
          code: {index: 19}
          display: {index: 20}
          userSelected: {index: 21}
        required: [display, system, code]
      text: {index: 22}
    required: [coding]
  extension:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        activePeriod:
          match: {url: null}
          schema:
            type: Extension
            url: h
            index: 2
            elements:
              valuePeriod:
                extensions:
                  dateType: {url: null, short: An extension to define whether the Date Period is 'Legal' or 'Operational'., index: 3}
                elements:
                  extension:
                    short: An extension to define whether the Date Period is 'Legal' or 'Operational'.
                    index: 3
                    slicing:
                      slices:
                        dateType:
                          match: {}
                          schema: {short: An extension to define whether the Date Period is 'Legal' or 'Operational'., index: 3}
        role:
          match: {url: null}
          schema:
            type: Extension
            url: h
            index: 4
            extensions:
              activePeriod:
                url: null
                index: 5
                elements:
                  valuePeriod:
                    extensions:
                      dateType: {url: null, short: An extension to define whether the Date Period is 'Legal' or 'Operational'., index: 6}
                    elements:
                      extension:
                        short: An extension to define whether the Date Period is 'Legal' or 'Operational'.
                        index: 6
                        slicing:
                          slices:
                            dateType:
                              match: {}
                              schema: {short: An extension to define whether the Date Period is 'Legal' or 'Operational'., index: 6}
            elements:
              extension:
                index: 5
                slicing:
                  slices:
                    activePeriod:
                      match: {}
                      schema:
                        index: 5
                        elements:
                          valuePeriod:
                            extensions:
                              dateType: {url: null, short: An extension to define whether the Date Period is 'Legal' or 'Operational'., index: 6}
                            elements:
                              extension:
                                short: An extension to define whether the Date Period is 'Legal' or 'Operational'.
                                index: 6
                                slicing:
                                  slices:
                                    dateType:
                                      match: {}
                                      schema: {short: An extension to define whether the Date Period is 'Legal' or 'Operational'., index: 6}
  alias: {index: 24}
  active: {index: 14}
  identifier:
    index: 7
    elements:
      use: {index: 8}
      type: {index: 9}
      system:
        pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/ods-organization-code'}
        index: 10
      value: {index: 11}
      period: {index: 12}
      assigner: {index: 13}
    required: [value, system]
  telecom:
    elements:
      system: {index: 25}
      value: {index: 26}
      use: {index: 27}
      rank: {index: 28}
      period: {index: 29}
    required: [value, system]
  partOf: {index: 39}
  endpoint: {index: 41}
  contact: {index: 40}
package_version: 1.0.0
extensions:
  activePeriod:
    url: h
    type: Extension
    index: 2
    elements:
      valuePeriod:
        extensions:
          dateType: {url: null, short: An extension to define whether the Date Period is 'Legal' or 'Operational'., index: 3}
        elements:
          extension:
            short: An extension to define whether the Date Period is 'Legal' or 'Operational'.
            index: 3
            slicing:
              slices:
                dateType:
                  match: {}
                  schema: {short: An extension to define whether the Date Period is 'Legal' or 'Operational'., index: 3}
  role:
    url: h
    type: Extension
    index: 4
    extensions:
      activePeriod:
        url: null
        index: 5
        elements:
          valuePeriod:
            extensions:
              dateType: {url: null, short: An extension to define whether the Date Period is 'Legal' or 'Operational'., index: 6}
            elements:
              extension:
                short: An extension to define whether the Date Period is 'Legal' or 'Operational'.
                index: 6
                slicing:
                  slices:
                    dateType:
                      match: {}
                      schema: {short: An extension to define whether the Date Period is 'Legal' or 'Operational'., index: 6}
    elements:
      extension:
        index: 5
        slicing:
          slices:
            activePeriod:
              match: {}
              schema:
                index: 5
                elements:
                  valuePeriod:
                    extensions:
                      dateType: {url: null, short: An extension to define whether the Date Period is 'Legal' or 'Operational'., index: 6}
                    elements:
                      extension:
                        short: An extension to define whether the Date Period is 'Legal' or 'Operational'.
                        index: 6
                        slicing:
                          slices:
                            dateType:
                              match: {}
                              schema: {short: An extension to define whether the Date Period is 'Legal' or 'Operational'., index: 6}
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/ODSAPI-Organization-1
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 1.0.0
required: [name, address, identifier, type, active]