This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

4.1.6 Resource AdverseReaction - Examples

Example Index:

Example of adversereactionXMLJSON

4.1.6.1 General

XML

Example of adversereaction (id = "example")

Raw XML

<AdverseReaction xmlns="http://hl7.org/fhir">
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">Anaphylaxis Reaction to a bee sting</div>
  </text>
  <date value="2012-09-17"/>
  <subject>
    <reference value="Patient/example"/>
  </subject>
  <didNotOccurFlag value="false"/>
  <recorder>
    <reference value="Practitioner/example"/>
  </recorder>
  <symptom>
    <code>
      <coding>
        <system value="http://hl7.org/fhir/sid/icd-10"/>
        <code value="T78.2"/>
        <display value="Anaphylactic shock, unspecified"/>
      </coding>
      <text value="Anaphylaxis reaction"/>
    </code>
    <severity value="moderate"/>
  </symptom>
  <exposure>
    <date value="2012-09-17"/>
    <type value="coincidental"/>
    <substance>
      <reference value="Substance/example"/>
    </substance>
  </exposure>
</AdverseReaction>

JSON

Example of adversereaction

{
  "resourceType": "AdverseReaction",
  "text": {
    "status": "generated",
    "div": "<div>Anaphylaxis Reaction to a bee sting</div>"
  },
  "date": "2012-09-17",
  "subject": {
    "reference": "Patient/example"
  },
  "didNotOccurFlag": false,
  "recorder": {
    "reference": "Practitioner/example"
  },
  "symptom": [
    {
      "code": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/sid/icd-10",
            "code": "T78.2",
            "display": "Anaphylactic shock, unspecified"
          }
        ],
        "text": "Anaphylaxis reaction"
      },
      "severity": "moderate"
    }
  ],
  "exposure": [
    {
      "date": "2012-09-17",
      "type": "coincidental",
      "substance": {
        "reference": "Substance/example"
      }
    }
  ]
}

comments powered by Disqus