PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.mha.pds@2.0.0-alpha-preview-0.1
    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: 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
    index: 2
    elements:
      system: {mustSupport: true, index: 3}
      value: {mustSupport: true, index: 4}
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      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
            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]
  active: {mustSupport: true, index: 11}
  name: {mustSupport: true, index: 12}
  address:
    extensions:
      preferred: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred', type: Extension, short: HL7 Preferred Address Flag extension, index: 13}
    elements:
      extension:
        type: Extension
        short: HL7 Preferred Address Flag extension
        url: http://hl7.org/fhir/StructureDefinition/iso21090-preferred
        index: 13
        slicing:
          slices:
            preferred:
              match: {}
              schema: {type: Extension, short: HL7 Preferred Address Flag extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred', index: 13}
package_version: 2.0.0-alpha-preview-0.1
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-Organization
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 2.0.0
required: [name, identifier, meta]