StructureDefinition UKCore-Composition

There are two use cases for Compositions within Genomics.

For Order Management, Compositions will be limited to documents generated by the central broker for capturing snapshots of Test orders and results in order to maintain historical accuracy, as per the DocumentReference generate OperationDefinition. These will typically form the first entry of a Document Bundle and as such will not be exposed via their own endpoint, nor allow creates, reads or updates from client systems on the resource itself.

Usage of the Compostion resource and generation of documents is pending internal review

To support cross border data sharing Compositions MAY be aligned to the HL7 EU Lab Composition profile as a wrap around structured reports, though use of this profile in production is currently under review.

For the Unified Genomic Record, Compositions will form the header or 'contents page' of the UGR itself. section elements will be used to emulate the UGR folders. CodeSystems/codes for the required sections of the UGR are currently under development.

Profile url FHIR Module Normative Status
https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition UKCore trial-use

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
careSettingTypeC0..1Extension(CodeableConcept)
modifierExtension?! C0..*Extension
identifierΣ0..1Identifier
statusS Σ ?!1..1codeBinding
typeS Σ1..1CodeableConceptBinding
categoryΣ0..*CodeableConceptBinding
subjectS Σ0..1Reference(Resource)
encounterΣ0..1Reference(Encounter)
dateΣ1..1dateTime
authorS Σ1..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)
titleΣ1..1string
confidentialityS Σ0..1codeBinding
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
mode1..1codeBinding
time0..1dateTime
party0..1Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization)
custodianS Σ0..1Reference(Organization)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
code1..1codeBinding
targetIdentifierIdentifier
targetReferenceReference(Composition)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
codeΣ0..*CodeableConcept
periodΣ0..1Period
detailΣ0..*Reference(Resource)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
title0..1string
code0..1CodeableConceptBinding
author0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)
focus0..1Reference(Resource)
textC0..1Narrative
mode0..1codeBinding
orderedBy0..1CodeableConceptBinding
entryC0..*Reference(Resource)
emptyReasonC0..1CodeableConceptBinding
sectionC0..*see (section)


FHIRMDSHL7v2

Additional Guidance

extension:basedOn-order-or-requisition

TBC. Only relevant for EU Lab aligned reports (included in HL7 EU Laboratory Report: Composition Profile). A reference to the ServiceRequest which this report is in response to.
"extension": [
    {
      "url": "http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition",
      "valueReference": {
        "reference": "ServiceRequest/ServiceRequest-WGSTestOrderFormUpdated-TrioTesting-Example"
      }
    }
],

extension:information-recipient

TBC. Only relevant for EU Lab aligned reports (included in HL7 EU Laboratory Report: Composition Profile). A reference to the recipient for a report, could potentially be used to reference additional recipients over the subject and original requester for the request.
"extension": [
    {
      "url": "http://hl7.eu/fhir/StructureDefinition/information-recipient",
      "valueReference": {
        "reference": "PractitionerRole/PractitionerRole-EugeneSmith-Example"
      }
    }
],

extension:diagnosticReport-reference

TBC. Only relevant for EU Lab aligned reports (included in HL7 EU Laboratory Report: Composition Profile). A reference to the focal DiagnosticReport this Composition is for.
"extension": [
    {
      "url": "http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference",
      "valueReference": {
        "reference": "DiagnosticReport/DiagnosticReport-GenomicVariantAssessment-Example"
      }
    }
],

status

Fixed value of 'final'
"status": "final",

type

SNOMED CT code for either a Laboratory Request (24691000000102) or Genetic report (1054161000000101)
"type": {
    "coding": [
        {
            "system": "http://snomed.info/sct",
            "code": "1054161000000101",
            "display": "Genetic report (record artifact)"
        }
    ]
},

category

Fixed codes for conformance to the EU Lab Composition profile (for cross border sharing of lab reports).
"category": [
    {
      "coding": [
        {
          "system": "http://loinc.org",
          "code": "26436-6",
          "display": "Laboratory studies (set)"
        }
      ]
    },
    {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "1236877003",
          "display": "Genetic pathology"
        }
      ]
    }
  ],

subject

Matches subject reference included in either the DiagnosticReport or ServiceRequest
"subject": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9999999999"
        }
    },

date

SHALL be the dateTime the Composition was generated by the central broker
"date": "2022-07-11T09:00:00Z",

author

Fixed to an identifier for the central broker (TBC). The author for the underlying ServiceRequest or DiagnosticReport can be retrieved by interrogating the appropriate resources.
"author": [
    {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/spine-ASID",
            "value": "200000000215"
        }
    }
],

title

SHALL match the SNOMED CT display used within Composition.type
"title": "Genetic report (record artifact)",

section

To conform to EU Lab, SHOULD include references to the results that form part of the genomic report. For the UGR, will include sections that conform to the UGR folders, this work is currently in development.
"section": [
    {
      "title": "Results",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "26436-6",
            "display": "Laboratory studies (set)"
          }
        ]
      },
      "entry": [
        {
          "reference": "Observation/Observation-GenomicTherapeuticImplication-Example"
        },
        {
          "reference": "Observation/Observation-GenomicsVariantSLC52A2-Example"
        }
      ]
    }
  ]