# This is the main configuration file of your Dancer2 app # env-related settings should go to environments/$env.yml # all the settings in this file will be loaded at Dancer's startup. # Your application's name appname: "RequestForm" # The default layout to use for your application (located in views/layouts/main.tt) # defined in engines/template/tt so we can use META, etc layout: "main" # when the charset is set to UTF-8 Dancer2 will handle for you # all the magic of encoding and decoding. You should not care # about unicode within your app when this setting is set (recommended). charset: "UTF-8" template: "template_toolkit" engines: template: template_toolkit: # WRAPPER: layouts/main.tt # doesn't allow layout override in route start_tag: '[%' end_tag: '%]' session: YAML: # session_dir: "/tmp/dancer_sessions" # use appdir/sessions def JSON: # session_dir: "/tmp/dancer_sessions" Sereal: # session_dir: "/tmp/dancer_sessions" patient_demographic_service: messages: pds_timeout: 'PDS timeout - please try again' pds_no_xml: 'No xml data structure passed' pds_no_match: 'No match found' pds_insufficient_vars: 'Required fields not supplied' return_codes: DEMOG-0001: No match found DEMOG-0007: Multiple matches found DEMOG-0017: Superceding NHS number returned DEMOG-0022: NHS Number of response record has been invalidated DEMOG-0040: NHS number not verified DEMOG-0042: NHS Number is not a new style number DEMOG-9999: Generic Spine Service Error SMSP-0000: Success SMSP-0001: Input message validation error SMSP-0002: Response message validation error SMSP-9999: Generic Spine Mini Service Provider software failure SMSP-0003: Data returned from local store, Spine unavailable validation: # diagnosis_date, phase, line_number, clinical_details, wbc, hb, plt handled in _dfv_profile() required: - last_name - first_name - nhs_number - gender - location_name - location_id - referrer - day - month - year - specimen - treatment - requested_by - contact - doi - tb - previous optional: - middle_name - patient_number - sample_ref - neut - lymph - other - pds_code - taken_by - report_to - datetime