EMIS Web Adapter for QuickFHIR
2.0.0 - draft

Publish Box goes here

: How to write a Condition - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "write-condition.example",
  "type" : "transaction",
  "entry" : [
    {
      "resource" : {
        "resourceType" : "Encounter",
        "text" : {
          "status" : "empty",
          "div" : "<b>narrative not required</b>"
        },
        "status" : "finished",
        "class" : {
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code" : "AMB",
          "display" : "ambulatory"
        },
        "subject" : {
          "reference" : "Patient/1714"
        },
        "period" : {
          "end" : "2021-02-15"
        }
      },
      "request" : {
        "method" : "POST",
        "url" : "Encounter"
      }
    },
    {
      "resource" : {
        "resourceType" : "Condition",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Condition</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"/><p><b>code</b>: Persistent cough <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#284523002)</span></p><p><b>subject</b>: <a href=\"Patient/1714\">Patient/1714</a></p><p><b>recordedDate</b>: 2021-02-15</p><p><b>note</b>: Data entered to test posting via QF</p></div>"
        },
        "code" : {
          "coding" : [
            {
              "system" : "http://snomed.info/sct",
              "code" : "284523002",
              "display" : "Persistent cough"
            }
          ]
        },
        "subject" : {
          "reference" : "Patient/1714"
        },
        "recordedDate" : "2021-02-15",
        "note" : [
          {
            "text" : "Data entered to test posting via QF"
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "Condition"
      }
    }
  ]
}