Compliance Reporting Workflow

The Compliance Reporting workflow is an IBM(R) WebSphere(R) MQ Workflow process designed to illustrate the interaction of IBM WebSphere MQ Workflow, IBM WebSphere Interchange Server collaborations, various IBM WebSphere Business Integration adapters, and various HL7-enabled applications. The Compliance Reporting workflow includes HL7 message generation in the request, addition of rows in a sample compliance report database, and e-mail notification of report completion.

Process model

The following diagram shows the process model for the Compliance Reporting workflow:

Process model for Compliance Reporting workflow

Activity details

The Compliance Reporting workflow contains the following activities:

Diagnosis Codes Query

Invokes a collaboration to send a Query By Parameter HL7 message and get results from an RSP HL7 message collaboration.

Property Value
Control to Report Notification Email
Data from Source Mappings:
  • StartDate maps to StartDate
  • EndDate maps to EndDate
  • DiagnosisCodes maps to DiagnosisCodes
Data to
Referenced programs QBP_Z01
Referenced Program Execution Server CWLDSVR.FMCSYS.FMCGRP
Input data structure QBP_Z01
Output data structure RSP_Z01

Report Notification Email

Invokes a collaboration which will send an email to the appropriate recipients based on the success or failure of the query/response message.

Property Value
Control from Diagnosis Codes Query
Control to Show Query Response
Data from
  • Diagnosis Codes Query Mappings:
    • ReturnCode maps to ReturnCode
    • AckCode maps to AckCode
    • Errors maps to Errors
  • Source Mappings:
    • StartDate maps to StartDate
    • EndDate maps to EndDate
    • DiagnosisCodes maps to DiagnosisCodes
    • EmailAddresses maps to EmailAddresses
Referenced programs Z01_Email
Referenced Program Execution Server CWLDSVR.FMCSYS.FMCGRP
Input data structure Z01_Email
Output data structure Z01_Email

Show Query Response

Normally this activity performs no operation. It can be activated to display the results of the diagnosis codes query operation.

Property Value
Control from Report Notification Email
Data from
  • Source Mappings:
    • StartDate maps to StartDate
    • EndDate maps to EndDate
    • DiagnosisCodes maps to DiagnosisCodes
    • EmailAddresses maps to EmailAddresses
  • Diagnosis Codes Query Mappings:
    • ReturnCode maps to ReturnCode
    • AckCode maps to AckCode
    • Errors maps to Errors
Referenced programs CompReport_Passthru
Input data structure Z01_Email
Output data structure Default Data Structure

Data structures

DiagnosisCodes

Structure containing a single diagnosis code to be sent as part of an HL7 Query By Parameter message. The message will contain an array of these structures.

Member name Member type
Parameter STRING

Errors

Structure representing the information returned by an HL7 response message when an error is detected.

Member name Member type
ErrorIdentifier STRING
ErrorText STRING
CodingSystem STRING
AlternateIdentifier STRING
AlternateText STRING
AlternateCodingSystem STRING
SegmentID STRING
Sequence FLOAT
FieldPosition FLOAT

QBP_Z01_In

Structure used to provide the input data to the Compliance Report process.

Member name Member type
StartDate STRING
EndDate STRING
DiagnosisCodes Array(10) of STRUCTURE DiagnosisCodes
EmailAddresses STRING

Z01_Email

Structure containing the process input data as well as any detected errors to be included in a notification email message.

Member name Member type
StartDate STRING
EndDate STRING
DiagnosisCodes Array(10) of STRUCTURE DiagnosisCodes
EmailAddresses STRING
ReturnCode STRING
AckCode STRING
Errors Array(10) of STRUCTURE Errors

QBP_Z01

Structure containing a subset of the process input data which is included in the HL7 Query By Parameter message.

Member name Member type
StartDate STRING
EndDate STRING
DiagnosisCodes Array(10) of STRUCTURE DiagnosisCodes

RSP_Z01

Structure containing the information returned by the HL7 Query By Parameter response message indicating success or failure.

Member name Member type
ReturnCode STRING
AckCode STRING
Errors Array(10) of STRUCTURE Errors

Copyright IBM Corp. 2002, 2003