PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@orf-0.10.0
    http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-composition
description: Profile on Composition for CH ORF
package_name: ch.fhir.ig.ch
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: 10
  section:
    mustSupport: true
    index: 14
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: 1
      slices:
        orderReferral:
          match:
            code:
              coding:
              - {code: 93037-0, system: 'http://loinc.org', display: Portable medical order form}
          schema:
            short: Contains the data that supports the order and referral by form.
            mustSupport: true
            _required: true
            index: 15
            elements:
              title: {short: Order-Referral, mustSupport: true, index: 16}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 93037-0, system: 'http://loinc.org', display: Portable medical order form}
                index: 17
              text: {mustSupport: true, index: 18}
              entry:
                mustSupport: true
                array: true
                min: 3
                index: 19
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 3
                  slices:
                    Questionnaire:
                      match: {}
                      schema:
                        short: Questionnaire
                        refers: ['http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-questionnaire']
                        type: Reference
                        mustSupport: true
                        _required: true
                        index: 20
                        elements:
                          reference: {mustSupport: true, index: 21}
                        required: [reference]
                    QuestionnaireResponse:
                      match: {}
                      schema:
                        short: QuestionnaireResponse
                        refers: ['http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-questionnaireresponse']
                        type: Reference
                        mustSupport: true
                        _required: true
                        index: 22
                        elements:
                          reference: {mustSupport: true, index: 23}
                        required: [reference]
                    ServiceRequest:
                      match: {}
                      schema:
                        min: 1
                        short: ServiceRequest
                        index: 24
                        refers: ['http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-servicerequest']
                        type: Reference
                        mustSupport: true
                        array: true
                        elements:
                          reference: {mustSupport: true, index: 25}
                        _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: 26
                        elements:
                          reference: {mustSupport: true, index: 27}
                        required: [reference]
              section: {index: 28}
            required: [title, code]
        originalRepresentation:
          match:
            code:
              coding:
              - {code: 55108-5, system: 'http://loinc.org', display: Clinical presentation}
          schema:
            short: Contains the original representation as a PDF of the current document.
            mustSupport: true
            index: 29
            elements:
              title: {short: Original representation, mustSupport: true, index: 30}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 55108-5, system: 'http://loinc.org', display: Clinical presentation}
                index: 31
              text: {short: Representation of the original view, mustSupport: true, index: 32}
              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: 33
              section: {index: 34}
            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: 9
  title: {short: Meaningful title, mustSupport: true, index: 13}
  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: 12
  extension:
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        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: 2}
          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: 3}
          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: 4}
          min: 0
          max: 1
        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: 5}
          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: 6}
          min: 0
          max: 1
        copyReceiver:
          match: {url: null}
          schema: {type: Extension, short: Person/organization who receives the copy of this document, mustSupport: true, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-copyreceiver', index: 7}
          min: 0
  status: {mustSupport: true, index: 8}
  subject: {short: Patient as the principle target of a particular form content, mustSupport: true, index: 11}
  text: {short: Narrative text of the composition, mustSupport: true, index: 0}
package_version: orf-0.10.0
extensions:
  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: 2}
  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: 3}
  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: 4}
  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: 5}
  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: 6}
  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 document, mustSupport: true, index: 7}
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: 0.10.0
required: [section, text, category]