PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@orf-0.9.1
    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: ORFComposition
type: Composition
elements:
  category:
    short: Categorization of Composition
    type: CodeableConcept
    array: true
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/document-classcodes'}
    isSummary: true
    index: 11
  date: {short: Composition editing time, type: dateTime, isSummary: true, index: 13}
  section:
    constraint:
      cmp-1: {human: 'A section must contain at least one of text, entries, or sub-sections', severity: error, expression: text.exists() or entry.exists() or section.exists()}
      cmp-2: {human: A section can only have an emptyReason if it is empty, severity: error, expression: emptyReason.empty() or entry.empty()}
    short: Composition is broken into sections
    type: BackboneElement
    array: true
    index: 16
    elements:
      title: {short: Label for section (e.g. for ToC), type: string, index: 17}
      entry:
        short: A reference to data that supports this section
        refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
        type: Reference
        array: true
        index: 18
    required: [title]
  type:
    short: Kind of composition (LOINC if possible)
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/doc-typecodes'}
    isSummary: true
    index: 10
  title: {short: Meaningful title, type: string, isSummary: true, index: 15}
  author:
    short: The person responsible for Form Content
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner']
    type: Reference
    isSummary: true
    index: 14
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        precedentDocument:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-precedentdocument', index: 1}
          min: 0
          max: 1
        dataEntryPerson:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-dataentryperson', index: 2}
          min: 0
          max: 1
        urgentNoficationContactForRequest:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-urgentnoficationcontactforrequest', index: 3}
          min: 0
          max: 1
        urgentNoficationContactForResponse:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-urgentnoficationcontactforresponse', index: 4}
          min: 0
          max: 1
        requestReceiver:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-requestreceiver', index: 5}
          min: 0
          max: 1
        responseReceiver:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-responsereceiver', index: 6}
          min: 0
        visitNumber:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-visitnumber', index: 7}
          min: 0
          max: 1
  status:
    isModifier: true
    short: preliminary | final | amended | entered-in-error
    type: code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/composition-status|4.0.1'}
    isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
    isSummary: true
    index: 9
  identifier: {short: Version-independent identifier for the Composition, type: Identifier, isSummary: true, index: 8}
  subject:
    short: Who and/or what the composition is about
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient']
    type: Reference
    isSummary: true
    index: 12
package_version: orf-0.9.1
extensions:
  precedentDocument: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-precedentdocument', min: 0, max: 1, type: Extension, index: 1}
  dataEntryPerson: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-dataentryperson', min: 0, max: 1, type: Extension, index: 2}
  urgentNoficationContactForRequest: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-urgentnoficationcontactforrequest', min: 0, max: 1, type: Extension, index: 3}
  urgentNoficationContactForResponse: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-urgentnoficationcontactforresponse', min: 0, max: 1, type: Extension, index: 4}
  requestReceiver: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-requestreceiver', min: 0, max: 1, type: Extension, index: 5}
  responseReceiver: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-responsereceiver', min: 0, type: Extension, index: 6}
  visitNumber: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-visitnumber', min: 0, max: 1, type: Extension, index: 7}
class: profile
kind: resource
url: http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-composition
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 0.9.1
required: [author, status, identifier, subject, title, type, date]