PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@emed-3.0.0
    http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationprescription
description: Definition of the composition for the medication prescription document
package_name: ch.fhir.ig.ch
derivation: constraint
name: CHEMEDCompositionMedicationPrescription
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:
        originalRepresentation:
          match:
            code:
              coding:
              - {code: 55108-5, system: 'http://loinc.org', display: Clinical presentation}
          schema:
            short: Original representation
            _required: true
            index: 17
            elements:
              title: {short: '''Original Darstellung'' in german or ''Représentation originale'' in french or ''Rappresentazione originale'' in italian or ''Original representation'' in english                         or titles in other languages are also allowed', index: 18}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 55108-5, system: 'http://loinc.org', display: Clinical presentation}
                index: 19
              text: {short: Representation of the original view, index: 20}
              entry:
                type: Reference
                short: PDF
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 21
              section: {index: 22}
        prescription:
          match:
            code:
              coding:
              - {code: 57828-6, system: 'http://loinc.org', display: PRESCRIPTIONS}
          schema:
            short: Medication prescription
            _required: true
            index: 23
            elements:
              title: {short: '''Arzneimittelverordnung'' in german or ''Prescription médicamenteuse'' in french or ''Prescrizione di droga'' in italian or ''Prescription for medication'' in english                         or titles in other languages are also allowed', index: 24}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 57828-6, system: 'http://loinc.org', display: PRESCRIPTIONS}
                index: 25
              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: 26
                elements:
                  reference: {index: 27}
                required: [reference]
              text: {short: Human readable text of this section, index: 28}
              entry:
                min: 1
                short: Medication request
                index: 29
                refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest']
                type: Reference
                array: true
                elements:
                  reference: {index: 30}
                required: [reference]
              section: {index: 31}
            required: [entry, title, code]
        annotation:
          match:
            code:
              coding:
              - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment}
          schema:
            short: Annotation
            index: 32
            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: 33}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment}
                index: 34
              text: {short: Human readable text of this section, index: 35}
            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: Medicinal prescription record
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '761938008', system: 'http://snomed.info/sct'}
    index: 4
  title: {short: '''Rezept'' in german or ''Ordonnance'' in french or ''Ricetta'' in italian or ''Prescription'' 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: emed-3.0.0
class: profile
kind: resource
url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationprescription
base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr
version: 3.0.0
required: [section, custodian]