PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.ecr@1.1.0
    http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-encounter
description: This Encounter profile represents the encounter related to the event.
package_name: hl7.fhir.us.ecr
derivation: constraint
name: USPublicHealthEncounter
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
      use: {mustSupport: true, index: 20}
  serviceProvider:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization']
    index: 24
  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/us-ph-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]
  hospitalization: {mustSupport: true, index: 21}
  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
    array: true
    index: 22
    elements:
      location:
        type: Reference
        isModifier: false
        mustSupport: true
        refers: ['http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-location']
        index: 23
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-patient']
    index: 7
package_version: 1.1.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-encounter
base: http://hl7.org/fhir/StructureDefinition/Encounter
version: 1.1.0
required: [subject, type]