<?xml version="1.0" encoding="UTF-8"?>

<Observation xmlns="http://hl7.org/fhir">
  <id value="ERStatus"/>
  <meta>
    <profile value="http://canshare.co.nz/fhir/StructureDefinition/an-er-status"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">ER status</div>
  </text>
  <identifier>
    <system value="http://canshare.co.nz/identifiers"/>
    <value value="er"/>
  </identifier>
  <status value="final"/>
  <code>
    <coding>
      <system value="http://snomed.info/sct/21000210109"/>
      <code value="445028008"/>
    </coding>
  </code>
  <subject>
    <reference value="Patient/exPatient"/>
  </subject>
  <effectiveDateTime value="2020-01-01"/>
  <performer>
    <reference value="Practitioner/exPractitioner"/>
  </performer>
  <valueCodeableConcept>
    <coding>
      <system value="http://snomed.info/sct/21000210109"/>
      <code value="303171000210101"/>
      <display value="ER negative"/>
    </coding>
  </valueCodeableConcept>
</Observation>