PackagesCanonicalsLogsProblems
    Packages
    il.pcmdemo.fhir.r4@0.1.4
    http://pcmdemo.health.org.il/StructureDefinition/pcm-source-organization
description: null
package_name: il.pcmdemo.fhir.r4
derivation: constraint
name: PcmSourceOrganization
type: Organization
elements:
  identifier:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        moh:
          match: {system: 'http://institutions.health.gov.il/Institutions'}
          schema:
            _required: true
            index: 1
            elements:
              system:
                pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
                index: 2
              value: {index: 3}
            required: [value, system]
  type:
    index: 4
    elements:
      coding:
        index: 5
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.health.gov.il/CodeSystem/pcm-organization-type'}
            index: 6
          code:
            pattern: {type: Code, value: source}
            index: 7
          display:
            pattern: {type: String, value: Data Source}
            index: 8
    required: [coding]
  endpoint:
    type: Reference
    refers: ['http://pcmdemo.health.org.il/StructureDefinition/pcm-endpoint']
    index: 9
    elements:
      reference: {index: 10}
    required: [reference]
package_version: 0.1.4
class: profile
kind: resource
url: http://pcmdemo.health.org.il/StructureDefinition/pcm-source-organization
base: http://hl7.org/fhir/StructureDefinition/Organization
version: null
required: [identifier, type, endpoint]