This page is part of the Observations of notifiable communicable infectious diseases (v1.9.1: 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
Active as of 2025-03-26 |
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
a fhir:TestScript ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "Test96-Ignore-Slice-Patient-Eu-Lab-Information"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: TestScript Test96-Ignore-Slice-Patient-Eu-Lab-Information</b></p><a name=\"Test96-Ignore-Slice-Patient-Eu-Lab-Information\"> </a><a name=\"hcTest96-Ignore-Slice-Patient-Eu-Lab-Information\"> </a><a name=\"Test96-Ignore-Slice-Patient-Eu-Lab-Information-en-US\"> </a><p><b>url</b>: <a href=\"TestScript-Test96-Ignore-Slice-Patient-Eu-Lab-Information.html\">TestScript Test96IgnoreObservationInterpretationCodesInformation</a></p><p><b>version</b>: 1.9.1</p><p><b>name</b>: Test96IgnoreObservationInterpretationCodesInformation</p><p><b>status</b>: Active</p><p><b>date</b>: 2025-03-26 08:01:17+0000</p><p><b>publisher</b>: Federal Office of Public Health FOPH</p><p><b>contact</b>: Federal Office of Public Health FOPH: <a href=\"https://www.bag.admin.ch/bag/en/home/das-bag/kontakt-standort.html\">https://www.bag.admin.ch/bag/en/home/das-bag/kontakt-standort.html</a></p><p><b>jurisdiction</b>: <span title=\"Codes:{urn:iso:std:iso:3166 CH}\">Switzerland</span></p><p><b>copyright</b>: </p><div><p>CC0-1.0</p>\n</div><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>inputdata</blockquote><p><b>autocreate</b>: false</p><p><b>autodelete</b>: false</p><p><b>resource</b>: <a href=\"DocumentReference-Publish-2Doc-ChlamydiaTrachomatis-Vct.html\">DocumentReference: identifier = UUID:1cf9f2c3-7d6f-4b82-86ea-77b048bb4fdc; status = current</a></p></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Test96</p><p><b>description</b>: 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</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Description</b></td><td><b>ContentType</b></td><td><b>EncodeRequestUrl</b></td><td><b>Params</b></td><td><b>SourceId</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://terminology.hl7.org/6.1.0/CodeSystem-testscript-operation-codes.html#testscript-operation-codes-validate\">Test script operation code validate</a>: $validate</td><td>validate</td><td>application/fhir+json</td><td>true</td><td>profile=http://fhir.ch/ig/ch-elm/StructureDefinition/PublishDocumentReference</td><td>inputdata</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>ResponseCode</b></td><td><b>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that the returned HTTP status is 200(OK).</td><td>response</td><td>200</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>Value</b></td><td><b>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that the returned resource is an OperationOutcome.</td><td>is(FHIR.OperationOutcome)</td><td>true</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>Value</b></td><td><b>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that we have no errors.</td><td>issue.where(severity='error' or severity='fatal').count()=0</td><td>true</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>Value</b></td><td><b>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Check information ignored</td><td>issue.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() = 0</td><td>true</td><td>false</td></tr></table></blockquote></blockquote></div>"^^rdf:XMLLiteral
] ; #
fhir:url [ fhir:v "http://fhir.ch/ig/ch-elm/TestScript/Test96-Ignore-Slice-Patient-Eu-Lab-Information"^^xsd:anyURI] ; #
fhir:version [ fhir:v "1.9.1"] ; #
fhir:name [ fhir:v "Test96IgnoreObservationInterpretationCodesInformation"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:date [ fhir:v "2025-03-26T08:01:17+00:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "Federal Office of Public Health FOPH"] ; #
fhir:contact ( [
fhir:name [ fhir:v "Federal Office of Public Health FOPH" ] ;
( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.bag.admin.ch/bag/en/home/das-bag/kontakt-standort.html" ] ] )
] ) ; #
fhir:jurisdiction ( [
( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "CH" ] ] )
] ) ; #
fhir:copyright [ fhir:v "CC0-1.0"] ; #
fhir:fixture ( [
fhir:id [ fhir:v "inputdata" ] ;
fhir:autocreate [ fhir:v false ] ;
fhir:autodelete [ fhir:v false ] ;
fhir:resource [
fhir:reference [ fhir:v "DocumentReference/Publish-2Doc-ChlamydiaTrachomatis-Vct" ] ]
] ) ; #
fhir:test ( [
fhir:name [ fhir:v "Test96" ] ;
fhir:description [ fhir:v "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" ] ;
( fhir:action [
fhir:operation [
fhir:type [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "validate" ] ] ;
fhir:description [ fhir:v "validate" ] ;
fhir:contentType [ fhir:v "application/fhir+json" ] ;
fhir:encodeRequestUrl [ fhir:v true ] ;
fhir:params [ fhir:v "profile=http://fhir.ch/ig/ch-elm/StructureDefinition/PublishDocumentReference" ] ;
fhir:sourceId [ fhir:v "inputdata" ] ] ] [
fhir:assert [
fhir:description [ fhir:v "Confirm that the returned HTTP status is 200(OK)." ] ;
fhir:direction [ fhir:v "response" ] ;
fhir:responseCode [ fhir:v "200" ] ;
fhir:warningOnly [ fhir:v false ] ] ] [
fhir:assert [
fhir:description [ fhir:v "Confirm that the returned resource is an OperationOutcome." ] ;
fhir:expression [ fhir:v "is(FHIR.OperationOutcome)" ] ;
fhir:value [ fhir:v "true" ] ;
fhir:warningOnly [ fhir:v false ] ] ] [
fhir:assert [
fhir:description [ fhir:v "Confirm that we have no errors." ] ;
fhir:expression [ fhir:v "issue.where(severity='error' or severity='fatal').count()=0" ] ;
fhir:value [ fhir:v "true" ] ;
fhir:warningOnly [ fhir:v false ] ] ] [
fhir:assert [
fhir:description [ fhir:v "Check information ignored" ] ;
fhir:expression [ fhir:v "issue.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() = 0" ] ;
fhir:value [ fhir:v "true" ] ;
fhir:warningOnly [ fhir:v false ] ] ] )
] ) . #
IG © 2023+ Federal Office of Public Health FOPH. Package ch.fhir.ig.ch-elm#1.9.1 based on FHIR 4.0.1. Generated 2025-03-26
Links: Table of Contents |
QA Report
| Propose a change