CH ELM (R4)
1.12.0 - ci-build 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.12.0 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: Test102-FOPH-Code-NotValidForStrict

Official URL: http://fhir.ch/ig/ch-elm/TestScript/Test102-FOPH-Code-NotValidForStrict Version: 1.12.0
Active as of 2025-09-19 Computable Name: Test102FOPHCodeNotValidForStrict

Copyright/Legal: CC0-1.0

url: TestScript Test102FOPHCodeNotValidForStrict

version: 1.12.0

name: Test102FOPHCodeNotValidForStrict

status: Active

date: 2025-09-19 11:42:26+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

copyright:

CC0-1.0

fixture

id

inputdata

autocreate: false

autodelete: false

resource: DocumentReference: identifier = UUID:1901332d-6012-443f-9690-9291adb2e1ff; status = current

test

name: Test102FOPHCodeNotValidForStrict

description: Test102: Verify that FOPH code is not valid for strict profile

action

Operations

-TypeDescriptionContentTypeEncodeRequestUrlParamsSourceId
*Test script operation code validate: $validatevalidateapplication/fhir+jsontrueprofile=http://fhir.ch/ig/ch-elm/StructureDefinition/PublishDocumentReferenceStrictinputdata

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 error.issue.where(severity='error' or severity='fatal').count()>0truefalse