This XSL stylesheet produces the Fees extract file (Fees yyyymmdd.txt) from a PBS XML document.
The fees extract file contains details of patient contributions, mark-ups and fees that are relevant to the prices of drugs shown in the file Drug yyyymmdd.txt.
The source document must be a PBS XML document, schema-valid against version 2.4 (or later) of the PBS XML Schema.
The result document is a text file.
It is a free format text file containing the fields listed below.
| Field Name | Format | Maximum Length | Description |
|---|---|---|---|
| Code | Character | 6 | Values = C or G |
| Contribution Type | Character | 25 |
Description of category code
|
| Maximum Contribution | Character | 15 | Maximum contribution towards cost of prescription under the PBS |
| Minimum Safety Net | Character | 15 | Minimum safety net value to be recorded for prescriptions under PBS |
| Field Name | Format | Maximum Length | Description |
|---|---|---|---|
| Code | Character | 6 | Values = I or O |
| Container Type | Character | 25 |
Description of Container Fee Code
|
| Container Fee | Character | 15 | The ready-prepared container fee which applies to quantities less than the manufacturer's pack. Not payable on quantities over the manufacturer's pack |
| Field Name | Format | Maximum Length | Description |
|---|---|---|---|
| Code | Character | 6 | Code to indicate Dispensing Fee Values = DD,EP,EW,NF,RP |
| Fee Description | Character | 25 |
Description of Dispensing Fee Type Code
|
| Dispensing Fee | Character | 15 | Dispensing fee for given Dispensing Type |
| Additional Fee | Character | 15 | Additional fee for given Dispensing Type |
| Field Name | Format | Maximum Length | Description |
|---|---|---|---|
| Code | Character | 6 |
one character alphabetic (current rates in file Fees yyyymmdd.txt), three values:
|
| Drug Types | Character | 43 | Drug types associated with a given Markup code (For drug type codes see separate table below at 6. Drug txt file) |
| Markup Low Value | Character | 10 | The lower value of the Markup range |
| Markup High Value | Character | 10 | The higer value of the Markup range |
| Markup | Character | 10 | This field may either be a percentage, indicated by a % sign following, or a fixed value, indicated by a preceding $ sign. |
Default value: "true()"
QNames
Whether to use QNames or expanded URIs.
| Version | Release date | Changes |
|---|---|---|
| 2.6.1 | 07 November 2012 | Added documentation. |
| 2.6 | 05 November 2012 | Exclude non-default Private Hospital Pharmacy and infusible dispensing rules. |
| 2.5 | 23 October 2012 | Improved display of markup bands. |
| 2.4 | 16 May 2012 | Use QNames as well as URIs. Use container-definition type instead of title. Fix display of markup bands. |
| 2.3 | 22 November 2011 | Fixed length of Drug Types field to be 43 instead of 54. |
| 2.2 | 26 October 2011 | Fixed safety net recording fees. |
| 2.1.1 | 25 October 2011 | Fixed extemp fee. |
| 2.1 | 11 October 2011 | Changed dispensing rule URI. If value missing, use "0.00". |
| 2.0.1 | 14 June 2011 | Fixed extemp-extra fee. |
| 2.0 | 11 February 2011 | Updated for schema v2.4. |
| 1.0 | 27 August 2009 | Initial version. |