PackagesCanonicalsLogsProblems
    Packages
    se.electronichealth.fhir.merier.r5@0.1.0-alpha
    http://electronichealth.se/fhir/NDI/StructureDefinition/organization-er
description: This profile holds information about organizations that can use endpoints.
package_name: se.electronichealth.fhir.merier.r5
derivation: constraint
name: OrganizationEr
type: Organization
elements:
  identifier:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      ordered: false
      description: Slice on identifier based on system value
      discriminator:
      - {path: system, type: value}
      min: 1
      max: 1
      slices:
        organizationIdentifier:
          match: {system: 'urn:oid:2.5.4.97'}
          schema:
            mustSupport: true
            index: 1
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:2.5.4.97'}
                mustSupport: true
                index: 2
              value: {mustSupport: true, index: 3}
            required: [value, system]
        personalIdentityNumber:
          match: {system: 'http://electronichealth.se/identifier/personnummer'}
          schema:
            mustSupport: true
            index: 4
            elements:
              system:
                pattern: {type: Uri, value: 'http://electronichealth.se/identifier/personnummer'}
                mustSupport: true
                index: 5
              value: {mustSupport: true, index: 6}
            required: [value, system]
  type:
    binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/NDI/ValueSet/er-organization-type'}
    mustSupport: true
    index: 7
    elements:
      coding:
        mustSupport: true
        index: 8
        elements:
          system: {mustSupport: true, index: 9}
          code: {mustSupport: true, index: 10}
        required: [system, code]
    required: [coding]
  endpoint:
    type: Reference
    mustSupport: true
    refers: ['http://electronichealth.se/fhir/NDI/StructureDefinition/endpoint-er']
    index: 11
package_version: 0.1.0-alpha
class: profile
kind: resource
url: http://electronichealth.se/fhir/NDI/StructureDefinition/organization-er
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 0.1.0
required: [identifier]