EDS Test Scripts
0.1.0 - ci-build Denmark flag

EDS Test Scripts, published by MedCom. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/medcomdk/dk-ehmi-eds-testscripts/ and changes regularly. See the Directory of published versions

TestScript: REST Interface Tests for EDS Server Component JSON

Official URL: http://medcomehmi.dk/ig/edstestscripts/Server-2RESTInterfaceTestsjson Version: 0.1.0
Active as of 2025-08-18 Computable Name: Server-2RESTInterfaceTestsjson

Copyright/Legal: MedCom 2025

Profile: http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript

url: TestScript Server-2RESTInterfaceTestsjson

version: 0.1.0

name: Server-2RESTInterfaceTestsjson

status: Aktiv

date: 2025-08-18

publisher: MedCom

contact: MedCom: https://medcom.dk,ehmi@medcom.dk

jurisdiction: Denmark

copyright:

MedCom 2025

Origins

-IndexProfile
*1Test script profile origin type: FHIR-Client (FHIR Client)

Destinations

-IndexProfile
*1Test script profile destination type: FHIR-Server (FHIR Server)

profile: http://hl7.org/fhir/StructureDefinition/CapabilityStatement

test

id

Disallow updates, patches & deletions to AuditEvents

name: Disallow-actions-for-AuditEvents

description: Ensure that the EDS Server Component disallows updates, patches & deletions to AuditEvent resources

action

Operations

-TypeDescriptionAcceptContentTypeDestinationEncodeRequestUrlOriginParams
*testscript-operation-codes-extended: metadata (metadata)Retrieve the server's CapabilityStatementjsonjson1false1metadata

action

Asserts

-DescriptionDirectionResponseCodeWarningOnly
*Ensure the HTTP status is 200(OK)response200false

action

Asserts

-DescriptionDirectionResourceWarningOnly
*Ensure the resource type is CapabilityStatementresponseCapabilityStatementfalse

action

Asserts

-DescriptionDirectionValidateProfileIdWarningOnly
*Ensure that the returned CapabilityStatement is validresponsecapabilities-profilefalse

action

Asserts

-DescriptionDirectionExpressionOperatorValueWarningOnly
*Ensure the HAPI FHIR version is atleast 8.2responsesoftware.version.substring(0,3).toDecimal()greaterThan8.1false

action

Asserts

-DescriptionDirectionExpressionOperatorValueWarningOnly
*Ensure that updates, patches & deletions to AuditEvent resources are disallowedresponserest.resource.where(type = 'AuditEvent').interaction.where(code = 'update' or code = 'patch' or code = 'delete').count()equals0false