How to run the example
This CBPR+ MX Validation will use the sample files to demonstrate the generation of validation report as output from a CBPR XML message.
The stopValidation.json file will report the validation failure due to the pre-conversion checks:
If input file is other than any of the supported CBPR+ messages as per schema list indicated above.
- Import the cbpr_validation_flow.zip project into the Design Server.
-
Open the cbpr_validation_flow project in Design Server and view the
cbpr_validation flow.
-
The Flow Description points to all the maps to be executed during the
flow process, which will be called from within some of the map nodes in the flow. The following is a
list of maps invoked using RUN built-in function during the flow process:
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_enh/cbpr6005_camt_057_001_06
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_enh/cbpr6007_camt_060_001_05
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_enh/cbpr6051_head112_camt029
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_enh/cbpr6052_head112_camt052
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_enh/cbpr6053_head112_camt053
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_enh/cbpr6054_head112_camt054
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_enh/cbpr6055_head112_camt057
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_enh/cbpr6056_head112_camt056
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_enh/cbpr6057_head112_camt060
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_enh/cbpr6151_head112_pacs002
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_enh/cbpr6152_head112_pacs004
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_enh/cbpr6153_head112_pacs008
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_enh/cbpr6154_head112_pacs009
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_enh/cbpr6155_head112_pacs009_cov
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_enh/cbpr6156_head112_pacs010
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_enh/cbpr6157_head112_pacs008_stp
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_enh/cbpr6158_head112_pacs009_adv
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pain_validation_enh/cbpr6401_pain_001_001_09
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pain_validation_enh/cbpr6402_pain_002_001_10
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pain_validation_enh/cbpr6451_head112_pain001
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pain_validation_enh/cbpr6452_head112_pain002
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_flw_enh/cbpr6031_camt_029_001_09
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_flw_enh/cbpr6032_camt_052_001_08
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_flw_enh/cbpr6033_camt_053_001_08
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_flw_enh/cbpr6036_camt_056_001_08
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_camt_validation_flw_enh/cbpr6034_camt_054_001_08
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_flw_enh/cbpr6131_pacs_002_001_10
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_flw_enh/cbpr6132_pacs_004_001_09
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_flw_enh/cbpr6133_pacs_008_001_08
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_flw_enh/cbpr6134_pacs_009_001_08
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_flw_enh/cbpr6135_pacs_009_001_08_cov
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_flw_enh/cbpr6136_pacs_010_001_03
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_flw_enh/cbpr6137_pacs_008_001_08_stp
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_pacs_validation_flw_enh/cbpr6138_pacs_009_001_08_adv
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6201_camt_029_001_09
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6202_camt_052_001_08
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6203_camt_053_001_08
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6204_camt_054_001_08
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6205_camt_056_001_08
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6206_camt_057_001_06
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6207_camt_060_001_05
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6251_head112_camt029
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6252_head112_camt052
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6253_head112_camt053
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6254_head112_camt054
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6255_head112_camt056
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6256_head112_camt057
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6257_head112_camt060
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6301_pacs_002_001_10
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6302_pacs_004_001_09
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6303_pacs_008_001_08
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6304_pacs_009_001_08
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6305_pacs_009_001_08_cov
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6306_pacs_010_001_03
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6307_pacs_008_001_08_stp
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6308_pacs_009_001_08_adv
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6351_head112_pacs002
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6352_head112_pacs004
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6353_head112_pacs008
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6354_head112_pacs009
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6355_head112_pacs009_cov
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6356_head112_pacs010
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6357_head112_pacs008_stp
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6358_head112_pacs009_adv
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6501_pain_001_001_09
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6502_pain_002_001_10
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6551_head112_pain001
- @packagemap=cbpr_plus/validation/schema_only/maps/cbpr_mx_schema_validation_xsd/cbpr6552_head112_pain002
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_serialize/cbpr2601_bah_pacs002_set
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_serialize/cbpr2602_bah_camt056_set
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_serialize/cbpr2603_bah_camt029_set
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_serialize/cbpr2604_bah_camt052_set
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_serialize/cbpr2605_bah_camt053_set
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_serialize/cbpr2606_bah_camt054_set
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_serialize/cbpr2607_bah_pacs004_set
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_serialize/cbpr2608_bah_pacs008_set
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_serialize/cbpr2609_bah_pacs008_stp_set
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_serialize/cbpr2610_bah_pacs009_set
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_serialize/cbpr2611_bah_pacs009_cov_set
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_serialize/cbpr2612_bah_pacs009_adv_set
- @packagemap=cbpr_plus/validation/mx_extended/maps/cbpr_mx_serialize/cbpr2613_bah_pacs010_set
-
It utilizes the following nodes:
- Map Nodes:
- MX pre-check
Runs map mxut1001_bizsvc_cbpr which set flow variables, check pre-validation conditions and create infoset.json for validation.
- MX deenvelope
Runs map cbpr2602_deenvelope which separates header and document portions for messages.
- set BAH
Runs map cbpr2600_bah_router which sets the different header variables to be used during extended validation for the respective messages as needed.
- BAH EXT-VAL
Runs map cbpr6701_bah_val which calls the appropriate map to performs extended validation on the header of a CBPR+ message.
- BAH XSD-VAL
Runs map cbpr6801_bah_val which calls the appropriate map to performs schema validation on the header of a CBPR+ message.
- DOC EXT-VAL
Runs map cbpr6702_doc_val which calls the appropriate map to performs extended validation on the body of a CBPR+ message.
- DOC XSD-VAL
Runs map cbpr6802_doc_val which calls the appropriate map to performs schema validation on the body of a CBPR+ message.
Note: The maps cbpr2600_bah_router, cbpr6701_bah_val, cbpr6801_bah_val, cbpr6702_doc_val and cbpr6802_doc_val internally call all the other maps identified in the above Flow Description step.
- MX pre-check
- Decision Nodes:
- pre-valid chk
This node checks the flow variable stopTranslation to decide if further processing is required.
- pre-valid chk
- Route Nodes:
- BAH-VAL
This routing node identifies the type of validation to be performed for the business application header. The options are extended or schema. The default as per the flow settings is extended.
- DOC-VAL
This routing node identifies the type of validation to be performed for the business document. The options are extended or schema. The default as per the flow settings is extended.
- BAH-VAL
- Log Nodes:
- FAILURE
It creates stopMXvalidation.json log file in case of no validation due to pre-condition check failures.
- bah_ext
It creates bah_validation_results.xml output file for results of message header extended validation.
- bah_xsd
It creates bah_validation_results.xml output file for results of message header schema validation.
- doc_ext
It creates doc_validation_results.xml output file for results of message body extended validation.
- doc_xsd
It creates doc_validation_results.xml output file for results of message body schema validation.
- FAILURE
- Fail Node:
- STOP
It generates error message setup in the node in case of no validation performed.
- STOP
- Map Nodes:
-
The Flow Description points to all the maps to be executed during the
flow process, which will be called from within some of the map nodes in the flow. The following is a
list of maps invoked using RUN built-in function during the flow process:
-
In Design Server, create a package cbpr_mx_validation that contains the
input files and one flow cbpr_validation. The maps will automatically be
included during deployment of the package onto the runtime server.
Note: Not required for running flows on Design Server user interface directly.