PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.ashmc@0.5.2
    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
        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
  class:
    elements:
      system:
        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
        index: 10
  type:
    index: 11
    slicing:
      slices:
        hospitalization:
          match: {}
          schema:
            index: 11
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-encounter-type'}
                    index: 12
                  code:
                    pattern: {type: Code, value: hospitalization-hdp}
                    index: 13
  serviceType:
    elements:
      coding:
        index: 14
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            index: 15
          code:
            pattern: {type: Code, value: '224891009'}
            index: 16
          display:
            pattern: {type: String, value: Healthcare services (qualifier value)}
            index: 17
    required: [coding]
  reasonCode:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {system: 'http://fhir.health.gov.il/cs/patient-visit-reason-moh'}
    index: 18
    slicing:
      slices:
        moh-reason-code:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.health.gov.il/cs/patient-visit-reason-moh'}
            index: 18
        ashmc:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.ashmc.co.il/cs/visit-reason'}
            array: true
            index: 19
          min: 0
  serviceProvider:
    elements:
      reference:
        pattern: {type: String, value: Organization/HOSP.100}
        index: 20
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-main
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-encounter-hospitalization
version: 0.5.2