PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.ashmc@0.4.0
    http://fhir.ashmc.co.il/StructureDefinition/encounter-main
description: Asuta Ashdod top-level hospitalization encounter profile with local constraints
package_name: il.fhir.r4.ashmc
derivation: constraint
name: AsutaAshdodEncounterMain
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
  class:
    elements:
      system:
        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
        index: 8
  type:
    index: 9
    slicing:
      slices:
        hospitalization:
          match: {}
          schema:
            index: 9
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-encounter-type'}
                    index: 10
  serviceType:
    extensions:
      dar:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        index: 12
        elements:
          value:
            pattern: {type: Code, value: unknown}
            choices: []
            index: 14
    elements:
      extension:
        index: 11
        slicing:
          slices:
            dar:
              match: {}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 12
                elements:
                  value:
                    pattern: {type: Code, value: unknown}
                    choices: []
                    index: 14
    required: [extension]
  subject:
    elements:
      identifier:
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/pat-id-tafnit'}
            index: 15
  reasonCode:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {system: 'http://fhir.health.gov.il/cs/patient-visit-reason-moh'}
    index: 16
    slicing:
      slices:
        moh-reason-code:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.health.gov.il/cs/patient-visit-reason-moh'}
            index: 16
        ashmc:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.ashmc.co.il/cs/visit-reason'}
            array: true
            index: 17
          min: 0
  serviceProvider:
    elements:
      reference:
        pattern: {type: String, value: Organization/HOSP.100}
        index: 18
package_version: 0.4.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-main
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-encounter-hospitalization
version: 0.4.0