StructureDefinition-UKCore-Composition

Canonical_URLCurrent_VersionLast_UpdatedDescription
https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition2.3.02022-12-16

This profile defines the UK constraints and extensions on the International FHIR resource Composition.


Profile_Purpose

This profile allows a record of a set of healthcare-related information that is assembled together into a single logical package that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement.

A Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition SHALL be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition SHALL be included as subsequent entries in the Bundle, for example Patient, Practitioner, Encounter, etc.

careSettingTypeI0..1Extension(CodeableConcept)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
statusΣ ?!1..1codeBinding
typeΣ1..1CodeableConceptBinding
categoryΣ0..*CodeableConceptBinding
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
dateΣ1..1dateTime
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
titleΣ1..1string
confidentialityΣ0..1codeBinding
mode1..1codeBinding
time0..1dateTime
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
code1..1codeBinding
targetIdentifierIdentifier
targetReferenceReference(UK Core Composition)
codeΣ0..*CodeableConcept
periodΣ I0..1Period
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
title0..1string
code0..1CodeableConceptBinding
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
textI0..1Narrative
mode0..1codeBinding
orderedBy0..1CodeableConceptBinding
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
emptyReasonI0..1CodeableConceptBinding
sectionI0..*see (section)

Table View

Composition..
Composition.extension0..
Composition.extensionExtension0..1
Composition.identifier..
Composition.identifier.assignerReference(UK Core Organization)..
Composition.type..
Composition.category..
Composition.subject..
Composition.subject.identifier..
Composition.subject.identifier.assignerReference(UK Core Organization)..
Composition.encounterReference(UK Core Encounter)..
Composition.encounter.identifier..
Composition.encounter.identifier.assignerReference(UK Core Organization)..
Composition.authorReference(UK Core Practitioner | UK Core PractitionerRole | UK Core Patient | UK Core RelatedPerson | UK Core Organization | UK Core Device)..
Composition.author.identifier..
Composition.author.identifier.assignerReference(UK Core Organization)..
Composition.attester..
Composition.attester.partyReference(UK Core Patient | UK Core RelatedPerson | UK Core Practitioner | UK Core PractitionerRole | UK Core Organization)..
Composition.attester.party.identifier..
Composition.attester.party.identifier.assignerReference(UK Core Organization)..
Composition.custodianReference(UK Core Organization)..
Composition.custodian.identifier..
Composition.custodian.identifier.assignerReference(UK Core Organization)..
Composition.relatesTo..
Composition.relatesTo.target[x]Identifier, Reference(UK Core Composition)..
Composition.event..
Composition.event.detail..
Composition.event.detail.identifier..
Composition.event.detail.identifier.assignerReference(UK Core Organization)..
Composition.section..
Composition.section.code..
Composition.section.authorReference(UK Core Practitioner | UK Core PractitionerRole | UK Core Patient | UK Core RelatedPerson | UK Core Organization | UK Core Device)..
Composition.section.author.identifier..
Composition.section.author.identifier.assignerReference(UK Core Organization)..
Composition.section.focus..
Composition.section.focus.identifier..
Composition.section.focus.identifier.assignerReference(UK Core Organization)..
Composition.section.entry..
Composition.section.entry.identifier..
Composition.section.entry.identifier.assignerReference(UK Core Organization)..


XML View

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="UKCore-Composition" />
    <url value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition" />
    <version value="2.3.0" />
    <name value="UKCoreComposition" />
    <title value="UK Core Composition" />
    <status value="active" />
    <date value="2022-12-16" />
    <publisher value="HL7 UK" />
    <contact>
        <name value="HL7 UK" />
        <telecom>
            <system value="email" />
            <value value="ukcore@hl7.org.uk" />
            <use value="work" />
            <rank value="1" />
        </telecom>
    </contact>
    <description value="This profile defines the UK constraints and extensions on the International FHIR resource [Composition](https://hl7.org/fhir/R4/Composition.html)." />
    <purpose value="This profile allows a record of a set of healthcare-related information that is assembled together into a single logical package that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. \n\nA Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition SHALL be the first entry in a Bundle where `Bundle.type=document`, and any other resources referenced from Composition SHALL be included as subsequent entries in the Bundle, for example Patient, Practitioner, Encounter, etc." />
    <copyright value="Copyright &#169; 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7&#174; FHIR&#174; standard Copyright &#169; 2011+ HL7 The HL7&#174; FHIR&#174; standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html." />
    <fhirVersion value="4.0.1" />
    <mapping>
        <identity value="workflow" />
        <uri value="http://hl7.org/fhir/workflow" />
        <name value="Workflow Pattern" />
    </mapping>
    <mapping>
        <identity value="rim" />
        <uri value="http://hl7.org/v3" />
        <name value="RIM Mapping" />
    </mapping>
    <mapping>
        <identity value="cda" />
        <uri value="http://hl7.org/v3/cda" />
        <name value="CDA (R2)" />
    </mapping>
    <mapping>
        <identity value="fhirdocumentreference" />
        <uri value="http://hl7.org/fhir/documentreference" />
        <name value="FHIR DocumentReference" />
    </mapping>
    <mapping>
        <identity value="w5" />
        <uri value="http://hl7.org/fhir/fivews" />
        <name value="FiveWs Pattern Mapping" />
    </mapping>
    <kind value="resource" />
    <abstract value="false" />
    <type value="Composition" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Composition" />
    <derivation value="constraint" />
    <differential>
        <element id="Composition">
            <path value="Composition" />
            <definition value="A set of healthcare-related information that is assembled together into a single logical package that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. A Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition SHALL be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition SHALL be included as subsequent entries in the Bundle, for example Patient, Practitioner, Encounter, etc." />
        </element>
        <element id="Composition.extension">
            <path value="Composition.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Composition.extension:careSettingType">
            <path value="Composition.extension" />
            <sliceName value="careSettingType" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CareSettingType" />
            </type>
        </element>
        <element id="Composition.identifier.assigner">
            <path value="Composition.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Composition.type">
            <path value="Composition.type" />
            <short value="Kind of composition (SNOMED CT)" />
            <binding>
                <strength value="preferred" />
                <description value="SNOMED CT Document Type" />
                <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-DocumentType" />
            </binding>
        </element>
        <element id="Composition.category">
            <path value="Composition.category" />
            <definition value="A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type." />
            <binding>
                <strength value="preferred" />
                <description value="A ValueSet to identify the category of a composition." />
                <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-CompositionCategory" />
            </binding>
        </element>
        <element id="Composition.subject.identifier.assigner">
            <path value="Composition.subject.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Composition.encounter">
            <path value="Composition.encounter" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter" />
            </type>
        </element>
        <element id="Composition.encounter.identifier.assigner">
            <path value="Composition.encounter.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Composition.author">
            <path value="Composition.author" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device" />
            </type>
        </element>
        <element id="Composition.author.identifier.assigner">
            <path value="Composition.author.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Composition.attester.party">
            <path value="Composition.attester.party" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Composition.attester.party.identifier.assigner">
            <path value="Composition.attester.party.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Composition.custodian">
            <path value="Composition.custodian" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Composition.custodian.identifier.assigner">
            <path value="Composition.custodian.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Composition.relatesTo.target[x]">
            <path value="Composition.relatesTo.target[x]" />
            <type>
                <code value="Identifier" />
            </type>
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition" />
            </type>
        </element>
        <element id="Composition.event.detail.identifier.assigner">
            <path value="Composition.event.detail.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Composition.section.code">
            <path value="Composition.section.code" />
            <binding>
                <strength value="extensible" />
                <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-CompositionSectionCode" />
            </binding>
        </element>
        <element id="Composition.section.author">
            <path value="Composition.section.author" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device" />
            </type>
        </element>
        <element id="Composition.section.author.identifier.assigner">
            <path value="Composition.section.author.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Composition.section.focus.identifier.assigner">
            <path value="Composition.section.focus.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Composition.section.entry.identifier.assigner">
            <path value="Composition.section.entry.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
    </differential>
</StructureDefinition>

JSON View

{
    "resourceType": "StructureDefinition",
    "id": "UKCore-Composition",
    "url": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition",
    "version": "2.3.0",
    "name": "UKCoreComposition",
    "title": "UK Core Composition",
    "status": "active",
    "date": "2022-12-16",
    "publisher": "HL7 UK",
    "contact":  [
        {
            "name": "HL7 UK",
            "telecom":  [
                {
                    "system": "email",
                    "value": "ukcore@hl7.org.uk",
                    "use": "work",
                    "rank": 1
                }
            ]
        }
    ],
    "description": "This profile defines the UK constraints and extensions on the International FHIR resource [Composition](https://hl7.org/fhir/R4/Composition.html).",
    "purpose": "This profile allows a record of a set of healthcare-related information that is assembled together into a single logical package that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. \n\nA Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition SHALL be the first entry in a Bundle where `Bundle.type=document`, and any other resources referenced from Composition SHALL be included as subsequent entries in the Bundle, for example Patient, Practitioner, Encounter, etc.",
    "copyright": "Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
    "fhirVersion": "4.0.1",
    "mapping":  [
        {
            "identity": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
        },
        {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
        },
        {
            "identity": "cda",
            "uri": "http://hl7.org/v3/cda",
            "name": "CDA (R2)"
        },
        {
            "identity": "fhirdocumentreference",
            "uri": "http://hl7.org/fhir/documentreference",
            "name": "FHIR DocumentReference"
        },
        {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
        }
    ],
    "kind": "resource",
    "abstract": false,
    "type": "Composition",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Composition",
                "path": "Composition",
                "definition": "A set of healthcare-related information that is assembled together into a single logical package that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. A Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition SHALL be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition SHALL be included as subsequent entries in the Bundle, for example Patient, Practitioner, Encounter, etc."
            },
            {
                "id": "Composition.extension",
                "path": "Composition.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Composition.extension:careSettingType",
                "path": "Composition.extension",
                "sliceName": "careSettingType",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CareSettingType"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.identifier.assigner",
                "path": "Composition.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.type",
                "path": "Composition.type",
                "short": "Kind of composition (SNOMED CT)",
                "binding": {
                    "strength": "preferred",
                    "description": "SNOMED CT Document Type",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-DocumentType"
                }
            },
            {
                "id": "Composition.category",
                "path": "Composition.category",
                "definition": "A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type.",
                "binding": {
                    "strength": "preferred",
                    "description": "A ValueSet to identify the category of a composition.",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-CompositionCategory"
                }
            },
            {
                "id": "Composition.subject.identifier.assigner",
                "path": "Composition.subject.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.encounter",
                "path": "Composition.encounter",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.encounter.identifier.assigner",
                "path": "Composition.encounter.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.author",
                "path": "Composition.author",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.author.identifier.assigner",
                "path": "Composition.author.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.attester.party",
                "path": "Composition.attester.party",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.attester.party.identifier.assigner",
                "path": "Composition.attester.party.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.custodian",
                "path": "Composition.custodian",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.custodian.identifier.assigner",
                "path": "Composition.custodian.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.relatesTo.target[x]",
                "path": "Composition.relatesTo.target[x]",
                "type":  [
                    {
                        "code": "Identifier"
                    },
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.event.detail.identifier.assigner",
                "path": "Composition.event.detail.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.section.code",
                "path": "Composition.section.code",
                "binding": {
                    "strength": "extensible",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-CompositionSectionCode"
                }
            },
            {
                "id": "Composition.section.author",
                "path": "Composition.section.author",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.section.author.identifier.assigner",
                "path": "Composition.section.author.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.section.focus.identifier.assigner",
                "path": "Composition.section.focus.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Composition.section.entry.identifier.assigner",
                "path": "Composition.section.entry.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            }
        ]
    }
}

Examples

Discharge - An example to illustrate a composition containing a discharge summary.
Example UKCore-Composition-Discharge

CareSetting Type - An example to illustrate the care setting of a FHIR document.
Example UKCore-Extension-CareSettingType

Usage

This Profile has the following derived profiles:


This Profile is referenced in the following Extensions:
idtargetProfile
Extension-UKCore-CompositionReferencehttps://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition


This Profile is referenced in the following Profiles:
idtargetProfile
UKCore-Compositionhttps://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner; https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient; https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient; https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner; https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner; https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient; https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization
UKCore-Procedurehttps://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; http://hl7.org/fhir/StructureDefinition/PlanDefinition; http://hl7.org/fhir/StructureDefinition/ActivityDefinition; http://hl7.org/fhir/StructureDefinition/Measure; http://hl7.org/fhir/StructureDefinition/OperationDefinition; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Questionnaire; https://fhir.hl7.org.uk/StructureDefinition/UKCore-CarePlan; https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationAdministration; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; http://hl7.org/fhir/StructureDefinition/Group; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient; https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner; https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient; https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner; https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner; https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole; https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition; https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport; https://fhir.hl7.org.uk/StructureDefinition/UKCore-DocumentReference; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition; https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport; https://fhir.hl7.org.uk/StructureDefinition/UKCore-DocumentReference; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient; https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization; http://hl7.org/fhir/StructureDefinition/Substance; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Medication; https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization

Example Usage Scenarios

The following are example usage scenarios for the UK Core Composition profile:

  • Query for a specific patient document or document type
  • Query for recent patient documents
  • Create a new document or update an existing document

Profile Specific Implementation Guidance:

Minimum Viable Content

A minimum viable content that all provider and consumer systems SHALL support are the following elements.

Element Reason
Composition.status The workflow/clinical status of this composition.
Composition.type Specifies the particular kind of composition.
Composition.subject Who and/or what the composition is about.
Composition.author Identifies who is responsible for the information in the composition.
Composition.confidentiality The code specifying the level of confidentiality of the Composition.
Composition.custodian Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.

Extensions

More information about the extensions can be found using the links below.

Extension Context Link Comment
careSettingType Composition Extension UKCore-CareSettingType

Bindings (differential)

More information about the bindings to UK Core ValueSets can be found below.

Context Strength Link
Composition.extension:careSettingType Preferred ValueSet UKCore-CareSettingType
Composition.category Preferred ValueSet UKCore-CompositionCategory
Composition.section.code Extensible ValueSet UKCore-CompositionSectionCode
Composition.type Preferred ValueSet UKCore-DocumentType

subject

Where a UK Core profile exists the resource being referenced SHALL conform to the profile.


encounter

The resource being referenced SHALL conform to the following Profile UKCore-Encounter.


title

This element SHALL be present and MAY be derived from the Composition.type and Composition.extension:caresettingtype.


attester


Composition.attester.party
The resource being referenced SHALL conform to one of the following:


custodian

The resource being referenced SHALL conform to the following Profile UKCore-Organization