PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@emed-3.0.0
    http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-pharmaceuticaladvice
description: Definition of the composition for the pharmaceutical advice document
package_name: ch.fhir.ig.ch
derivation: constraint
name: CHEMEDCompositionPharmaceuticalAdvice
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:
        pharmaceuticalAdvice:
          match:
            code:
              coding:
              - {code: 61357-0, system: 'http://loinc.org', display: Medication pharmaceutical advice.brief}
          schema:
            short: Pharmaceutical advice
            _required: true
            index: 17
            elements:
              title: {short: '''Hinweise zur Medikation'' in german or ''Conseils sur les médicaments'' in french or ''Consigli sui medicamenti'' in italian or ''Pharmaceutical Advice'' in english                         or titles in other languages are also allowed', index: 18}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 61357-0, system: 'http://loinc.org', display: Medication pharmaceutical advice.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: Observation
                refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-observation']
                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: '''Kommentar zur Medikation'' in german or ''Commentaire relatif à la médication'' in french or ''Commento sulla terapia farmacologica'' in italian or ''Pharmaceutical Advice'' 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-pharmaceuticaladvice
base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr
version: 3.0.0
required: [section, custodian]