CH ELM (R4)
1.7.0-ci-build - 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.7.0-ci-build 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: Test92 - Warning for Ber Uid and Gln

Official URL: http://fhir.ch/ig/ch-elm/TestScript/Test92-WarningBerUidGln Version: 1.7.0-ci-build
Active as of 2024-11-15 Computable Name: Test92WarningBerUidGln

Copyright/Legal: CC0-1.0

Generated Narrative: TestScript Test92-WarningBerUidGln

url: TestScript Test92WarningBerUidGln

version: 1.7.0-ci-build

name: Test92WarningBerUidGln

status: Active

date: 2024-11-15 10:49:15+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: Binary: 12212 chars (base64)

test

name: Test92

description: Test92: Verify that warnings for incorrect BER, UID and GLN are raised

action

Operations

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

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

action

Asserts

-DescriptionExpressionValueWarningOnly
*Check Constraint failed: gln-modulus-10issue.where(severity='warning' and diagnostics.startsWith('Constraint failed: gln-modulus-10:')).count() = 1truefalse

action

Asserts

-DescriptionExpressionValueWarningOnly
*Check Constraint failed: gln-startswith76issue.where(severity='warning' and diagnostics.startsWith('Constraint failed: gln-startswith76:')).count() = 1truefalse

action

Asserts

-DescriptionExpressionValueWarningOnly
*Check Constraint failed: ber-lengthissue.where(severity='warning' and diagnostics.startsWith('Constraint failed: ber-length')).count() = 1truefalse

action

Asserts

-DescriptionExpressionValueWarningOnly
*Check Constraint failed: ber-modulus-11issue.where(severity='warning' and diagnostics.startsWith('Constraint failed: ber-modulus-11')).count() = 1truefalse

action

Asserts

-DescriptionExpressionValueWarningOnly
*Check Constraint failed: uidb-lengthissue.where(severity='warning' and diagnostics.startsWith('Constraint failed: uidb-length')).count() = 1truefalse

action

Asserts

-DescriptionExpressionValueWarningOnly
*Check Constraint failed: uidb-modulus-11issue.where(severity='warning' and diagnostics.startsWith('Constraint failed: uidb-modulus-11')).count() = 1truefalse