PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.us.ph@library-1.0.0
    http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-encounter
description: This Encounter profile represents the encounter related to a public health event
package_name: rs/hl7.fhir.us.ph
derivation: constraint
name: USPublicHealthEncounter
type: Encounter
elements:
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-patient']
    index: 0
  participant:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: type, type: type}
      min: null
      slices:
        responsibleProvider:
          match: {}
          schema:
            short: Responsible provider
            mustSupport: true
            index: 2
            elements:
              type:
                short: Responsible provider
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ATND, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
                type: CodeableConcept
                index: 3
              individual:
                type: Reference
                short: Responsible Provider
                refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-practitionerrole']
                index: 4
            required: [individual, type]
  diagnosis:
    short: Encounter diagnosis
    mustSupport: true
    index: 5
    elements:
      condition:
        type: Reference
        mustSupport: true
        refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-condition-encounter-diagnosis']
        index: 6
      use: {mustSupport: true, index: 7}
  location:
    short: Public health encounter location
    index: 8
    elements:
      location:
        type: Reference
        refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-location']
        index: 9
  serviceProvider:
    type: Reference
    refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-organization']
    index: 10
package_version: library-1.0.0
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: 1.0.0
required: [location]