CH Core (R4)
7.0.0-ballot - ballot Switzerland flag

CH Core (R4), published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 7.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7ch/ch-core/ and changes regularly. See the Directory of published versions

Resource Profile: CH Core Composition EPR

Official URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr Version: 7.0.0-ballot
Active as of 2026-10-21 Computable Name: CHCoreCompositionEPR

Copyright/Legal: CC0-1.0

Definition of the Composition resource for use in the context of the electronic patient record (EPR).

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Composition 0..* CHCoreComposition CH Core Composition EPR
Composition.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Composition.language 1..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Composition.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Composition.identifier This element is included in summaries. 1..1 Identifier Version-independent identifier for the Composition
Composition.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Composition.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
Composition.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Composition.status This element is a modifier element. This element is included in summaries. 1..1 code preliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
Composition.type This element is included in summaries. 1..1 CodeableConcept Kind of composition
Binding: DocumentEntry.typeCode (extensible)
Composition.subject This element is included in summaries. 1..1 Reference(CH Core Patient EPR) Who and/or what the composition is about
Composition.subject.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.date This element is included in summaries. 1..1 dateTime Composition editing time
Composition.author This element is included in summaries. 1..* Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | CH Core RelatedPerson | CH Core Organization EPR) Who and/or what authored the composition
Composition.author.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.title This element is included in summaries. 1..1 string Human Readable name/title
Composition.confidentiality This element is included in summaries. 1..1 code As defined by affinity domain
Binding: v3.ConfidentialityClassification (2014-03-26) (required): Codes specifying the level of confidentiality of the composition.
Composition.confidentiality.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.confidentiality.Slices for extension.extension:confidentialityCode 1..1 CodeableConcept Extension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-confidentialitycode
Binding: DocumentEntry.confidentialityCode (extensible)
Composition.custodian This element is included in summaries. 0..1 Reference(CH Core Organization EPR) Organization which maintains the composition
Composition.custodian.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.Slices for section C 0..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code
Constraints: cmp-1, cmp-2

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.Slices for section.section:All Slices Content/Rules for all slices
Composition.Slices for section.section:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:All Slices.author 0..* Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | CH Core RelatedPerson | CH Core Organization EPR) Who and/or what authored the section
Composition.Slices for section.section:originalRepresentation C 0..1 BackboneElement Contains the original representation as a PDF of the current document.
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:originalRepresentation.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:originalRepresentation.title 1..1 string Original representation
Composition.Slices for section.section:originalRepresentation.code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "55108-5"
    }
  ]
}
Composition.Slices for section.section:originalRepresentation.text C 1..1 Narrative Representation of the original view
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Composition.Slices for section.section:originalRepresentation.entry C 1..1 Reference(Binary) According to the EPR ordonnance the PDF has to be in PDF/A-1 or PDF/A-2 format.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Composition.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base extensible DocumentEntry.typeCode 📦3.4.0 CH Term v3.4
Composition.confidentiality Base required V3 Value SetConfidentialityClassification 📍2014-03-26 FHIR Std.
Composition.section:originalRepresentation.​code Base example Document Section Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section, Composition.section:originalRepresentation A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:originalRepresentation A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from CHCoreComposition

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Composition 0..* CHCoreComposition CH Core Composition EPR
Composition.language 1..1 code Language of the resource content
Composition.identifier 1..1 Identifier Version-independent identifier for the Composition
Composition.identifier.system 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
Composition.identifier.value 1..1 string The value that is unique
Composition.type 1..1 CodeableConcept Kind of composition
Binding: DocumentEntry.typeCode (extensible)
Composition.author 1..* Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | CH Core RelatedPerson | CH Core Organization EPR) Who and/or what authored the composition
Composition.confidentiality 1..1 code As defined by affinity domain
Composition.confidentiality.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.confidentiality.Slices for extension.extension:confidentialityCode 1..1 CodeableConcept Extension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-confidentialitycode
Binding: DocumentEntry.confidentialityCode (extensible)
Composition.attester
Composition.attester.party 0..1 Reference(CH Core Patient EPR | CH Core RelatedPerson | CH Core Practitioner EPR | CH Core PractitionerRole EPR | CH Core Organization EPR) Who attested the composition
Composition.custodian 0..1 Reference(CH Core Organization EPR) Organization which maintains the composition
Composition.relatesTo
Composition.relatesTo.target[x] 1..1 Target of the relationship
Composition.relatesTo.target[x].targetIdentifier Identifier
Composition.relatesTo.target[x].targetReference Reference(CH Core Composition EPR)
Composition.Slices for section 0..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.Slices for section.section:All Slices Content/Rules for all slices
Composition.Slices for section.section:All Slices.author 0..* Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | CH Core RelatedPerson | CH Core Organization EPR) Who and/or what authored the section
Composition.Slices for section.section:originalRepresentation 0..1 BackboneElement Contains the original representation as a PDF of the current document.
Composition.Slices for section.section:originalRepresentation.title 1..1 string Original representation
Composition.Slices for section.section:originalRepresentation.code 1..1 CodeableConcept Classification of section (recommended)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "55108-5"
    }
  ]
}
Composition.Slices for section.section:originalRepresentation.text 1..1 Narrative Representation of the original view
Composition.Slices for section.section:originalRepresentation.entry 1..1 Reference(Binary) According to the EPR ordonnance the PDF has to be in PDF/A-1 or PDF/A-2 format.
Composition.Slices for section.section:originalRepresentation.section 0..0 Nested Section

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Composition.type Base extensible DocumentEntry.typeCode 📦3.4.0 CH Term v3.4
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Composition 0..* CHCoreComposition CH Core Composition EPR
Composition.id This element is included in summaries. 0..1 id Logical id of this artifact
Composition.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Composition.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Composition.language 1..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Composition.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Composition.contained 0..* Resource Contained, inline Resources
Composition.extension 0..* Extension Additional content defined by implementations
Composition.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Composition.identifier This element is included in summaries. 1..1 Identifier Version-independent identifier for the Composition
Composition.identifier.id 0..1 string Unique id for inter-element referencing
Composition.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Composition.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Composition.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
Composition.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Composition.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Composition.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Composition.status This element is a modifier element. This element is included in summaries. 1..1 code preliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
Composition.type This element is included in summaries. 1..1 CodeableConcept Kind of composition
Binding: DocumentEntry.typeCode (extensible)
Composition.category This element is included in summaries. 0..* CodeableConcept Categorization of Composition
Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.
Composition.subject This element is included in summaries. 1..1 Reference(CH Core Patient EPR) Who and/or what the composition is about
Composition.subject.id 0..1 string Unique id for inter-element referencing
Composition.subject.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.subject.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.subject.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.subject.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.subject.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.encounter This element is included in summaries. 0..1 Reference(CH Core Encounter) Context of the Composition
Composition.date This element is included in summaries. 1..1 dateTime Composition editing time
Composition.author This element is included in summaries. 1..* Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | CH Core RelatedPerson | CH Core Organization EPR) Who and/or what authored the composition
Composition.author.id 0..1 string Unique id for inter-element referencing
Composition.author.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.author.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.author.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.author.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.author.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.title This element is included in summaries. 1..1 string Human Readable name/title
Composition.confidentiality This element is included in summaries. 1..1 code As defined by affinity domain
Binding: v3.ConfidentialityClassification (2014-03-26) (required): Codes specifying the level of confidentiality of the composition.
Composition.confidentiality.id 0..1 string xml:id (or equivalent in JSON)
Composition.confidentiality.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.confidentiality.Slices for extension.extension:confidentialityCode 1..1 CodeableConcept Extension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-confidentialitycode
Binding: DocumentEntry.confidentialityCode (extensible)
Composition.confidentiality.value 0..1 string Primitive value for code
Composition.attester 0..* BackboneElement Attests to accuracy of composition
Composition.attester.id 0..1 string Unique id for inter-element referencing
Composition.attester.extension 0..* Extension Additional content defined by implementations
Composition.attester.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.attester.mode 1..1 code personal | professional | legal | official
Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition.
Composition.attester.time 0..1 dateTime When the composition was attested
Composition.attester.party 0..1 Reference(CH Core Patient EPR | CH Core RelatedPerson | CH Core Practitioner EPR | CH Core PractitionerRole EPR | CH Core Organization EPR) Who attested the composition
Composition.attester.party.id 0..1 string Unique id for inter-element referencing
Composition.attester.party.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.attester.party.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.attester.party.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.attester.party.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.attester.party.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.custodian This element is included in summaries. 0..1 Reference(CH Core Organization EPR) Organization which maintains the composition
Composition.custodian.id 0..1 string Unique id for inter-element referencing
Composition.custodian.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.custodian.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.custodian.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.custodian.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.custodian.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.relatesTo 0..* BackboneElement Relationships to other compositions/documents
Composition.relatesTo.id 0..1 string Unique id for inter-element referencing
Composition.relatesTo.extension 0..* Extension Additional content defined by implementations
Composition.relatesTo.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.relatesTo.code 1..1 code replaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): The type of relationship between documents.
Composition.relatesTo.target[x] 1..1 Target of the relationship
Composition.relatesTo.target[x].targetIdentifier Identifier
Composition.relatesTo.target[x].targetReference Reference(CH Core Composition EPR)
Composition.event This element is included in summaries. 0..* BackboneElement The clinical service(s) being documented
Composition.event.id 0..1 string Unique id for inter-element referencing
Composition.event.extension 0..* Extension Additional content defined by implementations
Composition.event.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.event.code This element is included in summaries. 0..* CodeableConcept Code(s) that apply to the event being documented
Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented.
Composition.event.period This element is included in summaries. 0..1 Period The period covered by the documentation
Composition.event.detail This element is included in summaries. 0..* Reference(Resource) The event(s) being documented
Composition.Slices for section C 0..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code
Constraints: cmp-1, cmp-2

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.Slices for section.section:All Slices Content/Rules for all slices
Composition.Slices for section.section:All Slices.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:All Slices.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:All Slices.title 0..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:All Slices.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Composition.Slices for section.section:All Slices.author 0..* Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | CH Core RelatedPerson | CH Core Organization EPR) Who and/or what authored the section
Composition.Slices for section.section:All Slices.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:All Slices.text C 0..1 Narrative Text summary of the section, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Composition.Slices for section.section:All Slices.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:All Slices.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:All Slices.entry C 0..* Reference(Resource) A reference to data that supports this section
Composition.Slices for section.section:All Slices.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
Composition.Slices for section.section:All Slices.section C 0..* See section (Composition) Nested Section
Composition.Slices for section.section:originalRepresentation C 0..1 BackboneElement Contains the original representation as a PDF of the current document.
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:originalRepresentation.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:originalRepresentation.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:originalRepresentation.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:originalRepresentation.title 1..1 string Original representation
Composition.Slices for section.section:originalRepresentation.code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "55108-5"
    }
  ]
}
Composition.Slices for section.section:originalRepresentation.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:originalRepresentation.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:originalRepresentation.text C 1..1 Narrative Representation of the original view
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Composition.Slices for section.section:originalRepresentation.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:originalRepresentation.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:originalRepresentation.entry C 1..1 Reference(Binary) According to the EPR ordonnance the PDF has to be in PDF/A-1 or PDF/A-2 format.
Composition.Slices for section.section:originalRepresentation.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Composition.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Composition.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base extensible DocumentEntry.typeCode 📦3.4.0 CH Term v3.4
Composition.category Base example Document Class Value Set 📍4.0.1 FHIR Std.
Composition.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.author.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.confidentiality Base required V3 Value SetConfidentialityClassification 📍2014-03-26 FHIR Std.
Composition.attester.​mode Base required CompositionAttestationMode 📍4.0.1 FHIR Std.
Composition.attester.​party.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.custodian.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.relatesTo.​code Base required DocumentRelationshipType 📍4.0.1 FHIR Std.
Composition.event.code Base example v3 Code System ActCode 📦3.0.0 THO v7.4
Composition.section.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:originalRepresentation.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:originalRepresentation.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:originalRepresentation.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:originalRepresentation.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section, Composition.section:originalRepresentation A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:originalRepresentation A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Composition 0..* CHCoreComposition CH Core Composition EPR
Composition.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Composition.language 1..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Composition.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Composition.identifier This element is included in summaries. 1..1 Identifier Version-independent identifier for the Composition
Composition.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Composition.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
Composition.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Composition.status This element is a modifier element. This element is included in summaries. 1..1 code preliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
Composition.type This element is included in summaries. 1..1 CodeableConcept Kind of composition
Binding: DocumentEntry.typeCode (extensible)
Composition.subject This element is included in summaries. 1..1 Reference(CH Core Patient EPR) Who and/or what the composition is about
Composition.subject.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.date This element is included in summaries. 1..1 dateTime Composition editing time
Composition.author This element is included in summaries. 1..* Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | CH Core RelatedPerson | CH Core Organization EPR) Who and/or what authored the composition
Composition.author.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.title This element is included in summaries. 1..1 string Human Readable name/title
Composition.confidentiality This element is included in summaries. 1..1 code As defined by affinity domain
Binding: v3.ConfidentialityClassification (2014-03-26) (required): Codes specifying the level of confidentiality of the composition.
Composition.confidentiality.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.confidentiality.Slices for extension.extension:confidentialityCode 1..1 CodeableConcept Extension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-confidentialitycode
Binding: DocumentEntry.confidentialityCode (extensible)
Composition.custodian This element is included in summaries. 0..1 Reference(CH Core Organization EPR) Organization which maintains the composition
Composition.custodian.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.Slices for section C 0..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code
Constraints: cmp-1, cmp-2

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.Slices for section.section:All Slices Content/Rules for all slices
Composition.Slices for section.section:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:All Slices.author 0..* Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | CH Core RelatedPerson | CH Core Organization EPR) Who and/or what authored the section
Composition.Slices for section.section:originalRepresentation C 0..1 BackboneElement Contains the original representation as a PDF of the current document.
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:originalRepresentation.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:originalRepresentation.title 1..1 string Original representation
Composition.Slices for section.section:originalRepresentation.code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "55108-5"
    }
  ]
}
Composition.Slices for section.section:originalRepresentation.text C 1..1 Narrative Representation of the original view
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Composition.Slices for section.section:originalRepresentation.entry C 1..1 Reference(Binary) According to the EPR ordonnance the PDF has to be in PDF/A-1 or PDF/A-2 format.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Composition.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base extensible DocumentEntry.typeCode 📦3.4.0 CH Term v3.4
Composition.confidentiality Base required V3 Value SetConfidentialityClassification 📍2014-03-26 FHIR Std.
Composition.section:originalRepresentation.​code Base example Document Section Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section, Composition.section:originalRepresentation A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:originalRepresentation A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from CHCoreComposition

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Composition 0..* CHCoreComposition CH Core Composition EPR
Composition.language 1..1 code Language of the resource content
Composition.identifier 1..1 Identifier Version-independent identifier for the Composition
Composition.identifier.system 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
Composition.identifier.value 1..1 string The value that is unique
Composition.type 1..1 CodeableConcept Kind of composition
Binding: DocumentEntry.typeCode (extensible)
Composition.subject 1..1 Reference(CH Core Patient EPR) Who and/or what the composition is about
Composition.author 1..* Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | CH Core RelatedPerson | CH Core Organization EPR) Who and/or what authored the composition
Composition.confidentiality 1..1 code As defined by affinity domain
Composition.confidentiality.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.confidentiality.Slices for extension.extension:confidentialityCode 1..1 CodeableConcept Extension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-confidentialitycode
Binding: DocumentEntry.confidentialityCode (extensible)
Composition.attester
Composition.attester.party 0..1 Reference(CH Core Patient EPR | CH Core RelatedPerson | CH Core Practitioner EPR | CH Core PractitionerRole EPR | CH Core Organization EPR) Who attested the composition
Composition.custodian 0..1 Reference(CH Core Organization EPR) Organization which maintains the composition
Composition.relatesTo
Composition.relatesTo.target[x] 1..1 Target of the relationship
Composition.relatesTo.target[x].targetIdentifier Identifier
Composition.relatesTo.target[x].targetReference Reference(CH Core Composition EPR)
Composition.Slices for section 0..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.Slices for section.section:All Slices Content/Rules for all slices
Composition.Slices for section.section:All Slices.author 0..* Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | CH Core RelatedPerson | CH Core Organization EPR) Who and/or what authored the section
Composition.Slices for section.section:originalRepresentation 0..1 BackboneElement Contains the original representation as a PDF of the current document.
Composition.Slices for section.section:originalRepresentation.title 1..1 string Original representation
Composition.Slices for section.section:originalRepresentation.code 1..1 CodeableConcept Classification of section (recommended)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "55108-5"
    }
  ]
}
Composition.Slices for section.section:originalRepresentation.text 1..1 Narrative Representation of the original view
Composition.Slices for section.section:originalRepresentation.entry 1..1 Reference(Binary) According to the EPR ordonnance the PDF has to be in PDF/A-1 or PDF/A-2 format.
Composition.Slices for section.section:originalRepresentation.section 0..0 Nested Section

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Composition.type Base extensible DocumentEntry.typeCode 📦3.4.0 CH Term v3.4

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Composition 0..* CHCoreComposition CH Core Composition EPR
Composition.id This element is included in summaries. 0..1 id Logical id of this artifact
Composition.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Composition.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Composition.language 1..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Composition.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Composition.contained 0..* Resource Contained, inline Resources
Composition.extension 0..* Extension Additional content defined by implementations
Composition.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Composition.identifier This element is included in summaries. 1..1 Identifier Version-independent identifier for the Composition
Composition.identifier.id 0..1 string Unique id for inter-element referencing
Composition.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Composition.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Composition.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
Composition.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Composition.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Composition.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Composition.status This element is a modifier element. This element is included in summaries. 1..1 code preliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
Composition.type This element is included in summaries. 1..1 CodeableConcept Kind of composition
Binding: DocumentEntry.typeCode (extensible)
Composition.category This element is included in summaries. 0..* CodeableConcept Categorization of Composition
Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.
Composition.subject This element is included in summaries. 1..1 Reference(CH Core Patient EPR) Who and/or what the composition is about
Composition.subject.id 0..1 string Unique id for inter-element referencing
Composition.subject.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.subject.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.subject.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.subject.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.subject.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.encounter This element is included in summaries. 0..1 Reference(CH Core Encounter) Context of the Composition
Composition.date This element is included in summaries. 1..1 dateTime Composition editing time
Composition.author This element is included in summaries. 1..* Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | CH Core RelatedPerson | CH Core Organization EPR) Who and/or what authored the composition
Composition.author.id 0..1 string Unique id for inter-element referencing
Composition.author.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.author.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.author.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.author.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.author.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.title This element is included in summaries. 1..1 string Human Readable name/title
Composition.confidentiality This element is included in summaries. 1..1 code As defined by affinity domain
Binding: v3.ConfidentialityClassification (2014-03-26) (required): Codes specifying the level of confidentiality of the composition.
Composition.confidentiality.id 0..1 string xml:id (or equivalent in JSON)
Composition.confidentiality.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.confidentiality.Slices for extension.extension:confidentialityCode 1..1 CodeableConcept Extension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-confidentialitycode
Binding: DocumentEntry.confidentialityCode (extensible)
Composition.confidentiality.value 0..1 string Primitive value for code
Composition.attester 0..* BackboneElement Attests to accuracy of composition
Composition.attester.id 0..1 string Unique id for inter-element referencing
Composition.attester.extension 0..* Extension Additional content defined by implementations
Composition.attester.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.attester.mode 1..1 code personal | professional | legal | official
Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition.
Composition.attester.time 0..1 dateTime When the composition was attested
Composition.attester.party 0..1 Reference(CH Core Patient EPR | CH Core RelatedPerson | CH Core Practitioner EPR | CH Core PractitionerRole EPR | CH Core Organization EPR) Who attested the composition
Composition.attester.party.id 0..1 string Unique id for inter-element referencing
Composition.attester.party.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.attester.party.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.attester.party.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.attester.party.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.attester.party.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.custodian This element is included in summaries. 0..1 Reference(CH Core Organization EPR) Organization which maintains the composition
Composition.custodian.id 0..1 string Unique id for inter-element referencing
Composition.custodian.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.custodian.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.custodian.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.custodian.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.custodian.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.relatesTo 0..* BackboneElement Relationships to other compositions/documents
Composition.relatesTo.id 0..1 string Unique id for inter-element referencing
Composition.relatesTo.extension 0..* Extension Additional content defined by implementations
Composition.relatesTo.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.relatesTo.code 1..1 code replaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): The type of relationship between documents.
Composition.relatesTo.target[x] 1..1 Target of the relationship
Composition.relatesTo.target[x].targetIdentifier Identifier
Composition.relatesTo.target[x].targetReference Reference(CH Core Composition EPR)
Composition.event This element is included in summaries. 0..* BackboneElement The clinical service(s) being documented
Composition.event.id 0..1 string Unique id for inter-element referencing
Composition.event.extension 0..* Extension Additional content defined by implementations
Composition.event.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.event.code This element is included in summaries. 0..* CodeableConcept Code(s) that apply to the event being documented
Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented.
Composition.event.period This element is included in summaries. 0..1 Period The period covered by the documentation
Composition.event.detail This element is included in summaries. 0..* Reference(Resource) The event(s) being documented
Composition.Slices for section C 0..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code
Constraints: cmp-1, cmp-2

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.Slices for section.section:All Slices Content/Rules for all slices
Composition.Slices for section.section:All Slices.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:All Slices.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:All Slices.title 0..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:All Slices.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Composition.Slices for section.section:All Slices.author 0..* Reference(CH Core Practitioner EPR | CH Core PractitionerRole EPR | Device | CH Core Patient EPR | CH Core RelatedPerson | CH Core Organization EPR) Who and/or what authored the section
Composition.Slices for section.section:All Slices.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:All Slices.text C 0..1 Narrative Text summary of the section, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Composition.Slices for section.section:All Slices.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:All Slices.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:All Slices.entry C 0..* Reference(Resource) A reference to data that supports this section
Composition.Slices for section.section:All Slices.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
Composition.Slices for section.section:All Slices.section C 0..* See section (Composition) Nested Section
Composition.Slices for section.section:originalRepresentation C 0..1 BackboneElement Contains the original representation as a PDF of the current document.
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:originalRepresentation.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:originalRepresentation.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:originalRepresentation.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:originalRepresentation.title 1..1 string Original representation
Composition.Slices for section.section:originalRepresentation.code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "55108-5"
    }
  ]
}
Composition.Slices for section.section:originalRepresentation.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:originalRepresentation.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:originalRepresentation.text C 1..1 Narrative Representation of the original view
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Composition.Slices for section.section:originalRepresentation.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:originalRepresentation.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:originalRepresentation.entry C 1..1 Reference(Binary) According to the EPR ordonnance the PDF has to be in PDF/A-1 or PDF/A-2 format.
Composition.Slices for section.section:originalRepresentation.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Composition.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Composition.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base extensible DocumentEntry.typeCode 📦3.4.0 CH Term v3.4
Composition.category Base example Document Class Value Set 📍4.0.1 FHIR Std.
Composition.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.author.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.confidentiality Base required V3 Value SetConfidentialityClassification 📍2014-03-26 FHIR Std.
Composition.attester.​mode Base required CompositionAttestationMode 📍4.0.1 FHIR Std.
Composition.attester.​party.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.custodian.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.relatesTo.​code Base required DocumentRelationshipType 📍4.0.1 FHIR Std.
Composition.event.code Base example v3 Code System ActCode 📦3.0.0 THO v7.4
Composition.section.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:originalRepresentation.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:originalRepresentation.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:originalRepresentation.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:originalRepresentation.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section, Composition.section:originalRepresentation A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:originalRepresentation A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron