1.0.0 - release
            
          
CambioOpenServicesIG - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir.cambio.se/StructureDefinition/CompositionReferralClinicalInformation/v1 | Version: 1.0.0 | |||
| Active as of 2021-04-29 | Computable Name: CompositionReferralClinicalInformation | |||
The CompositionReferralClinicalInformation profile defines clinical information structured on sections with titles and values which can be sent together with a referral request, answer or assessment. E.g. the documentation done when sending a referral can include data like medical history, health issue, etc. This profile is based on the FHIR resource Composition.
Intended use of this profile is to communicate data about a documented clinical information that is connected to a referral request, assessment or answer. The user of the API should be restricted only to the patient to which the data belongs. CompositionReferralClinicalInformation can only be used as a bundled resource within the TaskReferral and ServiceRequestReferral APIs, refer to TaskReferral and ServiceRequestReferral sections to read more about complete Intended use for the API.
Additionally, CompositionReferralClinicalInformation includes the extension common-signDateTime to indicate the date & time the data was signed.
| Type | Description | 
|---|---|
| Rule | External user should not be someone else than the patient of which record the referral data belongs. E.g. A healthcare professional is not the intended user of the API. | 
| COS version | Profile version | Required COSMIC version | Date | Description | 
|---|---|---|---|---|
| 3.5.0 | 1.0.0 | R8.3.05 | Apr 2021 | Initial version | 
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
0..* | Composition | This composition represents Clinical information structured on sections with titles an values. | |
![]() ![]()  | 
Σ | 1..1 | Meta | Metadata about the resource | 
![]() ![]() ![]()  | 
Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | 
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | 
![]() ![]()  | 
0..* | Extension | Extension Slice: Unordered, Open by value:url  | |
![]() ![]() ![]()  | 
0..* | dateTime | Extension URL: https://fhir.cambio.se/StructureDefinition/common-signDateTime  | |
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | 
![]() ![]()  | 
?!Σ | 1..1 | code | preliminary | final | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition.  | 
![]() ![]()  | 
Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: Referral Documentation Types (required)  | 
![]() ![]()  | 
Σ | 0..* | CodeableConcept | Categorization of Composition Slice: Unordered, Open by value:coding.system Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.  | 
![]() ![]() ![]()  | 
Σ | 0..* | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.  | 
![]() ![]() ![]()  | 
Σ | 0..* | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.  | 
![]() ![]()  | 
Σ | 1..1 | dateTime | Composition editing time | 
![]() ![]()  | 
Σ | 1..* | Reference(PractitionerRoleLiteSe | Organization | Practitioner | Patient) | Who and/or what authored the composition Slice: Unordered, Open by value:type  | 
![]() ![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]() ![]()  | 
Σ | 1..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).  | 
![]() ![]() ![]()  | 
Σ | 0..* | Reference(Patient) | Who and/or what authored the composition | 
![]() ![]() ![]() ![]()  | 
Σ | 1..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). Fixed Value: Patient  | 
![]() ![]()  | 
Σ | 1..1 | string | Human Readable name/title | 
![]() ![]()  | 
0..1 | BackboneElement | Attests to accuracy of composition | |
![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
![]() ![]() ![]()  | 
1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. Fixed Value: professional  | |
![]() ![]() ![]()  | 
1..1 | Reference(PractitionerRoleLiteSe | Practitioner) | Who attested the composition | |
  Documentation for this format | ||||
| Path | Conformance | ValueSet / Code | URI | 
| Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status|4.0.1From the FHIR Standard  | |
| Composition.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | |
| Composition.category | example | DocumentClassValueSethttp://hl7.org/fhir/ValueSet/document-classcodesFrom the FHIR Standard  | |
| Composition.category:referralNoteLoinc | example | DocumentClassValueSethttp://hl7.org/fhir/ValueSet/document-classcodesFrom the FHIR Standard  | |
| Composition.category:referralNoteSnomed | example | DocumentClassValueSethttp://hl7.org/fhir/ValueSet/document-classcodesFrom the FHIR Standard  | |
| Composition.author.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | |
| Composition.author:patient.type | extensible | Fixed Value: Patienthttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | |
| Composition.attester.mode | required | Fixed Value: professionalhttp://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1From the FHIR Standard  | |
| Composition.relatesTo.code | required | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1From the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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 Composition
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
0..* | Composition | This composition represents Clinical information structured on sections with titles an values. | |
![]() ![]()  | 
1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]()  | 
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | |
![]() ![]()  | 
0..* | Extension | Extension Slice: Unordered, Open by value:url  | |
![]() ![]() ![]()  | 
0..* | dateTime | Extension URL: https://fhir.cambio.se/StructureDefinition/common-signDateTime  | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
1..1 | code | preliminary | final | entered-in-error | |
![]() ![]()  | 
1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: Referral Documentation Types (required)  | |
![]() ![]()  | 
0..* | CodeableConcept | Categorization of Composition Slice: Unordered, Open by value:coding.system  | |
![]() ![]() ![]()  | 
0..* | CodeableConcept | Categorization of Composition | |
![]() ![]() ![]() ![]()  | 
||||
![]() ![]() ![]() ![]() ![]()  | 
1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org  | |
![]() ![]() ![]() ![]() ![]()  | 
0..1 | code | Symbol in syntax defined by the system Fixed Value: 57133-1  | |
![]() ![]() ![]()  | 
0..* | CodeableConcept | Categorization of Composition | |
![]() ![]() ![]() ![]()  | 
||||
![]() ![]() ![]() ![]() ![]()  | 
1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | |
![]() ![]() ![]() ![]() ![]()  | 
0..1 | code | Symbol in syntax defined by the system Fixed Value: 721927009  | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
1..* | Reference(PractitionerRoleLiteSe | Organization | Practitioner | Patient) | Who and/or what authored the composition Slice: Unordered, Open by value:type  | |
![]() ![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]() ![]()  | 
1..1 | uri | Type the reference refers to (e.g. "Patient") | |
![]() ![]() ![]()  | 
0..* | Reference(Patient) | Who and/or what authored the composition | |
![]() ![]() ![]() ![]()  | 
1..1 | uri | Type the reference refers to (e.g. "Patient") Fixed Value: Patient  | |
![]() ![]()  | 
1..1 | string | Human Readable name/title | |
![]() ![]()  | 
0..1 | BackboneElement | Attests to accuracy of composition | |
![]() ![]() ![]()  | 
1..1 | code | personal | professional | legal | official Fixed Value: professional  | |
![]() ![]() ![]()  | 
1..1 | Reference(PractitionerRoleLiteSe | Practitioner) | Who attested the composition | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
||||
![]() ![]() ![]()  | 
1..1 | string | Name of component | |
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
||||
![]() ![]() ![]() ![]()  | 
1..1 | string | Text alternative for the resource | |
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
0..0 | |||
  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Composition.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | 
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | ||||
|---|---|---|---|---|---|---|---|---|
![]()  | 
0..* | Composition | This composition represents Clinical information structured on sections with titles an values. | |||||
![]() ![]()  | 
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]()  | 
Σ | 1..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]()  | 
Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]()  | 
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.  | ||||
![]() ![]() ![]()  | 
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".  | ||||
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]()  | 
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language. 
  | |||||
![]() ![]()  | 
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  | |||||
![]() ![]()  | 
0..* | Resource | Contained, inline Resources | |||||
![]() ![]()  | 
0..* | Extension | Extension Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
0..* | dateTime | Extension URL: https://fhir.cambio.se/StructureDefinition/common-signDateTime  | |||||
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]()  | 
?!Σ | 1..1 | code | preliminary | final | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition.  | ||||
![]() ![]()  | 
Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: Referral Documentation Types (required)  | ||||
![]() ![]()  | 
Σ | 0..* | CodeableConcept | Categorization of Composition Slice: Unordered, Open by value:coding.system Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.  | ||||
![]() ![]() ![]()  | 
Σ | 0..* | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.  | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org  | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: 57133-1  | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]()  | 
Σ | 0..* | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.  | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: 721927009  | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]()  | 
Σ | 1..1 | dateTime | Composition editing time | ||||
![]() ![]()  | 
Σ | 1..* | Reference(PractitionerRoleLiteSe | Organization | Practitioner | Patient) | Who and/or what authored the composition Slice: Unordered, Open by value:type  | ||||
![]() ![]() ![]()  | 
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..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).  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]()  | 
Σ | 0..* | Reference(Patient) | Who and/or what authored the composition | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..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). Fixed Value: Patient  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]()  | 
Σ | 1..1 | string | Human Readable name/title | ||||
![]() ![]()  | 
Σ | 0..1 | code | As defined by affinity domain Binding: v3.ConfidentialityClassification (2014-03-26) (required): Codes specifying the level of confidentiality of the composition.  | ||||
![]() ![]()  | 
0..1 | BackboneElement | Attests to accuracy of composition | |||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]()  | 
1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. Fixed Value: professional  | |||||
![]() ![]() ![]()  | 
0..1 | dateTime | When the composition was attested | |||||
![]() ![]() ![]()  | 
1..1 | Reference(PractitionerRoleLiteSe | Practitioner) | Who attested the composition | |||||
![]() ![]()  | 
C | 0..* | BackboneElement | Composition is broken into sections Constraints: cmp-1, cmp-2  | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]()  | 
1..1 | string | Name of component | |||||
![]() ![]() ![]()  | 
C | 0..* | Reference(Resource) | A reference to data that supports this section | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]()  | 
Σ | 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).  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | string | Text alternative for the resource | ||||
  Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| Composition.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labelsFrom the FHIR Standard  | ||||
| Composition.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tagsFrom the FHIR Standard  | ||||
| Composition.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard 
  | ||||
| Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status|4.0.1From the FHIR Standard  | ||||
| Composition.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | ||||
| Composition.category | example | DocumentClassValueSethttp://hl7.org/fhir/ValueSet/document-classcodesFrom the FHIR Standard  | ||||
| Composition.category:referralNoteLoinc | example | DocumentClassValueSethttp://hl7.org/fhir/ValueSet/document-classcodesFrom the FHIR Standard  | ||||
| Composition.category:referralNoteSnomed | example | DocumentClassValueSethttp://hl7.org/fhir/ValueSet/document-classcodesFrom the FHIR Standard  | ||||
| Composition.author.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | ||||
| Composition.author:patient.type | extensible | Fixed Value: Patienthttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | ||||
| Composition.confidentiality | required | v3.ConfidentialityClassificationhttp://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification|2014-03-26From the FHIR Standard  | ||||
| Composition.attester.mode | required | Fixed Value: professionalhttp://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1From the FHIR Standard  | ||||
| Composition.relatesTo.code | required | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1From the FHIR Standard  | ||||
| Composition.event.code | example | ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode | ||||
| Composition.section.text.status | required | Fixed Value: additionalhttp://hl7.org/fhir/ValueSet/narrative-status|4.0.1From the FHIR Standard  | ||||
| Composition.section.entry.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| cmp-1 | error | Composition.section | 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 | 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()  | |
| txt-1 | error | Composition.section.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes : htmlChecks()  | |
| txt-2 | error | Composition.section.text.div | The narrative SHALL have some non-whitespace content : htmlChecks()  | 
This structure is derived from Composition
Summary
Mandatory: 3 elements(5 nested mandatory elements)
 Fixed: 7 elements
 Prohibited: 14 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
0..* | Composition | This composition represents Clinical information structured on sections with titles an values. | |
![]() ![]()  | 
Σ | 1..1 | Meta | Metadata about the resource | 
![]() ![]() ![]()  | 
Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | 
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | 
![]() ![]()  | 
0..* | Extension | Extension Slice: Unordered, Open by value:url  | |
![]() ![]() ![]()  | 
0..* | dateTime | Extension URL: https://fhir.cambio.se/StructureDefinition/common-signDateTime  | |
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | 
![]() ![]()  | 
?!Σ | 1..1 | code | preliminary | final | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition.  | 
![]() ![]()  | 
Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: Referral Documentation Types (required)  | 
![]() ![]()  | 
Σ | 0..* | CodeableConcept | Categorization of Composition Slice: Unordered, Open by value:coding.system Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.  | 
![]() ![]() ![]()  | 
Σ | 0..* | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.  | 
![]() ![]() ![]()  | 
Σ | 0..* | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.  | 
![]() ![]()  | 
Σ | 1..1 | dateTime | Composition editing time | 
![]() ![]()  | 
Σ | 1..* | Reference(PractitionerRoleLiteSe | Organization | Practitioner | Patient) | Who and/or what authored the composition Slice: Unordered, Open by value:type  | 
![]() ![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]() ![]()  | 
Σ | 1..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).  | 
![]() ![]() ![]()  | 
Σ | 0..* | Reference(Patient) | Who and/or what authored the composition | 
![]() ![]() ![]() ![]()  | 
Σ | 1..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). Fixed Value: Patient  | 
![]() ![]()  | 
Σ | 1..1 | string | Human Readable name/title | 
![]() ![]()  | 
0..1 | BackboneElement | Attests to accuracy of composition | |
![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
![]() ![]() ![]()  | 
1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. Fixed Value: professional  | |
![]() ![]() ![]()  | 
1..1 | Reference(PractitionerRoleLiteSe | Practitioner) | Who attested the composition | |
  Documentation for this format | ||||
| Path | Conformance | ValueSet / Code | URI | 
| Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status|4.0.1From the FHIR Standard  | |
| Composition.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | |
| Composition.category | example | DocumentClassValueSethttp://hl7.org/fhir/ValueSet/document-classcodesFrom the FHIR Standard  | |
| Composition.category:referralNoteLoinc | example | DocumentClassValueSethttp://hl7.org/fhir/ValueSet/document-classcodesFrom the FHIR Standard  | |
| Composition.category:referralNoteSnomed | example | DocumentClassValueSethttp://hl7.org/fhir/ValueSet/document-classcodesFrom the FHIR Standard  | |
| Composition.author.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | |
| Composition.author:patient.type | extensible | Fixed Value: Patienthttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | |
| Composition.attester.mode | required | Fixed Value: professionalhttp://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1From the FHIR Standard  | |
| Composition.relatesTo.code | required | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1From the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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 Composition
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
0..* | Composition | This composition represents Clinical information structured on sections with titles an values. | |
![]() ![]()  | 
1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]()  | 
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | |
![]() ![]()  | 
0..* | Extension | Extension Slice: Unordered, Open by value:url  | |
![]() ![]() ![]()  | 
0..* | dateTime | Extension URL: https://fhir.cambio.se/StructureDefinition/common-signDateTime  | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
1..1 | code | preliminary | final | entered-in-error | |
![]() ![]()  | 
1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: Referral Documentation Types (required)  | |
![]() ![]()  | 
0..* | CodeableConcept | Categorization of Composition Slice: Unordered, Open by value:coding.system  | |
![]() ![]() ![]()  | 
0..* | CodeableConcept | Categorization of Composition | |
![]() ![]() ![]() ![]()  | 
||||
![]() ![]() ![]() ![]() ![]()  | 
1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org  | |
![]() ![]() ![]() ![]() ![]()  | 
0..1 | code | Symbol in syntax defined by the system Fixed Value: 57133-1  | |
![]() ![]() ![]()  | 
0..* | CodeableConcept | Categorization of Composition | |
![]() ![]() ![]() ![]()  | 
||||
![]() ![]() ![]() ![]() ![]()  | 
1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | |
![]() ![]() ![]() ![]() ![]()  | 
0..1 | code | Symbol in syntax defined by the system Fixed Value: 721927009  | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
1..* | Reference(PractitionerRoleLiteSe | Organization | Practitioner | Patient) | Who and/or what authored the composition Slice: Unordered, Open by value:type  | |
![]() ![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]() ![]()  | 
1..1 | uri | Type the reference refers to (e.g. "Patient") | |
![]() ![]() ![]()  | 
0..* | Reference(Patient) | Who and/or what authored the composition | |
![]() ![]() ![]() ![]()  | 
1..1 | uri | Type the reference refers to (e.g. "Patient") Fixed Value: Patient  | |
![]() ![]()  | 
1..1 | string | Human Readable name/title | |
![]() ![]()  | 
0..1 | BackboneElement | Attests to accuracy of composition | |
![]() ![]() ![]()  | 
1..1 | code | personal | professional | legal | official Fixed Value: professional  | |
![]() ![]() ![]()  | 
1..1 | Reference(PractitionerRoleLiteSe | Practitioner) | Who attested the composition | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
||||
![]() ![]() ![]()  | 
1..1 | string | Name of component | |
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
||||
![]() ![]() ![]() ![]()  | 
1..1 | string | Text alternative for the resource | |
![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]()  | 
0..0 | |||
  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Composition.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | 
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | ||||
|---|---|---|---|---|---|---|---|---|
![]()  | 
0..* | Composition | This composition represents Clinical information structured on sections with titles an values. | |||||
![]() ![]()  | 
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]()  | 
Σ | 1..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]()  | 
Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]()  | 
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.  | ||||
![]() ![]() ![]()  | 
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".  | ||||
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]()  | 
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language. 
  | |||||
![]() ![]()  | 
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  | |||||
![]() ![]()  | 
0..* | Resource | Contained, inline Resources | |||||
![]() ![]()  | 
0..* | Extension | Extension Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
0..* | dateTime | Extension URL: https://fhir.cambio.se/StructureDefinition/common-signDateTime  | |||||
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]()  | 
?!Σ | 1..1 | code | preliminary | final | entered-in-error Binding: CompositionStatus (required): The workflow/clinical status of the composition.  | ||||
![]() ![]()  | 
Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: Referral Documentation Types (required)  | ||||
![]() ![]()  | 
Σ | 0..* | CodeableConcept | Categorization of Composition Slice: Unordered, Open by value:coding.system Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.  | ||||
![]() ![]() ![]()  | 
Σ | 0..* | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.  | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org  | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: 57133-1  | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]()  | 
Σ | 0..* | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.  | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct  | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | code | Symbol in syntax defined by the system Fixed Value: 721927009  | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]()  | 
Σ | 1..1 | dateTime | Composition editing time | ||||
![]() ![]()  | 
Σ | 1..* | Reference(PractitionerRoleLiteSe | Organization | Practitioner | Patient) | Who and/or what authored the composition Slice: Unordered, Open by value:type  | ||||
![]() ![]() ![]()  | 
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..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).  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]()  | 
Σ | 0..* | Reference(Patient) | Who and/or what authored the composition | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..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). Fixed Value: Patient  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]()  | 
Σ | 1..1 | string | Human Readable name/title | ||||
![]() ![]()  | 
Σ | 0..1 | code | As defined by affinity domain Binding: v3.ConfidentialityClassification (2014-03-26) (required): Codes specifying the level of confidentiality of the composition.  | ||||
![]() ![]()  | 
0..1 | BackboneElement | Attests to accuracy of composition | |||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]()  | 
1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition. Fixed Value: professional  | |||||
![]() ![]() ![]()  | 
0..1 | dateTime | When the composition was attested | |||||
![]() ![]() ![]()  | 
1..1 | Reference(PractitionerRoleLiteSe | Practitioner) | Who attested the composition | |||||
![]() ![]()  | 
C | 0..* | BackboneElement | Composition is broken into sections Constraints: cmp-1, cmp-2  | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]()  | 
1..1 | string | Name of component | |||||
![]() ![]() ![]()  | 
C | 0..* | Reference(Resource) | A reference to data that supports this section | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]()  | 
Σ | 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).  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | string | Text alternative for the resource | ||||
  Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| Composition.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labelsFrom the FHIR Standard  | ||||
| Composition.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tagsFrom the FHIR Standard  | ||||
| Composition.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard 
  | ||||
| Composition.status | required | CompositionStatushttp://hl7.org/fhir/ValueSet/composition-status|4.0.1From the FHIR Standard  | ||||
| Composition.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | ||||
| Composition.category | example | DocumentClassValueSethttp://hl7.org/fhir/ValueSet/document-classcodesFrom the FHIR Standard  | ||||
| Composition.category:referralNoteLoinc | example | DocumentClassValueSethttp://hl7.org/fhir/ValueSet/document-classcodesFrom the FHIR Standard  | ||||
| Composition.category:referralNoteSnomed | example | DocumentClassValueSethttp://hl7.org/fhir/ValueSet/document-classcodesFrom the FHIR Standard  | ||||
| Composition.author.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | ||||
| Composition.author:patient.type | extensible | Fixed Value: Patienthttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | ||||
| Composition.confidentiality | required | v3.ConfidentialityClassificationhttp://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification|2014-03-26From the FHIR Standard  | ||||
| Composition.attester.mode | required | Fixed Value: professionalhttp://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1From the FHIR Standard  | ||||
| Composition.relatesTo.code | required | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1From the FHIR Standard  | ||||
| Composition.event.code | example | ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode | ||||
| Composition.section.text.status | required | Fixed Value: additionalhttp://hl7.org/fhir/ValueSet/narrative-status|4.0.1From the FHIR Standard  | ||||
| Composition.section.entry.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| cmp-1 | error | Composition.section | 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 | 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()  | |
| txt-1 | error | Composition.section.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes : htmlChecks()  | |
| txt-2 | error | Composition.section.text.div | The narrative SHALL have some non-whitespace content : htmlChecks()  | 
This structure is derived from Composition
Summary
Mandatory: 3 elements(5 nested mandatory elements)
 Fixed: 7 elements
 Prohibited: 14 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron