PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.ashmc@0.5.0
    http://fhir.ashmc.co.il/StructureDefinition/encounter-amb
description: Asuta Ashdod community/HMO ambulatory encounter profile with local constraints
package_name: il.fhir.r4.ashmc
derivation: constraint
name: AsutaAshdodEncounterAmb
type: Encounter
elements:
  extension:
    index: 0
    slicing:
      slices:
        modeOfArrival:
          match: {}
          schema:
            index: 0
            elements:
              value[x]:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/patient-mode-of-arrival-moh'}
                    index: 1
  identifier:
    elements:
      type:
        index: 2
        elements:
          coding:
            index: 3
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-identifier-type'}
                index: 4
              code:
                pattern: {type: Code, value: strong-id}
                index: 5
              display:
                pattern: {type: String, value: Strong Identifier}
                index: 6
        required: [coding]
      system:
        pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/tafnit-admission-no'}
        index: 7
  status:
    pattern: {type: Code, value: in-progress}
    index: 8
  class:
    elements:
      system:
        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
        index: 9
      code:
        pattern: {type: Code, value: AMB}
        index: 10
      display:
        pattern: {type: String, value: ambulatory}
        index: 11
  type:
    index: 12
    slicing:
      slices:
        community-hmo-ambulatory:
          match: {}
          schema:
            index: 12
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-encounter-type'}
                    index: 13
                  code:
                    pattern: {type: Code, value: community-hmo-ambulatory-hdp}
                    index: 14
  subject:
    elements:
      identifier:
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/pat-id-tafnit'}
            index: 15
        required: [system]
  participant:
    index: 16
    extensions:
      dar:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        index: 18
        elements:
          value:
            pattern: {type: Code, value: unknown}
            choices: []
            index: 20
    elements:
      extension:
        index: 17
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            dar:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 18
                elements:
                  value:
                    pattern: {type: Code, value: unknown}
                    choices: []
                    index: 20
    required: [extension]
    slicing:
      slices:
        primary-performer:
          match: {}
          schema:
            index: 21
            extensions: {}
            elements:
              extension: {index: 22}
            required: [extension]
        consultant:
          match: {}
          schema:
            index: 23
            extensions: {}
            elements:
              extension: {index: 24}
            required: [extension]
        reffering-practitioner:
          match: {}
          schema:
            index: 25
            extensions: {}
            elements:
              extension: {index: 26}
            required: [extension]
  reasonCode:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {system: 'http://fhir.health.gov.il/cs/patient-visit-reason-moh'}
    index: 27
    slicing:
      slices:
        moh-reason-code:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.health.gov.il/cs/patient-visit-reason-moh'}
            index: 27
        ashmc:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.ashmc.co.il/cs/visit-reason'}
            array: true
            index: 28
            elements:
              coding:
                elements:
                  system: {index: 29}
                required: [system]
package_version: 0.5.0
extensions:
  modeOfArrival:
    url: null
    index: 0
    elements:
      value[x]:
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/patient-mode-of-arrival-moh'}
            index: 1
class: profile
kind: resource
url: http://fhir.ashmc.co.il/StructureDefinition/encounter-amb
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-encounter-community-hmo-ambulatory
version: 0.5.0