ODS Cover Sheet - Create a cover sheet for any NHS organisation code

Create a cover sheet for an A4 windowed envelope for any NHS organisation code

ODS Cover Sheet

Motivation

The holy grail is to send all hospital correspondence electronically. Unfortunately, this is not possible yet; too many edge cases require falling back to printing and posting letters. This command-line utility available for Windows and Linux creates a PDF cover sheet with the full postal address of the organisation whose ODS (Organisation Code) is passed as a parameter. The cover sheet produced displays the address so that it will appear in a standard A4 windowed envelope.

This command-line utility is intended to be used as part of a more comprehensive automated system, for example, as a cover sheet for letters combined as part of an exception report.

Usage

The command-line utility is invoked like:

1./ods-cover-sheet -ods=A86003
2./ods-cover-sheet -ods=FFP21
3./ods-cover-sheet -ods=RXR

Results

This will produce 3 PDF files each named with the ods code i.e. A86003.pdf.

Each PDF cover sheet will contain the correct address for that organisation.

 1--A86003
 2SAVILLE MEDICAL GROUP
 37 SAVILLE PLACE
 4NEWCASTLE UPON TYNE
 5NE1 8DQ
 6
 7-- FFP21
 8TALBOT ROAD PHARMACY
 9110 TALBOT ROAD
10BLACKPOOL
11FY1 1LR
12
13-- RXR
14EAST LANCASHIRE HOSPITALS NHS TRUST
15ROYAL BLACKBURN HOSPITAL
16BLACKBURN
17BB2 3HH

Download

The ZIP file contains both Windows and Linux 64bit executables ods-cover-sheet.zip

Language

Written and compiled in Go 1.23.0

Source Code Availability

None at the moment. Later, it could be released under the MIT license.

Version History