CH ELM (R4)
1.6.0 - release Switzerland flag

This page is part of the Observations of notifiable communicable infectious diseases (v1.6.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

TestScript: Test96-Ignore-Slice-Patient-Eu-Lab-Information

Official URL: http://fhir.ch/ig/ch-elm/TestScript/Test96-Ignore-Slice-Patient-Eu-Lab-Information Version: 1.6.0
Active as of 2024-10-31 Computable Name: Test96IgnoreObservationInterpretationCodesInformation

Copyright/Legal: CC0-1.0

Generated Narrative: TestScript Test96-Ignore-Slice-Patient-Eu-Lab-Information

url: TestScript Test96IgnoreObservationInterpretationCodesInformation

version: 1.6.0

name: Test96IgnoreObservationInterpretationCodesInformation

status: Active

date: 2024-10-31 11:15:20+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:1cf9f2c3-7d6f-4b82-86ea-77b048bb4fdc; status = current

test

name: Test96

description: Test script to verify that Information This element does not match any known slice defined in the profile http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-eu-lab is ignored

action

Operations

-TypeDescriptionContentTypeEncodeRequestUrlParamsSourceId
*Test script operation code validate: $validatevalidateapplication/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 no errors.issue.where(severity='error' or severity='fatal').count()=0truefalse

action

Asserts

-DescriptionExpressionValueWarningOnly
*Check information ignoredissue.where(severity='information' and diagnostics.matches('This element does not match any known slice defined in the profile http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-eu-lab(.+)')).count() = 0truefalse