IE (Ireland) Core Implementation Guide
0.3.0 - draft
IE (Ireland) Core Implementation Guide - Local Development build (v0.3.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Draft as of 2025-01-01 |
<TestScript xmlns="http://hl7.org/fhir">
<id value="ie-core-testscript-encounter-read"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: TestScript ie-core-testscript-encounter-read</b></p><a name="ie-core-testscript-encounter-read"> </a><a name="hcie-core-testscript-encounter-read"> </a><p><b>url</b>: <a href="TestScript-ie-core-testscript-encounter-read.html">TestScript IE Core TestScript: Encounter Read</a></p><p><b>version</b>: 0.3.0</p><p><b>name</b>: IECoreTestScriptEncounterRead</p><p><b>title</b>: IE Core TestScript: Encounter Read</p><p><b>status</b>: Draft</p><p><b>date</b>: 2025-01-01</p><p><b>publisher</b>: Nithin Mohan T K (Proof of Concept)</p><p><b>contact</b>: Nithin Mohan T K (Proof of Concept): <a href="https://github.com/hl7-ie">https://github.com/hl7-ie</a>,<a href="mailto:nithinmohantk1@gmail.com">nithinmohantk1@gmail.com</a></p><p><b>description</b>: </p><div><p>Verifies that a FHIR server can return an Encounter resource conforming to the IE Core Encounter profile.</p>
</div><p><b>jurisdiction</b>: <span title="Codes:{urn:iso:std:iso:3166 IE}">Ireland</span></p><blockquote><p><b>test</b></p><p><b>name</b>: Encounter Read Test</p><p><b>description</b>: Read an Encounter and verify it conforms to the IE Core Encounter profile.</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Params</b></td></tr><tr><td style="display: none">*</td><td><a href="http://terminology.hl7.org/7.4.0/CodeSystem-testscript-operation-codes.html#testscript-operation-codes-read">Test script operation code: read</a> (Read)</td><td>Encounter</td><td>Read the Encounter resource</td><td>json</td><td>true</td><td>/ie-core-encounter-example</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Description</b></td><td><b>Response</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm the response is HTTP 200 OK</td><td>okay</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Description</b></td><td><b>Resource</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm the returned resource is an Encounter</td><td>Encounter</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm Encounter has a status</td><td>status.exists()</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm Encounter has a class</td><td>class.exists()</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm Encounter has a subject reference</td><td>subject.exists()</td><td>false</td></tr></table></blockquote></blockquote></div>
</text>
<url
value="https://hl7-ie.github.io/ie-core/fhir/ie/core/TestScript/ie-core-testscript-encounter-read"/>
<version value="0.3.0"/>
<name value="IECoreTestScriptEncounterRead"/>
<title value="IE Core TestScript: Encounter Read"/>
<status value="draft"/>
<date value="2025-01-01"/>
<publisher value="Nithin Mohan T K (Proof of Concept)"/>
<contact>
<name value="Nithin Mohan T K (Proof of Concept)"/>
<telecom>
<system value="url"/>
<value value="https://github.com/hl7-ie"/>
</telecom>
<telecom>
<system value="email"/>
<value value="nithinmohantk1@gmail.com"/>
</telecom>
</contact>
<description
value="Verifies that a FHIR server can return an Encounter resource conforming to the IE Core Encounter profile."/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="IE"/>
<display value="Ireland"/>
</coding>
</jurisdiction>
<test>
<name value="Encounter Read Test"/>
<description
value="Read an Encounter and verify it conforms to the IE Core Encounter profile."/>
<action>
<operation>
<type>
<system
value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
<code value="read"/>
</type>
<resource value="Encounter"/>
<description value="Read the Encounter resource"/>
<accept value="json"/>
<encodeRequestUrl value="true"/>
<params value="/ie-core-encounter-example"/>
</operation>
</action>
<action>
<assert>
<description value="Confirm the response is HTTP 200 OK"/>
<response value="okay"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description value="Confirm the returned resource is an Encounter"/>
<resource value="Encounter"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description value="Confirm Encounter has a status"/>
<expression value="status.exists()"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description value="Confirm Encounter has a class"/>
<expression value="class.exists()"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description value="Confirm Encounter has a subject reference"/>
<expression value="subject.exists()"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
</TestScript>