Server Home  |  XIG Home  |  XIG Stats  | 

FHIRsmith Logo FHIR IG analytics

Packagenostalgic-ie.fhir.core
Resource TypeTestScript
IdTestScript-ie-core-testscript-patient-search.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-patient-search
URLhttps://hl7-ie.github.io/ie-core/fhir/ie/core/TestScript/ie-core-testscript-patient-search
Version0.2.0
Statusdraft
Date2025-01-01
NameIECoreTestScriptPatientSearch
TitleIE Core TestScript: Patient Search
DescriptionVerifies that a FHIR server supports searching for Patient resources by name, identifier, and birthdate.

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-patient-search",
  "url": "https://hl7-ie.github.io/ie-core/fhir/ie/core/TestScript/ie-core-testscript-patient-search",
  "version": "0.2.0",
  "name": "IECoreTestScriptPatientSearch",
  "title": "IE Core TestScript: Patient Search",
  "status": "draft",
  "date": "2025-01-01",
  "publisher": "IE Core (Proof of Concept by Nithin Mohan T K)",
  "description": "Verifies that a FHIR server supports searching for Patient resources by name, identifier, and birthdate.",
  "test": [
    {
      "name": "Patient Search by Name",
      "description": "Search for a Patient by family name.",
      "action": [
        {
          "operation": {
            "type": {
              "system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code": "search"
            },
            "resource": "Patient",
            "description": "Search for Patients by family name",
            "accept": "json",
            "encodeRequestUrl": true,
            "params": "?family=Murphy"
          }
        },
        {
          "assert": {
            "description": "Confirm the response is HTTP 200 OK",
            "response": "okay",
            "warningOnly": false
          }
        },
        {
          "assert": {
            "description": "Confirm the response is a Bundle",
            "resource": "Bundle",
            "warningOnly": false
          }
        }
      ]
    },
    {
      "name": "Patient Search by IHI",
      "description": "Search for a Patient by IHI (Individual Health Identifier).",
      "action": [
        {
          "operation": {
            "type": {
              "system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code": "search"
            },
            "resource": "Patient",
            "description": "Search for Patients by IHI",
            "accept": "json",
            "encodeRequestUrl": true,
            "params": "?identifier=https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/ihi|210000000012345678"
          }
        },
        {
          "assert": {
            "description": "Confirm the response is HTTP 200 OK",
            "response": "okay",
            "warningOnly": false
          }
        },
        {
          "assert": {
            "description": "Confirm the response is a Bundle",
            "resource": "Bundle",
            "warningOnly": false
          }
        }
      ]
    },
    {
      "name": "Patient Search by Birthdate",
      "description": "Search for a Patient by date of birth.",
      "action": [
        {
          "operation": {
            "type": {
              "system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code": "search"
            },
            "resource": "Patient",
            "description": "Search for Patients by birthdate",
            "accept": "json",
            "encodeRequestUrl": true,
            "params": "?birthdate=1978-05-15"
          }
        },
        {
          "assert": {
            "description": "Confirm the response is HTTP 200 OK",
            "response": "okay",
            "warningOnly": false
          }
        }
      ]
    }
  ]
}