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 V2 Message Exchange Example

Active as of 2023-07-03

Generated Narrative: TestScript

Resource TestScript "hl7v2-message"

Profile: AEGIS Touchstone Testing TestScript Profile

AEGIS Touchstone Testing TestScript Dynamic Fixture Extension

url

id

value: hl7v2-message

url

contentType

value: text/plain

url

description

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

url

hint

value: HL7 V2 request message contents

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

version: 2.0.0

name: HL7V2Message

title: Example TestScript for an HL7 V2 Message Exchange

status: active

date: 2023-07-03

publisher: AEGIS.net, Inc.

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

description: Demonstrate an HL7 V2 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 V2 Client (Details: http://touchstone.aegis.net/touchstone/fhir/testing/CodeSystem/codesystem-testscript-profile-origin-types code HL7V2-Client = 'HL7 V2 Client', stated as 'null')

destination

id

Server

index: 1

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

profile: ??

test

id

HL7V2Message

name: HL7V2Message

description: Demonstrates the capture of an HL7 V2 message exchange using the MLLP V1 protocol.

action

Operations

-ExtensionTypeDescriptionDestinationEncodeRequestUrlOriginSourceId
*HL7 V2 (Details: http://touchstone.aegis.net/touchstone/fhir/testing/CodeSystem/codesystem-hl7v2-operation-codes code hl7v2 = 'HL7 V2', stated as 'null')HL7 V2 message exchange using the MLLP V1 protocol1false1hl7v2-message

action

Asserts

-ExtensionDescriptionDirectionValidateProfileIdWarningOnly
*Validate the sent HL7 V2 ADT A04 messagerequestHL7V2Validatefalse

action

Asserts

-ExtensionDescriptionDirectionOperatorValueWarningOnly
*Confirm an HL7 V2 ACK message was receivedresponsecontainsACKfalse

action

Asserts

-DescriptionDirectionValidateProfileIdWarningOnly
*Validate the received HL7 V2 ACK messageresponseHL7V2Validatefalse