EDS Test Scripts
0.1.0 - ci-build
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
| Official URL: http://medcomehmi.dk/ig/edstestscripts/Server-2RESTInterfaceTestsxml | Version: 0.1.0 | |||
| Active as of 2025-08-18 | Computable Name: Server-2RESTInterfaceTestsxml | |||
Copyright/Legal: MedCom 2025 |
||||
Profile: http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript
url: TestScript Server-2RESTInterfaceTestsxml
version: 0.1.0
name: Server-2RESTInterfaceTestsxml
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) |
profile: http://hl7.org/fhir/StructureDefinition/CapabilityStatement
test
id
Disallow updates, patches & deletions to AuditEventsname: Disallow-actions-for-AuditEvents
description: Ensure that the EDS Server Component disallows updates, patches & deletions to AuditEvent resources
action
Operations
Type Description Accept ContentType Destination EncodeRequestUrl Origin Params testscript-operation-codes-extended: metadata (metadata) Retrieve the server's CapabilityStatement xml xml 1 false 1 metadata action
Asserts
Description Direction ResponseCode WarningOnly Ensure the HTTP status is 200(OK) response 200 false action
Asserts
Description Direction Resource WarningOnly Ensure the resource type is CapabilityStatement response CapabilityStatement false action
Asserts
Description Direction ValidateProfileId WarningOnly Ensure that the returned CapabilityStatement is valid response capabilities-profile false action
Asserts
Description Direction Expression Operator Value WarningOnly Ensure the HAPI FHIR version is atleast 8.2 response software.version.substring(0,3).toDecimal() greaterThan 8.1 false action
Asserts
Description Direction Expression Operator Value WarningOnly Ensure that updates, patches & deletions to AuditEvent resources are disallowed response rest.resource.where(type = 'AuditEvent').interaction.where(code = 'update' or code = 'patch' or code = 'delete').count() equals 0 false