PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.ashmc@0.5.2
    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
        paying-entity:
          match: {}
          schema:
            index: 2
            elements:
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/enc-paying-entity'}
                        index: 3
  identifier:
    elements:
      type:
        index: 4
        elements:
          coding:
            index: 5
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-identifier-type'}
                index: 6
              code:
                pattern: {type: Code, value: strong-id}
                index: 7
              display:
                pattern: {type: String, value: Strong Identifier}
                index: 8
        required: [coding]
      system:
        pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/tafnit-admission-no'}
        index: 9
  status:
    pattern: {type: Code, value: in-progress}
    index: 10
  class:
    elements:
      system:
        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
        index: 11
      code:
        pattern: {type: Code, value: AMB}
        index: 12
      display:
        pattern: {type: String, value: ambulatory}
        index: 13
  type:
    index: 14
    slicing:
      slices:
        community-hmo-ambulatory:
          match: {}
          schema:
            index: 14
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-encounter-type'}
                    index: 15
                  code:
                    pattern: {type: Code, value: community-hmo-ambulatory-hdp}
                    index: 16
  subject:
    elements:
      identifier:
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/pat-id-tafnit'}
            index: 17
        required: [system]
  participant:
    index: 18
    extensions:
      dar:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        index: 20
        elements:
          value:
            pattern: {type: Code, value: unknown}
            choices: []
            index: 22
    elements:
      extension:
        index: 19
        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: 20
                elements:
                  value:
                    pattern: {type: Code, value: unknown}
                    choices: []
                    index: 22
    required: [extension]
    slicing:
      slices:
        primary-performer:
          match: {}
          schema:
            index: 23
            extensions: {}
            elements:
              extension: {index: 24}
            required: [extension]
        consultant:
          match: {}
          schema:
            index: 25
            extensions: {}
            elements:
              extension: {index: 26}
            required: [extension]
        reffering-practitioner:
          match: {}
          schema:
            index: 27
            extensions: {}
            elements:
              extension: {index: 28}
            required: [extension]
  reasonCode:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {system: 'http://fhir.health.gov.il/cs/patient-visit-reason-moh'}
    index: 29
    slicing:
      slices:
        moh-reason-code:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.health.gov.il/cs/patient-visit-reason-moh'}
            index: 29
        ashmc:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.ashmc.co.il/cs/visit-reason'}
            array: true
            index: 30
            elements:
              coding:
                elements:
                  system: {index: 31}
                required: [system]
package_version: 0.5.2
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
  paying-entity:
    url: null
    index: 2
    elements:
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/enc-paying-entity'}
                index: 3
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.2