PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@emed-0.1.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: 13}
  section:
    index: 28
    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: 29
            extensions:
              sectionId: {url: null, index: 31}
            elements:
              extension:
                index: 30
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    sectionId:
                      match: {url: null}
                      schema: {index: 31}
              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: 32}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 61357-0, system: 'http://loinc.org', display: Medication pharmaceutical advice.brief}
                index: 33
              author:
                type: Reference
                short: The author of the section (person or device) if different from the author/timestamp of the document
                refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-patient-epr', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization-epr', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner-epr', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                index: 34
                extensions: {}
                elements:
                  extension: {type: Extension, short: Timestamp of the authorship/data input, url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time', index: 35}
                  reference: {index: 36}
                required: [reference]
              text: {short: Human readable text of this section, index: 37}
              entry:
                type: Reference
                short: Observation
                refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-observation']
                index: 38
                elements:
                  reference: {index: 39}
                required: [reference]
              section: {index: 40}
            required: [entry, text, title, code]
        annotation:
          match:
            code:
              coding:
              - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment}
          schema:
            short: Annotation
            index: 41
            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: 42}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48767-8, system: 'http://loinc.org', display: Annotation comment}
                index: 43
              text: {short: Human readable text of this section, index: 44}
              entry:
                short: General comments
                array: true
                index: 45
                elements:
                  reference: {index: 46}
                required: [reference]
              section: {index: 47}
            required: [text, title, code]
  attester:
    short: The authenticator of the document (person)
    index: 21
    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: 22
            elements:
              mode: {index: 23}
              time: {short: Timestamp of the signature, index: 24}
              party: {short: Who attested the composition, index: 25}
  type:
    short: Document type
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '419891008', system: 'http://snomed.info/sct', display: Record artifact (record artifact)}
    index: 10
  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: 17}
  author:
    short: The author of the document (person or device)
    index: 14
    extensions: {}
    elements:
      extension: {type: Extension, short: Timestamp of the authorship/data input, url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time', index: 15}
      reference: {index: 16}
  extension:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        setId:
          match: {url: null}
          schema: {short: Set ID, index: 2}
        versionNumber:
          match: {url: null}
          schema: {short: Version number, index: 3}
        informationRecipient:
          match: {url: null}
          schema: {short: A recipient of this document (person or organization), index: 4}
        dataEnterer:
          match: {url: null}
          schema: {short: Person who entered information into this document if it is a person other than the author, index: 5}
  custodian:
    short: The organization in whose name the document has been created
    index: 26
    elements:
      reference: {index: 27}
  status:
    pattern: {type: Code, value: final}
    index: 9
  language: {short: Language of the document, index: 0}
  identifier:
    short: Identification number of the document
    index: 6
    elements:
      system: {index: 7}
      value: {index: 8}
  subject:
    short: A patient for whom this document instance was created
    index: 11
    elements:
      reference: {index: 12}
  confidentiality:
    index: 18
    extensions:
      confidentialityCode: {url: null, short: Swiss realm of confidentiality code according to the Swiss EPR regulation, index: 20}
    elements:
      extension:
        index: 19
        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: 20}
package_version: emed-0.1.0
extensions:
  setId: {url: null, short: Set ID, index: 2}
  versionNumber: {url: null, short: Version number, index: 3}
  informationRecipient: {url: null, short: A recipient of this document (person or organization), index: 4}
  dataEnterer: {url: null, short: Person who entered information into this document if it is a person other than the author, index: 5}
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: 0.1.0
required: [section]