PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@emed-0.1.1
    http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-observation
description: Definition of the observation
package_name: ch.fhir.ig.ch
derivation: constraint
name: CHEMEDObservation
type: Observation
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        treatmentPlan:
          match: {url: null}
          schema: {type: Extension, short: Reference to the medication treatment plan, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan', index: 1}
          min: 0
          max: 1
        prescription:
          match: {url: null}
          schema: {type: Extension, short: Reference to the medication prescription, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription', index: 2}
          min: 0
          max: 1
        dispense:
          match: {url: null}
          schema: {type: Extension, short: Reference to the medication dispense, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-dispense', index: 3}
          min: 0
          max: 1
  identifier:
    short: Pharmaceutical advice item ID
    index: 4
    elements:
      system: {index: 5}
      value: {index: 6}
  status:
    pattern: {type: Code, value: final}
    index: 7
  code:
    short: Observation code
    binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-emed/ValueSet/ihe-pharmaceuticaladvicestatuslist'}
    index: 8
  subject:
    type: Reference
    short: Patient
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-patient-epr']
    index: 9
    elements:
      reference: {index: 10}
    required: [reference]
  effectiveDateTime: {short: Effective Time, index: 11}
  note:
    short: Annotation
    index: 12
    elements:
      text: {index: 13}
package_version: emed-0.1.1
extensions:
  treatmentPlan: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan', min: 0, max: 1, type: Extension, short: Reference to the medication treatment plan, index: 1}
  prescription: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription', min: 0, max: 1, type: Extension, short: Reference to the medication prescription, index: 2}
  dispense: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-dispense', min: 0, max: 1, type: Extension, short: Reference to the medication dispense, index: 3}
class: profile
kind: resource
url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-observation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.1.1
required: [note]