PackagesCanonicalsLogsProblems
    Packages
    il.core.fhir.r4@0.17.1-params
    http://fhir.health.gov.il/StructureDefinition/il-core-organization
description: Israel Core proposed constraints and extensions on the Organization Resource
package_name: il.core.fhir.r4
derivation: constraint
name: ILCoreOrganization
type: Organization
elements:
  identifier:
    index: 0
    elements:
      system: {mustSupport: true, index: 1}
      value: {short: The value that is unique within the system., mustSupport: true, index: 2}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        moh-inst-symbol:
          match: {system: 'http://institutions.health.gov.il/Institutions'}
          schema:
            short: MoH institute sympbol number
            mustSupport: true
            index: 3
            elements:
              system:
                pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
                index: 4
              value: {short: An MoH institute license number, index: 5}
        legal-entity:
          match: {system: 'http://fhir.health.gov.il/identifier/legal-entity'}
          schema:
            short: Israeli legal entity identifier (Hebrew -  ח.פ., מספר עמותה וכו)
            mustSupport: true
            index: 6
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.health.gov.il/identifier/legal-entity'}
                index: 7
              value:
                short: Israeli legal entity Identifier
                constraint:
                  nine-digits-chk: {human: All legal entities must have a 9 digit identifier, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-organization', severity: error, expression: 'matches(''[0-9]{9}'')'}
                index: 8
        moe-inst:
          match: {system: 'http://fhir.health.gov.il/identifier/moe-institute-symbol'}
          schema:
            short: MoE institute symbol
            mustSupport: false
            index: 9
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.health.gov.il/identifier/moe-institute-symbol'}
                index: 10
              value: {short: An MoE institute symbol, index: 11}
        moh-hospital-department:
          match: {system: 'http://fhir.health.gov.il/identifier/moh-hospital-department'}
          schema:
            short: MoH hospital department
            mustSupport: false
            index: 12
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.health.gov.il/identifier/moh-hospital-department'}
                index: 13
              value:
                short: An MoH hospital depratment symbol
                constraint:
                  il-organization-hosp-dept: {human: 'Hospital department numner must follow the following structure: five (5) alphanumeric characters, a hyphen ("-") and five (5) more alphanumeric characters', source: 'http://fhir.health.gov.il/StructureDefinition/il-core-organization', severity: error, expression: 'matches(''^[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}$'')'}
                index: 14
        paying-entity-moh:
          match: {system: 'http://fhir.health.gov.il/cs/paying-entity-moh'}
          schema:
            short: MoH Paying Entity Identifier
            mustSupport: true
            index: 15
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/paying-entity-moh'}
                index: 16
              value:
                binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/organization-paying-entity-moh-identifier'}
                index: 17
  active: {mustSupport: true, index: 18}
  type:
    binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/organization-type'}
    index: 19
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: null
      slices:
        moh-institute-type:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/institution-type-moh'}
            index: 20
          min: 0
          max: 1
        moh-department-type:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/department-type-moh'}
            index: 21
          min: 0
          max: 1
  name: {mustSupport: true, index: 22}
  telecom:
    mustSupport: true
    index: 23
    elements:
      system: {mustSupport: true, index: 24}
      value: {mustSupport: true, index: 25}
      use: {mustSupport: true, index: 26}
    required: [value, system]
  address: {type: Address, mustSupport: true, index: 27}
  partOf:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization']
    index: 28
package_version: 0.17.1-params
class: profile
kind: resource
url: http://fhir.health.gov.il/StructureDefinition/il-core-organization
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 0.17.0
required: [name]