Extract Dispensing Incentive Items
2013
2012
2011
2008
Commonwealth of Australia
This software is copyrighted by the Commonwealth of Australia ("The Commonwealth"). The following terms apply to all files associated with the software unless explicitly disclaimed in individual files.
Permission is hereby granted to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply.
IN NO EVENT SHALL THE COMMONWEALTH OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THE COMMONWEALTH SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE COMMONWEALTH HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
Steve Ball
Steve.Ball@health.gov.au
Department of Health and Ageing
PharmBiz
1.11.1
2013-02-15
SRB
Update documentation.
1.11
2012-11-21
SRB
Added dispensing rule dr:RP/s94-private-s100 to default. Improved matching of dispensing rule identifiers.
1.10
2012-10-31
SRB
Added program-code display option.
1.9
2012-09-20
DMM
Removed "RP/s94-private-s100" from the list of default dispening-rules to be output. Fixed bug that was outputting lines without an amount.
1.8
2012-08-15
DMM
Changed pbs:prices template to not consider anything within the changes list. Also added "RP/s94-private-s100" to the list of dispening-rules to be output.
1.7
2012-05-29
SRB
Added support for solvent-injectable combo items.
1.6
2012-05-15
SRB
Added dispensing rule dr:RP-NC-NP/s90-cp. Allow use of QNames.
1.5
2011-10-12
DMM
Changed default dispensing rule to include both ready-prepared and infusible rules. Code changes to accommodate matching against multiple rules. Fixed bug to accommodate different structures for locating incentive amount.
1.4
2011-06-24
SRB
Added infusibles.
1.3
2011-01-21
SRB
Updated for PBS XML v2.4.
1.2.1
2008-06-11
SRB
Changed filename of previous schedule.
1.2
2008-05-19
SRB
Introduce "auto" mode.
1.1
2008-04-29
SRB
Produce update list if previous schedule supplied.
1.0
2008-03-19
SRB
Initial version.
What information to display, and the order in which to display it. Allowed values are: drug-name, item-code, program-code, org-code and amount.
drug-name
item-code
org-code
amount
What mode to operate in. Allowed values are: auto, full or update. full mode (the default) produces a full list of brands. update mode compares this schedule to the previous schedule and produces a list of brands that have been added or deleted. update mode requires the previous-schedule parameter to be specified. auto mode attempts to discover if the previous schedule is available; if it is then it switches to update mode, if not then full mode is used.
The URL for the previous schedule. This parameter is required for update mode, but is otherwise ignored.
The dispensing rule to use.
auto mode cannot determine schedule date
12
update
full
update
full
unable to open previous month's schedule
ADDITIONS
DELETIONS
Prices
This template checks whether a price specifies a dispensing incentive. In full mode, the incentive is displayed. In update mode, the TPP is compared to either the previous schedule (for additions) or current schedule (for deletions) and is only displayed if it is not present in the other document.
This template works for both additions and deletions. The only difference is which document is being checked for the corresponding TPP. The document to compare against is given in the other parameter.
15/08/2012. This template has been changed to only consider those pbs:prices that do not appear in the change list. Future changes will consider these elements for the update mode.
Display values
This template implements a generalised mechanism for displaying values from the data. The what parameter controls what values are included and in what order.
Display a value
Display a single data value.