CH ELM (R4)
1.3.1 - release Switzerland flag

CH ELM (R4), published by Federal Office of Public Health FOPH. This guide is not an authorized publication; it is the continuous build for version 1.3.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/ahdis/ch-elm/ and changes regularly. See the Directory of published versions

TestScript: Test93 - Error if full name is provided by Influenca (should be initials)

Official URL: http://fhir.ch/ig/ch-elm/TestScript/Test93-Error-FullName-Influenca Version: 1.3.1
Active as of 2024-06-17 Computable Name: Test93ErrorFullNameInfluenca

Copyright/Legal: CC0-1.0

Generated Narrative: TestScript

ResourceTestScript "Test93-Error-FullName-Influenca"

url: http://fhir.ch/ig/ch-elm/TestScript/Test93-Error-FullName-Influenca

version: 1.3.1

name: Test93ErrorFullNameInfluenca

status: active

date: 2024-06-17 07:39:46+0000

publisher: Federal Office of Public Health FOPH

contact: Federal Office of Public Health FOPH: https://www.bag.admin.ch/bag/en/home/das-bag/kontakt-standort.html

jurisdiction: Switzerland (ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code#CHE)

copyright: CC0-1.0

fixture

id

inputdata

autocreate: false

autodelete: false

resource: Binary/Test93-DocumentReference-Error-FullName-Influenca

test

name: Test93

description: Test script to verify error if full name is provided by Influenca (must be initials)

action

Operations

-TypeDescriptionContentTypeEncodeRequestUrlParamsSourceId
*$validate (Details: Test script operation code code validate = ' $validate ', stated as ' null ')validateapplication/fhir+jsontrueprofile=http://fhir.ch/ig/ch-elm/StructureDefinition/PublishDocumentReferenceinputdata

action

Asserts

-DescriptionDirectionResponseCodeWarningOnly
*Confirm that the returned HTTP status is 200(OK).response200false

action

Asserts

-DescriptionExpressionValueWarningOnly
*Confirm that the returned resource is an OperationOutcome.is(FHIR.OperationOutcome)truefalse

action

Asserts

-DescriptionExpressionValueWarningOnly
*Confirm that we have at least one errorissue.where(severity='error' or severity='fatal').count()>0truefalse

action

Asserts

-DescriptionExpressionValueWarningOnly
*Check slicing failsissue.where(severity='error' and diagnostics.startsWith('Slice \'DocumentReference.contained:document\': minimum required = 1, but only found 0')).count() > 0truefalse