This XSL stylesheet produces the misc extract file (Misc yyyymmdd.txt) from a PBS XML document. It only displays data that has changed since the previous months PBS XML document.
The source document must be a PBS XML document.
The result document is a text file.
The default item delimeter is the tab character
Field Name | Format | Maximum Length | Description |
---|---|---|---|
Item Code | Character | 6 | five or six characters in format (n)nnnna |
Start Date | Character | 8 | format ddmmyyyy |
End Date | Character | 8 | format ddmmyyyy |
Item code for associated injectable item | Character | 6 | When item is a solvent-injectable combo item, i.e. pbs:solvent-rule, blank otherwise. Five or six characters in format (n)nnnna. |
Item code for associated solvent item | Character | 6 | When item is a solvent-injectable combo item, i.e. pbs:solvent-rule, blank otherwise. Five or six characters in format (n)nnnna. |
Item type | Character | 2 | |
Category code | Character | 2 | |
OSPC premium flag | Character | 1 | 'Y' is OSPC is payable, 'N' otherwise |
TGP premium flag | Character | 1 | 'Y' if TGP is payable, 'N' otherwise |
Exemption flag | Character | 1 | 'Y' if item is exempt from paying either OSPC or TGP, 'N' otherwise |
Breakable flag | Character | 1 | 'Y' if the pack can be broken, 'N' otherwise |
Container Code | Character | 3 | 'VII' if the item uses an injectable container, 'VIO' otherwise |
EDSOF code | Character | 4 | All items that are in the same Emergency Drug Supply exclusion group get the same code. |
Continued dispensing flag | Character | 1 | 'Y' if continued dispensing applies to this item, 'N' otherwise |
Default value: "' '"
Field Delimiter
Delimiter to use between fields. Default is tab character.
Default value: "' '"
End of Line Delimiter
Delimiter to use between lines. Default is line feed character.
Version | Release date | Changes |
---|---|---|
1.3 | 26 February 2013 | Scrape EDSOF from group description. |
1.2.1 | 07 November 2012 | Added documentation. |
1.2 | 06 November 2012 | Use name for DBoF value. Synthesize value if no EDS group. |
1.1 | 17 July 2012 | Updated item type and category classifications, and proper matching on QNames for item memberships. |
1.0 | 13 July 2012 | Initial version. |