PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.mha-pds@0.9.0-alpha-1.9.7.13
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-organization
description: Proposed constraints and extensions on the Organization resource
package_name: ca.on.oh.mha-pds
derivation: constraint
name: StructureDefinition.ca-on-mha-profile-Organization
type: Organization
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-organization'}
        index: 1
    required: [profile]
  identifier:
    mustSupport: true
    array: true
    min: 2
    index: 2
    elements:
      system: {mustSupport: true, index: 3}
      value: {mustSupport: true, index: 4}
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 2
      slices:
        MOHOrgID:
          match: {system: 'http://ehealthontario.ca/fhir/NamingSystem/id-Organization-OHFS'}
          schema:
            mustSupport: true
            _required: true
            index: 5
            elements:
              system:
                pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/NamingSystem/id-Organization-OHFS'}
                mustSupport: true
                index: 6
              value: {mustSupport: true, index: 7}
            required: [value, system]
        ConnexOrgNumber:
          match: {system: 'http://ehealthontario.ca/fhir/NamingSystem/id-Organization-ConnexOrg'}
          schema:
            mustSupport: true
            _required: true
            index: 8
            elements:
              system:
                pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/NamingSystem/id-Organization-ConnexOrg'}
                mustSupport: true
                index: 9
              value: {mustSupport: true, index: 10}
            required: [value, system]
  name: {mustSupport: true, index: 11}
  address:
    extensions:
      preferred: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred', min: 0, type: Extension, short: HL7 Preferred Address Flag extension, index: 13}
    elements:
      extension:
        index: 12
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            preferred:
              match: {url: null}
              schema: {type: Extension, short: HL7 Preferred Address Flag extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred', index: 13}
              min: 0
package_version: 0.9.0-alpha-1.9.7.13
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-organization
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 1.0.0
required: [name, meta]