FHIR IG analytics| Package | dk.ehmi.eds.testscripts |
| Resource Type | TestScript |
| Id | TestScript-InternalServer-1InternalUseLoadEDSResources.json |
| FHIR Version | R4 |
| Source | https://build.fhir.org/ig/medcomdk/dk-ehmi-eds-testscripts/TestScript-InternalServer-1InternalUseLoadEDSResources.html |
| URL | http://medcomehmi.dk/ig/edstestscripts/InternalServer-1InternalUseLoadEDSResources |
| Version | 0.1.0 |
| Status | active |
| Date | 2025-08-18 |
| Name | InternalServer-1InternalUseLoadEDSResources |
| Realm | dk |
| Copyright | MedCom 2025 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: TestScript InternalServer-1InternalUseLoadEDSResources
Profile: http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript
url: TestScript InternalServer-1InternalUseLoadEDSResources
version: 0.1.0
name: InternalServer-1InternalUseLoadEDSResources
status: Aktiv
date: 2025-08-18
publisher: MedCom
contact: MedCom: https://medcom.dk,ehmi@medcom.dk
jurisdiction: Denmark
copyright:
MedCom 2025
| Index | Profile |
| 1 | Test script profile origin type: FHIR-Client (FHIR Client) |
| Index | Profile |
| 1 | Test script profile destination type: FHIR-Server (FHIR Server) |
fixture
id
EdsPatientDeliveryStatusCreateFixtureautocreate: false
autodelete: false
resource:
../Fixtures/EdsPatientDeliveryStatusCreateFixture.json
fixture
id
EdsPatientDeliveryStatusFailureFixtureautocreate: false
autodelete: false
resource:
../Fixtures/EdsPatientDeliveryStatusFailureFixture.json
fixture
id
EerEuaDeviceFixtureautocreate: false
autodelete: false
resource:
../Fixtures/EerEUADeviceFixture.json
profile: http://medcomehmi.dk/ig/eds/StructureDefinition/EdsPatientDeliveryStatus
variable
name: EdsPatientDeliveryStatusCreateFixtureRecorded
path: recorded
sourceId: EdsPatientDeliveryStatusCreateFixture
variable
name: EdsPatientDeliveryStatusFailureFixtureRecorded
path: recorded
sourceId: EdsPatientDeliveryStatusFailureFixture
variable
name: EerEuaDeviceFixtureIdentifier
path: identifier.value
sourceId: EerEuaDeviceFixture
test
id
CreateNecessaryEDSResourcesname: Create necessary EDS resources
description: Creates the necessary resources for the EDS Server Component Tests
action
Operations
Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin Params ResponseId Test script operation code: search (Search) AuditEvent GET all EdsPatientDeliveryStatusCreateFixture from previous test runs if they exist json json 1 true 1 ?date=${EdsPatientDeliveryStatusCreateFixtureRecorded} PreviousEdsPatientDeliveryStatusCreateFixtures action
Operations
Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin Params Test script operation code: delete (Delete) AuditEvent Delete EdsPatientDeliveryStatusCreateFixture from previous test runs if it exists json json 1 true 1 ?date=${EdsPatientDeliveryStatusCreateFixtureRecorded} action
Asserts
Description Operator ResponseCode WarningOnly Confirm that the returned HTTP status is either 200(OK), 204(No Content) or 404(Not Found). in 200,204,404 false action
Operations
Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin SourceId Test script operation code: create (Create) AuditEvent Create EdsPatientDeliveryStatusCreateFixture json json 1 true 1 EdsPatientDeliveryStatusCreateFixture action
Asserts
Description Direction Response WarningOnly Confirm that the returned HTTP status is 201(Created). response created false action
Operations
Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin Params Test script operation code: delete (Delete) AuditEvent Delete EdsPatientDeliveryStatusFailureFixture from previous test runs if it exists json json 1 true 1 ?date=${EdsPatientDeliveryStatusFailureFixtureRecorded} action
Asserts
Description Operator ResponseCode WarningOnly Confirm that the returned HTTP status is either 200(OK), 204(No Content) or 404(Not Found). in 200,204,404 false action
Operations
Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin SourceId Test script operation code: create (Create) AuditEvent Create EdsPatientDeliveryStatusFailureFixture json json 1 true 1 EdsPatientDeliveryStatusFailureFixture action
Asserts
Description Direction Response WarningOnly Confirm that the returned HTTP status is 201(Created). response created false action
Operations
Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin Params Test script operation code: delete (Delete) Device Delete EerEuaDeviceFixture from previous test runs if it exists json json 1 true 1 ?identifier=${EerEuaDeviceFixtureIdentifier} action
Asserts
Description Operator ResponseCode WarningOnly Confirm that the returned HTTP status is either 200(OK), 204(No Content) or 404(Not Found). in 200,204,404 false action
Operations
Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin SourceId Test script operation code: create (Create) Device Create EerEuaDeviceFixture json json 1 true 1 EerEuaDeviceFixture action
Asserts
Description Direction Response WarningOnly Confirm that the returned HTTP status is 201(Created). response created false
{
"resourceType": "TestScript",
"id": "InternalServer-1InternalUseLoadEDSResources",
"meta": {
"profile": [
"http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript"
]
},
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"url": "http://medcomehmi.dk/ig/edstestscripts/InternalServer-1InternalUseLoadEDSResources",
"version": "0.1.0",
"name": "InternalServer-1InternalUseLoadEDSResources",
"status": "active",
"date": "2025-08-18",
"publisher": "MedCom",
"contact": [
{
"name": "MedCom",
"telecom": [
{
"system": "url",
"value": "https://medcom.dk"
},
{
"system": "email",
"value": "ehmi@medcom.dk"
}
]
}
],
"jurisdiction": [
{
"coding": [
{
"system": "urn:iso:std:iso:3166",
"code": "DK",
"display": "Denmark"
}
]
}
],
"copyright": "MedCom 2025",
"origin": [
{
"index": 1,
"profile": {
"system": "http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types",
"code": "FHIR-Client"
}
}
],
"destination": [
{
"index": 1,
"profile": {
"system": "http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types",
"code": "FHIR-Server"
}
}
],
"fixture": [
{
"id": "EdsPatientDeliveryStatusCreateFixture",
"autocreate": false,
"autodelete": false,
"resource": {
"reference": "../Fixtures/EdsPatientDeliveryStatusCreateFixture.json"
}
},
{
"id": "EdsPatientDeliveryStatusFailureFixture",
"autocreate": false,
"autodelete": false,
"resource": {
"reference": "../Fixtures/EdsPatientDeliveryStatusFailureFixture.json"
}
},
{
"id": "EerEuaDeviceFixture",
"autocreate": false,
"autodelete": false,
"resource": {
"reference": "../Fixtures/EerEUADeviceFixture.json"
}
}
],
"profile": [
{
"id": "eds-patient-delivery-status",
"reference": "http://medcomehmi.dk/ig/eds/StructureDefinition/EdsPatientDeliveryStatus"
}
],
"variable": [
{
"name": "EdsPatientDeliveryStatusCreateFixtureRecorded",
"path": "recorded",
"sourceId": "EdsPatientDeliveryStatusCreateFixture"
},
{
"name": "EdsPatientDeliveryStatusFailureFixtureRecorded",
"path": "recorded",
"sourceId": "EdsPatientDeliveryStatusFailureFixture"
},
{
"name": "EerEuaDeviceFixtureIdentifier",
"path": "identifier.value",
"sourceId": "EerEuaDeviceFixture"
}
],
"test": [
{
"id": "CreateNecessaryEDSResources",
"name": "Create necessary EDS resources",
"description": "Creates the necessary resources for the EDS Server Component Tests",
"action": [
{
"operation": {
"type": {
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code": "search"
},
"resource": "AuditEvent",
"description": "GET all EdsPatientDeliveryStatusCreateFixture from previous test runs if they exist",
"accept": "json",
"contentType": "json",
"destination": 1,
"encodeRequestUrl": true,
"origin": 1,
"params": "?date=${EdsPatientDeliveryStatusCreateFixtureRecorded}",
"responseId": "PreviousEdsPatientDeliveryStatusCreateFixtures"
}
},
{
"operation": {
"type": {
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code": "delete"
},
"resource": "AuditEvent",
"description": "Delete EdsPatientDeliveryStatusCreateFixture from previous test runs if it exists",
"accept": "json",
"contentType": "json",
"destination": 1,
"encodeRequestUrl": true,
"origin": 1,
"params": "?date=${EdsPatientDeliveryStatusCreateFixtureRecorded}"
}
},
{
"assert": {
"description": "Confirm that the returned HTTP status is either 200(OK), 204(No Content) or 404(Not Found).",
"operator": "in",
"responseCode": "200,204,404",
"warningOnly": false
}
},
{
"operation": {
"type": {
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code": "create"
},
"resource": "AuditEvent",
"description": "Create EdsPatientDeliveryStatusCreateFixture",
"accept": "json",
"contentType": "json",
"destination": 1,
"encodeRequestUrl": true,
"origin": 1,
"sourceId": "EdsPatientDeliveryStatusCreateFixture"
}
},
{
"assert": {
"description": "Confirm that the returned HTTP status is 201(Created).",
"direction": "response",
"response": "created",
"warningOnly": false
}
},
{
"operation": {
"type": {
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code": "delete"
},
"resource": "AuditEvent",
"description": "Delete EdsPatientDeliveryStatusFailureFixture from previous test runs if it exists",
"accept": "json",
"contentType": "json",
"destination": 1,
"encodeRequestUrl": true,
"origin": 1,
"params": "?date=${EdsPatientDeliveryStatusFailureFixtureRecorded}"
}
},
{
"assert": {
"description": "Confirm that the returned HTTP status is either 200(OK), 204(No Content) or 404(Not Found).",
"operator": "in",
"responseCode": "200,204,404",
"warningOnly": false
}
},
{
"operation": {
"type": {
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code": "create"
},
"resource": "AuditEvent",
"description": "Create EdsPatientDeliveryStatusFailureFixture",
"accept": "json",
"contentType": "json",
"destination": 1,
"encodeRequestUrl": true,
"origin": 1,
"sourceId": "EdsPatientDeliveryStatusFailureFixture"
}
},
{
"assert": {
"description": "Confirm that the returned HTTP status is 201(Created).",
"direction": "response",
"response": "created",
"warningOnly": false
}
},
{
"operation": {
"type": {
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code": "delete"
},
"resource": "Device",
"description": "Delete EerEuaDeviceFixture from previous test runs if it exists",
"accept": "json",
"contentType": "json",
"destination": 1,
"encodeRequestUrl": true,
"origin": 1,
"params": "?identifier=${EerEuaDeviceFixtureIdentifier}"
}
},
{
"assert": {
"description": "Confirm that the returned HTTP status is either 200(OK), 204(No Content) or 404(Not Found).",
"operator": "in",
"responseCode": "200,204,404",
"warningOnly": false
}
},
{
"operation": {
"type": {
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
"code": "create"
},
"resource": "Device",
"description": "Create EerEuaDeviceFixture",
"accept": "json",
"contentType": "json",
"destination": 1,
"encodeRequestUrl": true,
"origin": 1,
"sourceId": "EerEuaDeviceFixture"
}
},
{
"assert": {
"description": "Confirm that the returned HTTP status is 201(Created).",
"direction": "response",
"response": "created",
"warningOnly": false
}
}
]
}
]
}