diff --git a/ig-template/package/content/assets/css/ips-viewer.css b/ig-template/package/content/assets/css/ips-viewer.css index eb753d42..940426a8 100644 --- a/ig-template/package/content/assets/css/ips-viewer.css +++ b/ig-template/package/content/assets/css/ips-viewer.css @@ -44,7 +44,11 @@ ul { } - + .results { + + background: #d6aeff; + + } .patient { diff --git a/ig-template/package/includes/ips.liquid b/ig-template/package/includes/ips.liquid index 38aa8fed..a67ccf19 100644 --- a/ig-template/package/includes/ips.liquid +++ b/ig-template/package/includes/ips.liquid @@ -168,4 +168,34 @@ {% endif %} + {% if sec.title == "Relevant diagnostic tests &/or laboratory data" %} + {% assign obsr = bundle.entry | where: "resource.resourceType", "Observation" %} +
+ + + + {% assign obs = obsr.resource %} + + + Code: + {{ obs.code.text }}
+ + + {% if obs.status %} + status: + {{ obs.status }}
{% endif %} + + {% if obs.issued %} + issued: + {{ obs.issued }}
{% endif %} + + {% if obs.valueQuantity %} + Result: + {{ obs.valueQuantity.value }} " " {{obs.valueQuantity.unit}}
{% endif %} + + +
+ {% endif %} + + {% endfor %} \ No newline at end of file