PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@emed-3.0.0
    http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationcard
description: Definition of the composition for the medication card document
package_name: ch.fhir.ig.ch
derivation: constraint
name: CHEMEDCompositionMedicationCard
type: Composition
elements:
  date: {short: The document's creation date and time, mustSupport: true, 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
            mustSupport: true
            _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
                mustSupport: true
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 21
              section: {index: 22}
        card:
          match:
            code:
              coding:
              - {code: 10160-0, system: 'http://loinc.org', display: History of medication use}
          schema:
            short: Medication card
            mustSupport: true
            _required: true
            index: 23
            elements:
              title: {short: '''Medikamentenliste'' in german or ''Liste de médicaments'' in french or ''Lista farmaci'' in italian or ''Medication List'' in english                         or titles in other languages are also allowed', index: 24}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10160-0, system: 'http://loinc.org', display: History of medication use}
                index: 25
              text: {short: Human readable text of this section, index: 26}
              entry:
                type: Reference
                short: Medication statement
                mustSupport: true
                refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationstatement-card']
                array: true
                index: 27
                elements:
                  reference: {index: 28}
                required: [reference]
              section: {index: 29}
            required: [title, code]
        annotation:
          match:
            code:
              coding:
              - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment}
          schema:
            short: Annotation
            mustSupport: true
            index: 30
            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: 31}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment}
                index: 32
              text: {short: Human readable text of this section, mustSupport: true, index: 33}
              section: {index: 34}
            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: Medication summary document
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '721912009', system: 'http://snomed.info/sct'}
    index: 4
  title: {short: '''Medikationsplan'' in german or ''Plan de médication'' in french or ''Piano farmacologico'' in italian or ''Medication Card'' in english                         or titles in other languages are also allowed', index: 8}
  author:
    type: Reference
    short: The author of the document (person or device)
    mustSupport: true
    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/Device', '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, mustSupport: true, 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-medicationcard
base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr
version: 3.0.0
required: [section, custodian]