# SGHI Composition - SGHI FHIR Profile Implementation Guide v0.1.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **SGHI Composition**

## Resource Profile: SGHI Composition 

| | |
| :--- | :--- |
| *Official URL*:https://fhir.slade360.co.ke/fhir/StructureDefinition/composition | *Version*:0.1.0 |
| Draft as of 2026-04-27 | *Computable Name*:SGHIComposition |

 
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 must be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition must be included as subsequent entries in the Bundle (for example Patient, Practitioner, Encounter, etc.). 

**Usages:**

* Examples for this Profile: [SGHI Discharge Summary for John Doe](Composition-ExampleSGHIComposition.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/silfhirprofileig|current/StructureDefinition/composition)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-composition.csv), [Excel](StructureDefinition-composition.xlsx), [Schematron](StructureDefinition-composition.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "composition",
  "url" : "https://fhir.slade360.co.ke/fhir/StructureDefinition/composition",
  "version" : "0.1.0",
  "name" : "SGHIComposition",
  "title" : "SGHI Composition",
  "status" : "draft",
  "date" : "2026-04-27T09:21:43+00:00",
  "publisher" : "Kathurima Kimathi",
  "contact" : [{
    "name" : "Kathurima Kimathi",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.linkedin.com/in/kathurima-kimathi/"
    },
    {
      "system" : "email",
      "value" : "kathurimakimathi415@gmail.com"
    }]
  },
  {
    "name" : "Oscar John",
    "telecom" : [{
      "system" : "email",
      "value" : "oscarjohnotieno@gmail.com",
      "use" : "work"
    }]
  },
  {
    "name" : "Kennedy Omondi",
    "telecom" : [{
      "system" : "email",
      "value" : "kennankole@gmail.com",
      "use" : "work"
    }]
  }],
  "description" : "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. \nA Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition must be the first entry in a Bundle where Bundle.type=document, \nand any other resources referenced from Composition must be included as subsequent entries in the Bundle (for example Patient, Practitioner, Encounter, etc.).",
  "fhirVersion" : "5.0.0",
  "mapping" : [{
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "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"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Composition",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Composition",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Composition",
      "path" : "Composition"
    },
    {
      "id" : "Composition.identifier",
      "path" : "Composition.identifier",
      "min" : 1
    },
    {
      "id" : "Composition.identifier.use",
      "path" : "Composition.identifier.use",
      "binding" : {
        "strength" : "required",
        "valueSet" : "http://hl7.org/fhir/ValueSet/identifier-use"
      }
    },
    {
      "id" : "Composition.identifier.type",
      "path" : "Composition.identifier.type",
      "type" : [{
        "code" : "CodeableConcept",
        "profile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/codeableconcept"]
      }],
      "binding" : {
        "strength" : "required",
        "valueSet" : "https://fhir.slade360.co.ke/fhir/ValueSet/default-identifier-types"
      }
    },
    {
      "id" : "Composition.identifier.system",
      "path" : "Composition.identifier.system",
      "min" : 1
    },
    {
      "id" : "Composition.identifier.value",
      "path" : "Composition.identifier.value",
      "min" : 1
    },
    {
      "id" : "Composition.identifier.assigner",
      "path" : "Composition.identifier.assigner",
      "min" : 1,
      "type" : [{
        "code" : "Reference",
        "profile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/reference"],
        "targetProfile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/organization"]
      }]
    },
    {
      "id" : "Composition.type",
      "path" : "Composition.type",
      "binding" : {
        "strength" : "extensible",
        "valueSet" : "http://hl7.org/fhir/ValueSet/doc-typecodes"
      }
    },
    {
      "id" : "Composition.category",
      "path" : "Composition.category",
      "type" : [{
        "code" : "CodeableConcept",
        "profile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/codeableconcept"]
      }],
      "binding" : {
        "strength" : "extensible",
        "valueSet" : "http://hl7.org/fhir/ValueSet/referenced-item-category"
      }
    },
    {
      "id" : "Composition.subject",
      "path" : "Composition.subject",
      "max" : "1"
    },
    {
      "id" : "Composition.encounter",
      "path" : "Composition.encounter",
      "min" : 1,
      "type" : [{
        "code" : "Reference",
        "profile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/reference"],
        "targetProfile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/encounter"]
      }]
    },
    {
      "id" : "Composition.author",
      "path" : "Composition.author",
      "type" : [{
        "code" : "Reference",
        "profile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/reference"],
        "targetProfile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/patient",
        "https://fhir.slade360.co.ke/fhir/StructureDefinition/organization"]
      }]
    },
    {
      "id" : "Composition.name",
      "path" : "Composition.name",
      "min" : 1
    },
    {
      "id" : "Composition.attester.mode",
      "path" : "Composition.attester.mode",
      "type" : [{
        "code" : "CodeableConcept",
        "profile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/codeableconcept"]
      }]
    },
    {
      "id" : "Composition.attester.party",
      "path" : "Composition.attester.party",
      "type" : [{
        "code" : "Reference",
        "profile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/reference"],
        "targetProfile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/patient",
        "https://fhir.slade360.co.ke/fhir/StructureDefinition/organization"]
      }]
    },
    {
      "id" : "Composition.section.code",
      "path" : "Composition.section.code",
      "type" : [{
        "code" : "CodeableConcept",
        "profile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/codeableconcept"]
      }]
    },
    {
      "id" : "Composition.section.author",
      "path" : "Composition.section.author",
      "type" : [{
        "code" : "Reference",
        "profile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/reference"],
        "targetProfile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/patient",
        "https://fhir.slade360.co.ke/fhir/StructureDefinition/organization"]
      }]
    },
    {
      "id" : "Composition.section.orderedBy",
      "path" : "Composition.section.orderedBy",
      "type" : [{
        "code" : "CodeableConcept",
        "profile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/codeableconcept"]
      }]
    },
    {
      "id" : "Composition.section.emptyReason",
      "path" : "Composition.section.emptyReason",
      "type" : [{
        "code" : "CodeableConcept",
        "profile" : ["https://fhir.slade360.co.ke/fhir/StructureDefinition/codeableconcept"]
      }]
    }]
  }
}

```
