PackagesCanonicalsLogsProblems
    Packages
    il.core.fhir.r4@0.3.0
    http://fhir.health.gov.il/StructureDefinition/il-core-organization
description: 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: 1
      slices:
        moh-inst-lic:
          match: {system: 'https://institutions.health.gov.il/Institutions'}
          schema:
            short: MoH institute license number
            mustSupport: false
            index: 3
            elements:
              system:
                pattern: {type: Uri, value: 'https://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: "\r\nmatches('[0-9]{9}')\r\n"
                index: 8
  active: {mustSupport: true, index: 9}
  name: {mustSupport: true, index: 10}
  telecom:
    elements:
      system: {mustSupport: true, index: 11}
      value: {mustSupport: true, index: 12}
      use: {mustSupport: true, index: 13}
    required: [value, system]
  address: {type: Address, mustSupport: true, index: 14}
  partOf:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization']
    index: 15
package_version: 0.3.0
class: profile
kind: resource
url: http://fhir.health.gov.il/StructureDefinition/il-core-organization
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 0.3.0
required: [name, address, identifier, active]