{
  "resourceType": "Composition",
  "id": "demo-ips-dany-boy-1",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/uv/ips/StructureDefinition/composition-uv-ips"
    ]
  },
  "status": "final",
  "type": {
    "coding": [
      {
        "system": "http://loinc.org",
        "code": "60591-5",
        "display": "Patient Summary"
      }
    ]
  },
  "subject": {
    "reference": "Patient/demo-patient-1"
  },
  "date": "2018-04-12T13:19:00+00:00",
  "author": [
    {
      "reference": "Practitioner/demo-practitioner-1"
    }
  ],
  "title": "Patient Summary - Boy with Asthma",
  "confidentiality": "N",
  "attester": [
    {
      "mode": [
        "legal"
      ],
      "time": "2017-07-20T13:30:00+00:00",
      "party": {
        "reference": "Practitioner/demo-practitioner-1"
      }
    }
  ],
  "event": [
    {
      "code": [
        {
          "coding": [
            {
              "system": "http://hl7.org/fhir/v3/ActClass",
              "code": "PCPR"
            }
          ]
        }
      ],
      "period": {
        "end": "2018-04-12T13:19:00+00:00"
      }
    }
  ],
  "section": [
    {
      "title": "Active Problems",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "11450-4",
            "display": "Problem list"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<xhtml:div xmlns:xhtml=\"http://www.w3.org/1999/xhtml\">Diagnosis of <xhtml:b>asthma</xhtml:b> made when he was 5 years old.\n\t\t\t\n<xhtml:p>He has many acute attacks which are triggered by cold weather, pollen and house dust mite, as well as viral respiratory tract infections.</xhtml:p></xhtml:div>"
      },
      "entry": [
        {
          "reference": "Condition/demo-cond-asthma-1"
        }
      ]
    },
    {
      "title": "Medication",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "10160-0",
            "display": "Medication use"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<xhtml:div xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"><xhtml:table><xhtml:thead><xhtml:tr><xhtml:th>Medication</xhtml:th><xhtml:th>Strength</xhtml:th><xhtml:th>Form</xhtml:th><xhtml:th>Dosage</xhtml:th><xhtml:th>Comment</xhtml:th></xhtml:tr></xhtml:thead><xhtml:tbody><xhtml:tr><xhtml:td>Fluspiral</xhtml:td><xhtml:td>50 mg</xhtml:td><xhtml:td>nasal spray</xhtml:td><xhtml:td>2 puffs each morning and evening</xhtml:td><xhtml:td>with spacer up to end of May</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>Broncovaleas spray</xhtml:td><xhtml:td>100 mg</xhtml:td><xhtml:td>nasal spray</xhtml:td><xhtml:td>6-8 puff 3 per day</xhtml:td><xhtml:td>In case of Wheezing</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>Deltacortene</xhtml:td><xhtml:td>25 mg</xhtml:td><xhtml:td>tablet</xhtml:td><xhtml:td>1 tbl every morning and evening</xhtml:td><xhtml:td>In case of serious attacks for 3-5 days</xhtml:td></xhtml:tr></xhtml:tbody></xhtml:table></xhtml:div>"
      },
      "entry": [
        {
          "reference": "MedicationStatement/demo-medstat-1-1"
        },
        {
          "reference": "MedicationStatement/demo-medstat-1-2"
        },
        {
          "reference": "MedicationStatement/demo-medstat-1-3"
        }
      ]
    },
    {
      "title": "Allergies and Intolerances",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "48765-2",
            "display": "Allergies and/or adverse reactions"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<xhtml:div xmlns:xhtml=\"http://www.w3.org/1999/xhtml\">Severe asthma attacks triggered by <xhtml:b>pollen</xhtml:b> and <xhtml:b>house dust mite</xhtml:b></xhtml:div>"
      },
      "entry": [
        {
          "reference": "AllergyIntolerance/demo-aoi-1"
        },
        {
          "reference": "AllergyIntolerance/demo-aoi-2"
        }
      ]
    },
    {
      "title": "Plan of Treatment",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "18776-5",
            "display": "Plan of care note"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<xhtml:div xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"><xhtml:p>Allergic control with spirometry after the summer or sooner if needed</xhtml:p><xhtml:p>Free Diet</xhtml:p></xhtml:div>"
      }
    },
    {
      "title": "Results",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "30954-2",
            "display": "Results"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<xhtml:div xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"><xhtml:h1>Peak flow measurements</xhtml:h1><xhtml:p>Spirometry</xhtml:p><xhtml:table><xhtml:thead><xhtml:tr><xhtml:th>Date</xhtml:th><xhtml:th>FEV1 (L)</xhtml:th><xhtml:th>FVC (L)</xhtml:th><xhtml:th>FEV1/FVC ratio</xhtml:th><xhtml:th>PEF (L/min)</xhtml:th></xhtml:tr></xhtml:thead><xhtml:tbody><xhtml:tr><xhtml:td>2018-03-12</xhtml:td><xhtml:td>3,573</xhtml:td><xhtml:td>4,356</xhtml:td><xhtml:td>0,82</xhtml:td><xhtml:td>417,48</xhtml:td></xhtml:tr></xhtml:tbody></xhtml:table><xhtml:h1>Peak flow measurements</xhtml:h1><xhtml:p>Personal best peak flow 432 L/min</xhtml:p><xhtml:table><xhtml:thead><xhtml:tr><xhtml:th>Date</xhtml:th><xhtml:th>L/min</xhtml:th><xhtml:th>% on the personal best peak flow</xhtml:th></xhtml:tr></xhtml:thead><xhtml:tbody><xhtml:tr><xhtml:td>2018-04-11</xhtml:td><xhtml:td>391</xhtml:td><xhtml:td>85%</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>2018-04-04</xhtml:td><xhtml:td>437</xhtml:td><xhtml:td>95%</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>2018-03-28</xhtml:td><xhtml:td>414</xhtml:td><xhtml:td>90%</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>2018-03-21</xhtml:td><xhtml:td>409</xhtml:td><xhtml:td>89%</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>2018-04-01</xhtml:td><xhtml:td>460</xhtml:td><xhtml:td>100%</xhtml:td></xhtml:tr></xhtml:tbody></xhtml:table></xhtml:div>"
      },
      "entry": [
        {
          "reference": "Observation/demo-spiro-1"
        },
        {
          "reference": "Observation/demo-obs-pef-1"
        },
        {
          "reference": "Observation/demo-obs-pef-2"
        },
        {
          "reference": "Observation/demo-obs-pef-3"
        },
        {
          "reference": "Observation/demo-obs-pef-4"
        },
        {
          "reference": "Observation/demo-obs-pef-5"
        }
      ]
    },
    {
      "title": "Vital Signs",
      "code": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "8716-3",
            "display": "Vital Signs"
          }
        ]
      },
      "text": {
        "status": "generated",
        "div": "<xhtml:div xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"><xhtml:h1>Body height and weight</xhtml:h1><xhtml:table><xhtml:thead><xhtml:tr><xhtml:th>Date</xhtml:th><xhtml:th>height [cm]</xhtml:th><xhtml:th>weight [kg]</xhtml:th></xhtml:tr></xhtml:thead><xhtml:tbody><xhtml:tr><xhtml:td>2013-01-10</xhtml:td><xhtml:td>142</xhtml:td><xhtml:td>37.3</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>2015-02-10</xhtml:td><xhtml:td>152</xhtml:td><xhtml:td>46.3</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>2016-04-25</xhtml:td><xhtml:td>162</xhtml:td><xhtml:td>51.3</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>2017-05-10</xhtml:td><xhtml:td>170</xhtml:td><xhtml:td>55.2</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>2018-03-12</xhtml:td><xhtml:td>175</xhtml:td><xhtml:td>62.5</xhtml:td></xhtml:tr></xhtml:tbody></xhtml:table></xhtml:div>"
      },
      "entry": [
        {
          "reference": "Observation/demo-vitalsign-bw-1"
        },
        {
          "reference": "Observation/demo-vitalsign-bw-2"
        },
        {
          "reference": "Observation/demo-vitalsign-bw-3"
        },
        {
          "reference": "Observation/demo-vitalsign-bw-4"
        },
        {
          "reference": "Observation/demo-vitalsign-bw-5"
        },
        {
          "reference": "Observation/demo-vitalsign-bh-1"
        },
        {
          "reference": "Observation/demo-vitalsign-bh-2"
        },
        {
          "reference": "Observation/demo-vitalsign-bh-3"
        },
        {
          "reference": "Observation/demo-vitalsign-bh-4"
        },
        {
          "reference": "Observation/demo-vitalsign-bh-5"
        }
      ]
    }
  ]
}