PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.ph-library@2.0.0-ballot
    http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-encounter
description: This profile represents the encounter related to a public health event.
package_name: hl7.fhir.us.ph-library
derivation: constraint
name: USPublicHealthEncounter
type: Encounter
elements:
  diagnosis:
    short: (USCDI+) Encounter Diagnosis, (USCDI+) Chief Complaint (when diagnosis.use='CC')
    mustSupport: true
    index: 13
    elements:
      condition:
        type: Reference
        mustSupport: true
        refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-condition-encounter-diagnosis']
        index: 14
      use: {mustSupport: true, index: 15}
  serviceProvider:
    type: Reference
    refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-organization']
    index: 19
  reasonCode: {short: (USCDI+) Reason for the Encounter, index: 10}
  type: {short: (USCDI+) Encounter Type, index: 2}
  participant:
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: type, type: type}
      min: null
      slices:
        responsibleProvider:
          match: {}
          schema:
            short: Responsible provider
            mustSupport: true
            index: 5
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ATND, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
                type: CodeableConcept
                index: 6
              individual:
                type: Reference
                refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-practitionerrole']
                index: 7
            required: [individual, type]
  status: {short: (USCDI+) Encounter Status, index: 1}
  identifier: {short: (USCDI+) Encounter Identifier, index: 0}
  hospitalization:
    elements:
      dischargeDisposition: {short: (USCDI+) Encounter Disposition, index: 16}
  period:
    elements:
      start: {short: (USCDI+) Admission Date/Time (Visit Start Date/Time), index: 8}
      end: {short: Discharge Date/Time (Visit End Date/Time), index: 9}
  location:
    index: 17
    elements:
      location:
        type: Reference
        short: (USCDI+) Encounter Location
        refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-location']
        index: 18
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-patient']
    index: 3
  reasonReference:
    short: (USCDI+) Reason for the Encounter
    index: 11
    slicing:
      rules: open
      discriminator:
      - {path: $this.resolve(), type: profile}
      min: null
      slices:
        chiefComplaint:
          match: {}
          schema:
            short: (USCDI+) Chief Complaint
            refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-chief-complaint-observation']
            type: Reference
            mustSupport: true
            index: 12
          min: 0
          max: 1
package_version: 2.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-encounter
base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
version: 2.0.0-ballot
required: [location]