PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-orf@2.0.0
    http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-composition
description: Profile to specify how the generic elements (e.g. patient, author) and the healthcare domain specific elements \nmust be structured in the Composition as the first entry of the document.
package_name: ch.fhir.ig.ch-orf
derivation: constraint
name: ChOrfComposition
type: Composition
elements:
  category:
    short: High-level kind of a clinical document at a macro level
    binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode'}
    mustSupport: true
    index: 13
  section:
    mustSupport: true
    index: 17
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: 1
      slices:
        orderReferral:
          match:
            code:
              coding:
              - {code: 93037-0, system: 'http://loinc.org'}
          schema:
            short: Contains the data that supports the order and referral by form.
            mustSupport: true
            _required: true
            index: 18
            elements:
              title: {short: Order-Referral, mustSupport: true, index: 19}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 93037-0, system: 'http://loinc.org'}
                index: 20
              text: {mustSupport: true, index: 21}
              entry:
                mustSupport: true
                index: 22
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    Questionnaire:
                      match: {}
                      schema:
                        short: Questionnaire
                        refers: ['http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-questionnaire']
                        type: Reference
                        mustSupport: true
                        index: 23
                        elements:
                          reference: {mustSupport: true, index: 24}
                        required: [reference]
                    QuestionnaireResponse:
                      match: {}
                      schema:
                        short: QuestionnaireResponse
                        refers: ['http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-questionnaireresponse']
                        type: Reference
                        mustSupport: true
                        index: 25
                        elements:
                          reference: {mustSupport: true, index: 26}
                        required: [reference]
                    ServiceRequest:
                      match: {}
                      schema:
                        min: 1
                        short: ServiceRequest
                        index: 27
                        refers: ['http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-servicerequest']
                        type: Reference
                        mustSupport: true
                        array: true
                        elements:
                          reference: {mustSupport: true, index: 28}
                        _required: true
                        required: [reference]
                    DocumentReference:
                      match: {}
                      schema:
                        short: DocumentReference
                        refers: ['http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-documentreference']
                        type: Reference
                        mustSupport: true
                        array: true
                        index: 29
                        elements:
                          reference: {mustSupport: true, index: 30}
                        required: [reference]
              section: {index: 31}
            required: [entry, title, code]
        originalRepresentation:
          match:
            code:
              coding:
              - {code: 55108-5, system: 'http://loinc.org', display: Clinical presentation Document}
          schema:
            short: Contains the original representation as a PDF of the current document.
            mustSupport: true
            index: 32
            elements:
              title: {short: Original representation, mustSupport: true, index: 33}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 55108-5, system: 'http://loinc.org', display: Clinical presentation Document}
                index: 34
              text: {short: Representation of the original view, mustSupport: true, index: 35}
              entry:
                type: Reference
                short: According to the EPR ordonnance the PDF has to be in PDF/A-1 or PDF/A-2 format.
                mustSupport: true
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 36
              section: {index: 37}
            required: [entry, text, title, code]
  type:
    short: Precise type of clinical document
    binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode'}
    mustSupport: true
    index: 12
  title: {short: Meaningful title, mustSupport: true, index: 16}
  author:
    type: Reference
    short: The person/organization responsible for the form content
    mustSupport: true
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole']
    index: 15
  extension:
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        urgentNoficationContactForTheResponseToThisDocument:
          match: {url: null}
          schema: {type: Extension, short: An information recipient to notify for urgent matters about the response, mustSupport: true, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-urgentnoficationcontactfortheresponsetothisdocument', index: 4}
          min: 0
          max: 1
        copyReceiver:
          match: {url: null}
          schema: {type: Extension, short: Person/organization who receives the copy of this order (shall receive also all results therefrom), mustSupport: true, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-copyreceiver', index: 6}
          min: 0
        antecedentEpisodeOfCare:
          match: {url: null}
          schema: {type: Extension, short: 'Documentation of the antecedent episode of care e.g hospitalisation in case of care transfer between instituitons e.g. hospitals, rehab. clinics, retirement homes etc.', mustSupport: true, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-antecedentepisodeofcare', index: 8}
          min: 0
          max: 1
        dataEnterer:
          match: {url: null}
          schema: {type: Extension, short: The person/organization who has typed/filled in the form content, mustSupport: true, url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-dataenterer', index: 2}
          min: 0
          max: 1
        initiator:
          match: {url: null}
          schema: {type: Extension, short: Profile to specify who intiated this order; in particulars for spitex and  transfer to retirement home etc., mustSupport: true, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-initiator', index: 9}
          min: 0
          max: 1
        patientConsent:
          match: {url: null}
          schema:
            type: Extension
            short: "To specify if the patient gave an informed consent to this order; in particulars for spitex \nand  transfer to retirement home etc."
            mustSupport: true
            url: http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-patientconsent
            index: 10
          min: 0
          max: 1
        urgentNoficationContactForThisDocument:
          match: {url: null}
          schema: {type: Extension, short: An information recipient to notify for urgent matters, mustSupport: true, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-urgentnoficationcontactforthisdocument', index: 3}
          min: 0
          max: 1
        precedentDocument:
          match: {url: null}
          schema: {type: Extension, short: Identifier of the document which precedes this document in a thread., mustSupport: true, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-precedentdocument', index: 7}
          min: 0
          max: 1
        receiver:
          match: {url: null}
          schema: {type: Extension, short: Person/organization who receives the document, mustSupport: true, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-receiver', index: 5}
          min: 0
          max: 1
  status: {mustSupport: true, index: 11}
  subject: {short: Patient as the principle target of a particular form content, mustSupport: true, index: 14}
  text: {short: Narrative text of the composition, mustSupport: true, index: 0}
package_version: 2.0.0
extensions:
  urgentNoficationContactForTheResponseToThisDocument: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-urgentnoficationcontactfortheresponsetothisdocument', min: 0, max: 1, type: Extension, short: An information recipient to notify for urgent matters about the response, mustSupport: true, index: 4}
  copyReceiver: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-copyreceiver', min: 0, type: Extension, short: Person/organization who receives the copy of this order (shall receive also all results therefrom), mustSupport: true, index: 6}
  antecedentEpisodeOfCare: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-antecedentepisodeofcare', min: 0, max: 1, type: Extension, short: 'Documentation of the antecedent episode of care e.g hospitalisation in case of care transfer between instituitons e.g. hospitals, rehab. clinics, retirement homes etc.', mustSupport: true, index: 8}
  dataEnterer: {url: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-dataenterer', min: 0, max: 1, type: Extension, short: The person/organization who has typed/filled in the form content, mustSupport: true, index: 2}
  initiator: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-initiator', min: 0, max: 1, type: Extension, short: Profile to specify who intiated this order; in particulars for spitex and  transfer to retirement home etc., mustSupport: true, index: 9}
  patientConsent:
    url: http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-patientconsent
    min: 0
    max: 1
    type: Extension
    short: "To specify if the patient gave an informed consent to this order; in particulars for spitex \nand  transfer to retirement home etc."
    mustSupport: true
    index: 10
  urgentNoficationContactForThisDocument: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-urgentnoficationcontactforthisdocument', min: 0, max: 1, type: Extension, short: An information recipient to notify for urgent matters, mustSupport: true, index: 3}
  precedentDocument: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-precedentdocument', min: 0, max: 1, type: Extension, short: Identifier of the document which precedes this document in a thread., mustSupport: true, index: 7}
  receiver: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-receiver', min: 0, max: 1, type: Extension, short: Person/organization who receives the document, mustSupport: true, index: 5}
class: profile
kind: resource
url: http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-composition
base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition
version: 2.0.0
required: [section, text, subject, category]