PackagesCanonicalsLogsProblems
    Packages
    fhir.deep6.ai@1.1.0
    http://deep6.ai/fhir/StructureDefinition/deep-6-ai-encounter-1.0.2
description: This profile extends the US core encounter to add a constraint that expects the Location.type to always be present, and expects at least one Implementation Curated Site.
package_name: fhir.deep6.ai
derivation: constraint
name: Deep6AIEncounterProfile
type: Encounter
elements:
  class:
    binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActEncounterCode', bindingName: EncounterClass}
    isModifier: true
    isModifierReason: Constrain ValueSet to only be a v3-ActEncounterCode
    index: 0
  reasonCode:
    constraint:
      reasoncode-code-constraint: {human: Code codings must include either a code or a display value, severity: error, expression: coding.all(code or display)}
    index: 1
  diagnosis:
    elements:
      use:
        short: Diagnosis use CodeableConcept constraint requiring a code or display.
        constraint:
          diagnosis-use-code-constraint: {human: Diagnosis use codings must include either a code or a display value, severity: error, expression: coding.all(code or display)}
        mustSupport: true
        index: 2
  location:
    elements:
      location:
        type: Reference
        short: List of locations where the patient has been, or the Implementation Curated Site which owns the encounter
        refers: ['http://deep6.ai/fhir/StructureDefinition/deep-6-ai-location-1.0.2']
        index: 3
      physicalType:
        short: The physical type of the location (usually the level in the location hierarchy - bed room ward etc. as well as the implementation curated site)
        binding: {strength: extensible, valueSet: 'http://deep6.ai/fhir/ValueSet/deep-6-ai-location-physical-type'}
        mustSupport: true
        index: 4
package_version: 1.1.0
class: profile
kind: resource
url: http://deep6.ai/fhir/StructureDefinition/deep-6-ai-encounter-1.0.2
base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
version: 1.1.0