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 |
{
"resourceType" : "TestScript",
"id" : "ie-core-testscript-encounter-read",
"text" : {
"status" : "generated",
"div" : "<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>\n</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>"
},
"url" : "https://hl7-ie.github.io/ie-core/fhir/ie/core/TestScript/ie-core-testscript-encounter-read",
"version" : "0.3.0",
"name" : "IECoreTestScriptEncounterRead",
"title" : "IE Core TestScript: Encounter Read",
"status" : "draft",
"date" : "2025-01-01",
"publisher" : "Nithin Mohan T K (Proof of Concept)",
"contact" : [
{
"name" : "Nithin Mohan T K (Proof of Concept)",
"telecom" : [
{
"system" : "url",
"value" : "https://github.com/hl7-ie"
},
{
"system" : "email",
"value" : "nithinmohantk1@gmail.com"
}
]
}
],
"description" : "Verifies that a FHIR server can return an Encounter resource conforming to the IE Core Encounter profile.",
"jurisdiction" : [
{
"coding" : [
{
"system" : "urn:iso:std:iso:3166",
"code" : "IE",
"display" : "Ireland"
}
]
}
],
"test" : [
{
"name" : "Encounter Read Test",
"description" : "Read an Encounter and verify it conforms to the IE Core Encounter profile.",
"action" : [
{
"operation" : {
"type" : {
"system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code" : "read"
},
"resource" : "Encounter",
"description" : "Read the Encounter resource",
"accept" : "json",
"encodeRequestUrl" : true,
"params" : "/ie-core-encounter-example"
}
},
{
"assert" : {
"description" : "Confirm the response is HTTP 200 OK",
"response" : "okay",
"warningOnly" : false
}
},
{
"assert" : {
"description" : "Confirm the returned resource is an Encounter",
"resource" : "Encounter",
"warningOnly" : false
}
},
{
"assert" : {
"description" : "Confirm Encounter has a status",
"expression" : "status.exists()",
"warningOnly" : false
}
},
{
"assert" : {
"description" : "Confirm Encounter has a class",
"expression" : "class.exists()",
"warningOnly" : false
}
},
{
"assert" : {
"description" : "Confirm Encounter has a subject reference",
"expression" : "subject.exists()",
"warningOnly" : false
}
}
]
}
]
}