Touchstone FHIR Testing
2.0.0 - current International flag

Touchstone FHIR Testing v2.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

Example TestScript: TestScript HL7 V3 Message Exchange Example

Active as of 2023-08-19

Generated Narrative: TestScript

Resource TestScript "hl7v3-message"

Profile: AEGIS Touchstone Testing TestScript Profile

AEGIS Touchstone Testing TestScript Dynamic Fixture Extension

url

id

value: hl7v3-message

url

contentType

value: application/xml

url

description

value: HL7 V3 request message fixture. Enter the HL7 V3 request message that is to be sent to the target test system.

url

hint

value: HL7 V3 request message contents

url: http://touchstone.aegis.net/touchstone/fhir/testing/TestScript/hl7v3-message

version: 2.0.0

name: HL7V3Message

title: Example TestScript for an HL7 V3 Message Exchange

status: active

date: 2023-08-19

publisher: AEGIS.net, Inc.

contact: AEGIS.net, Inc.: https://www.aegis.net, Richard Ettema: mailto:richard.ettema@aegis.net

description: Demonstrate an HL7 V3 message exchange using of the new TestScript extension testscript-dynamic-fixture.

jurisdiction: World (m49.htm#001)

copyright: (c) AEGIS.net, Inc. 2015+

origin

id

Client

index: 1

profile: HL7 V3 Client (Details: http://touchstone.aegis.net/touchstone/fhir/testing/CodeSystem/codesystem-testscript-profile-origin-types code HL7V3-Client = 'HL7 V3 Client', stated as 'null')

destination

id

Server

index: 1

profile: HL7 V3 Server (Details: http://touchstone.aegis.net/touchstone/fhir/testing/CodeSystem/codesystem-testscript-profile-destination-types code HL7V3-Server = 'HL7 V3 Server', stated as 'null')

profile: ??

test

id

HL7V3Message

name: HL7V3Message

description: Demonstrates the capture of an HL7 V3 message exchange using the HTTP protocol.

action

Operations

-TypeDescriptionContentTypeDestinationEncodeRequestUrlOriginSourceId
*HL7 V3 (Details: http://touchstone.aegis.net/touchstone/fhir/testing/CodeSystem/codesystem-hl7v3-operation-codes code hl7v3 = 'HL7 V3', stated as 'null')HL7 V3 message exchange using the HTTP protocolapplication/xml1true1hl7v3-message

action

Asserts

-ExtensionDescriptionDirectionValidateProfileIdWarningOnly
*Validate the sent HL7 V3 messagerequestHL7V3Validatefalse

action

Asserts

-ExtensionDescriptionDirectionOperatorPathValueWarningOnly
*Confirm an HL7 V3 ACK success message was receivedresponseinMCCI_IN000002UV01/acknowledgement/typeCodeAA,CAfalse

action

Asserts

-DescriptionDirectionValidateProfileIdWarningOnly
*Validate the received HL7 V3 ACK messageresponseHL7V3Validatefalse