Server Home  |  XIG Home  |  XIG Stats  | 

FHIRsmith Logo FHIR IG analytics

Packagenostalgic-ie.fhir.core
Resource TypeTestScript
IdTestScript-ie-core-testscript-encounter-read.json
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=nostalgic-ie.fhir.core@0.2.0&canonical=https://hl7-ie.github.io/ie-core/fhir/ie/core/TestScript/ie-core-testscript-encounter-read
URLhttps://hl7-ie.github.io/ie-core/fhir/ie/core/TestScript/ie-core-testscript-encounter-read
Version0.2.0
Statusdraft
Date2025-01-01
NameIECoreTestScriptEncounterRead
TitleIE Core TestScript: Encounter Read
DescriptionVerifies that a FHIR server can return an Encounter resource conforming to the IE Core Encounter profile.

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source1

{
  "resourceType": "TestScript",
  "id": "ie-core-testscript-encounter-read",
  "url": "https://hl7-ie.github.io/ie-core/fhir/ie/core/TestScript/ie-core-testscript-encounter-read",
  "version": "0.2.0",
  "name": "IECoreTestScriptEncounterRead",
  "title": "IE Core TestScript: Encounter Read",
  "status": "draft",
  "date": "2025-01-01",
  "publisher": "IE Core (Proof of Concept by Nithin Mohan T K)",
  "description": "Verifies that a FHIR server can return an Encounter resource conforming to the IE Core Encounter profile.",
  "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
          }
        }
      ]
    }
  ]
}