PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.ecr@1.0.0
    http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-encounter
description: This Encounter profile represents the encounter related to the eICR event. Contained in the Encounter.participant, is the provider in charge of care (represented by the PractitionerRole.Practitioner) and the provider facility (represented by the PractitionerRole.Organization). The location (facility) in which care was provided when the case was triggered is contained in the encounter.location.\n\nA trigger on an encounter diagnosis is indicated by the eICR Trigger Code Flag Extension in the diagnosis.\n\nWhere a trigger occurs outside of an encounter use code=\"PHC2237\" \\| system=\"2.16.840.1.114222.4.5.274\" (External Encounter) and omit period, participant, location, and serviceProvider. In this case, the responsible provider and facility information is contained in the eICR Composition.author.
package_name: hl7.fhir.us.ecr
derivation: constraint
name: Eicr_Encounter
type: Encounter
elements:
  diagnosis:
    short: Encounter diagnosis
    mustSupport: true
    index: 16
    extensions:
      sliceEncounterDiagnosisTrigger: {url: 'http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension', max: 1, short: eICR Trigger Code Flag, type: Extension, mustSupport: true, index: 18}
    elements:
      extension:
        mustSupport: true
        index: 17
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            sliceEncounterDiagnosisTrigger:
              match: {url: null}
              schema: {short: eICR Trigger Code Flag, type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension', index: 18}
              max: 1
      condition:
        type: Reference
        mustSupport: true
        refers: ['http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-condition']
        index: 19
  serviceProvider:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-organization']
    index: 22
  type:
    short: Type of encounter
    mustSupport: true
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type'}
    index: 5
    extensions: {}
    elements:
      extension: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 6}
  participant:
    mustSupport: true
    index: 8
    slicing:
      rules: open
      discriminator:
      - {path: type, type: type}
      min: null
      slices:
        sliceResponsibleProvider:
          match: {}
          schema:
            short: Responsible provider
            mustSupport: true
            index: 9
            elements:
              type:
                short: Responsible provider
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ATND, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
                index: 10
              period: {mustSupport: true, index: 11}
              individual:
                type: Reference
                short: Responsible Provider
                refers: ['http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-practitionerrole']
                index: 12
            required: [type]
  status: {mustSupport: true, index: 3}
  class: {short: Class of encounter, mustSupport: true, index: 4}
  identifier:
    mustSupport: true
    index: 0
    elements:
      system: {mustSupport: true, index: 1}
      value: {mustSupport: true, index: 2}
    required: [value, system]
  period:
    short: Patient encounter start and end times
    mustSupport: true
    index: 13
    elements:
      start: {short: Encounter start., mustSupport: true, index: 14}
      end: {short: Encounter end., mustSupport: true, index: 15}
  location:
    short: eICR encounter location
    isModifier: false
    mustSupport: true
    index: 20
    elements:
      location:
        type: Reference
        isModifier: false
        mustSupport: true
        refers: ['http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-location']
        index: 21
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-patient']
    index: 7
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-encounter
base: http://hl7.org/fhir/StructureDefinition/Encounter
version: 1.0.0
required: [subject, type]