PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-emed@3.0.0
    http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationdispense
description: Definition of the composition for the medication dispense document
package_name: ch.fhir.ig.ch-emed
derivation: constraint
name: CHEMEDCompositionMedicationDispense
type: Composition
elements:
  date: {short: The document's creation date and time, index: 6}
  section:
    index: 16
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: code, type: pattern}
      min: 1
      slices:
        dispense:
          match:
            code:
              coding:
              - {code: 60590-7, system: 'http://loinc.org', display: Medication dispensed.brief}
          schema:
            short: Medication dispense
            _required: true
            index: 17
            elements:
              title: {short: '''Abgabe eines Medikaments'' in german or ''Dispensation d''un médicament'' in french or ''Dispensazione di un medicamento'' in italian or ''Medication dispensed'' in english                         or titles in other languages are also allowed', index: 18}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 60590-7, system: 'http://loinc.org', display: Medication dispensed.brief}
                index: 19
              author:
                type: Reference
                short: The author of the medical decision (person) if different from the author of the document (Composition.author), see also 'Guidance - Different Authors'
                refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr', 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                index: 20
                elements:
                  reference: {index: 21}
                required: [reference]
              text: {short: Human readable text of this section, index: 22}
              entry:
                type: Reference
                short: Medication dispense
                refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationdispense']
                index: 23
                elements:
                  reference: {index: 24}
                required: [reference]
              section: {index: 25}
            required: [entry, text, title, code]
        annotation:
          match:
            code:
              coding:
              - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment}
          schema:
            short: Annotation
            index: 26
            elements:
              title: {short: '''Kommentar'' in german or ''Commentaire'' in french or ''Osservazione'' in italian or ''Comment'' in english                         or titles in other languages are also allowed', index: 27}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment}
                index: 28
              text: {short: Human readable text of this section, index: 29}
            required: [text, title, code]
  attester:
    short: The authenticator of the document (person)
    index: 11
    slicing:
      rules: open
      discriminator:
      - {path: mode, type: value}
      min: null
      slices:
        legalAuthenticator:
          match: {mode: null}
          schema:
            short: The legal authenticator of the document (person)
            index: 12
            elements:
              time: {short: Timestamp of the signature, index: 13}
              party: {short: Who attested the composition, index: 14}
  type:
    short: Record artifact
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '419891008', system: 'http://snomed.info/sct'}
    index: 4
  title: {short: '''Abgabe'' in german or ''Remise'' in french or ''Dispensazione'' in italian or ''Dispense'' in english                         or titles in other languages are also allowed', index: 8}
  author:
    type: Reference
    short: The author of the document (person)
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr', 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 7
  custodian: {short: The organization in whose name the document has been created, index: 15}
  status:
    pattern: {type: Code, value: final}
    index: 3
  language: {short: Language of the document, index: 0}
  identifier:
    elements:
      system: {index: 1}
      value: {index: 2}
    required: [value, system]
  subject: {short: A patient for whom this document instance was created, index: 5}
  confidentiality:
    extensions:
      confidentialityCode: {url: null, short: Swiss realm of confidentiality code according to the Swiss EPR regulation, index: 10}
    elements:
      extension:
        index: 9
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            confidentialityCode:
              match: {url: null}
              schema: {short: Swiss realm of confidentiality code according to the Swiss EPR regulation, index: 10}
package_version: 3.0.0
class: profile
kind: resource
url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationdispense
base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr
version: 3.0.0
required: [section, custodian]