FHIR Testing IG
0.1.0-SNAPSHOT - Draft International flag

FHIR Testing IG, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0-SNAPSHOT built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-testing-ig/ and changes regularly. See the Directory of published versions

TestScript: TestScript Example Effective Period Test

Official URL: http://hl7.org/fhir/TestScript/testscript-example-effective-period Version: 1.0
Standards status: Informative Draft as of 2025-07-29 Computable Name: TestScriptExampleEffectivePeriodTest
Other Identifiers: OID:2.16.840.1.113883.4.642.12.9

Copyright/Legal: © HL7.org 2011+

TestScript example resource the demonstrates the use of the artifact-effectivePeriod extenstion. There is a single test for a Patient read operation. The effective period range represents the period of use for the FHIR R4 v4.0.1 specification starting from its release date on Oct 30, 2019 with no expiration.

Language: en

Artifact Effective Period: 2019-10-30 --> (ongoing)

url: http://hl7.org/fhir/TestScript/testscript-example-effective-period

identifier: Uniform Resource Identifier (URI)/urn:oid:2.16.840.1.113883.4.642.12.9

version: 1.0

name: TestScriptExampleEffectivePeriodTest

title: TestScript Example Effective Period Test

status: Draft

experimental: false

date: 2025-07-29

publisher: HL7 International / FHIR Infrastructure

contact: Support: support@HL7.org

description:

TestScript example resource the demonstrates the use of the artifact-effectivePeriod extenstion. There is a single test for a Patient read operation. The effective period range represents the period of use for the FHIR R4 v4.0.1 specification starting from its release date on Oct 30, 2019 with no expiration.

purpose:

Demonstrate use of artifact-effectivePeriod extension

copyright:

© HL7.org 2011+

Scopes

-ArtifactConformancePhase
*PatientOptionalUnit

profile: Patient

Variables

-NameDefaultValue
*KnownPatientResourceIdexample

test

id

PatientRead

name: Patient Read Test

description: Read a known Patient and validate response.

action

Operations

-TypeResourceDescriptionAcceptEncodeRequestUrlParams
*FHIR Restful Interactions: read (read)http://hl7.org/fhir/StructureDefinition/PatientRead the known Patient resource on the destination test system using the user defined dynamic variable ${KnownPatientResourceId}.xmltrue/${KnownPatientResourceId}

action

Asserts

-DescriptionResponseStopTestOnFailWarningOnly
*Confirm that the returned HTTP status is 200(OK).OKfalsefalse

action

Asserts

-DescriptionContentTypeStopTestOnFailWarningOnly
*Confirm that the returned format is XML.xmlfalsefalse

action

Asserts

-DescriptionStopTestOnFailValidateProfileIdWarningOnly
*Confirm that the returned Patient conforms to the base FHIR specification.falsepatient-profilefalse