Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example Composition/example-mixed (JSON)

Structured Documents Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw JSON (canonical form + also see JSON Format Specification)

Example of a composition covering details from more than one patient

{
  "resourceType": "Composition",
  "id": "example-mixed",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Composition</b><a name=\"example-mixed\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Composition &quot;example-mixed&quot; </p></div><p><b>status</b>: final</p><p><b>type</b>: Neonatal perinatal medicine Discharge summary <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#78418-1)</span></p><p><b>category</b>: Report <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LP173421-1)</span></p><p><b>date</b>: 2018-10-30T16:56:04+11:00</p><p><b>author</b>: <a href=\"practitioner-example-xcda-author.html\">Practitioner/xcda-author: Harold Hippocrates, MD</a> &quot;Harold HIPPOCRATES&quot;</p><p><b>title</b>: Discharge Summary (Neonatal Service)</p><h3>Attesters</h3><table class=\"grid\"><tr><td>-</td><td><b>Mode</b></td><td><b>Time</b></td><td><b>Party</b></td></tr><tr><td>*</td><td>Legal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-composition-attestation-mode.html\">CompositionAttestationMode</a>#legal)</span></td><td>2012-01-04T09:10:14Z</td><td><a href=\"practitioner-example-xcda-author.html\">Practitioner/xcda-author: Harold Hippocrates, MD</a> &quot;Harold HIPPOCRATES&quot;</td></tr></table><p><b>custodian</b>: <a href=\"organization-example-good-health-care.html\">Organization/2.16.840.1.113883.19.5: Good Health Clinic</a> &quot;Good Health Clinic&quot;</p></div>"
  },
  "status": "final",
  "type": {
    "coding": [
      {
        "system": "http://loinc.org",
        "code": "78418-1",
        "display": "Neonatal perinatal medicine Discharge summary"
      }
    ]
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://loinc.org",
          "code": "LP173421-1",
          "display": "Report"
        }
      ]
    }
  ],
  "subject": [
    {
      "reference": "Patient/newborn",
      "display": "Tahlia Smith"
    }
  ],
  "date": "2018-10-30T16:56:04+11:00",
  "author": [
    {
      "reference": "Practitioner/xcda-author",
      "display": "Harold Hippocrates, MD"
    }
  ],
  "title": "Discharge Summary (Neonatal Service)",
  "attester": [
    {
      "mode": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/composition-attestation-mode",
            "code": "legal",
            "display": "Legal"
          }
        ]
      },
      "time": "2012-01-04T09:10:14Z",
      "party": {
        "reference": "Practitioner/xcda-author",
        "display": "Harold Hippocrates, MD"
      }
    }
  ],
  "custodian": {
    "reference": "Organization/2.16.840.1.113883.19.5",
    "display": "Good Health Clinic"
  },
  "section": [
    {
      "title": "Child's Details",
      "code": {
        "coding": [
          {
            "system": "http://acme.org/codes/SectionType",
            "code": "newborn",
            "display": "New Born Details"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        (snip)\n\t\t\t</div>"
      }
    },
    {
      "title": "Mpther's Details",
      "code": {
        "coding": [
          {
            "system": "http://acme.org/codes/SectionType",
            "code": "mother",
            "display": "Mother's Details"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\t\t\t(snip)\n\t\t\t</div>"
      }
    }
  ]
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.