Add Section 100 (Highly Specialised Drugs) - Public Hospitals

This commit is contained in:
RunasSudo 2023-02-18 13:47:00 +11:00
parent 2d434d60f5
commit 3e1d3dcab6
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
2 changed files with 3 additions and 2 deletions

View File

@ -72,7 +72,7 @@
</table>
</div>
<footer class="border-top pt-4 mt-4">
<p class="text-muted">Results sourced from the PBS database as at <span id="pbs-date"></span>. This tool is made available in the hope that it will be useful, but <b>WITHOUT ANY WARRANTY</b>; without even the implied warranty of <b>MERCHANTABILITY</b> or <b>FITNESS FOR A PARTICULAR PURPOSE</b>. Information provided in this tool is intended for reference by medical professionals. Nothing in this tool is intended to constitute medical advice.</p>
<p class="text-muted">Results sourced from the PBS database as at <span id="pbs-date"></span>. Only items from selected PBS programs, and selected non-PBS medications, are displayed. This tool is made available in the hope that it will be useful, but <b>WITHOUT ANY WARRANTY</b>; without even the implied warranty of <b>MERCHANTABILITY</b> or <b>FITNESS FOR A PARTICULAR PURPOSE</b>. Information provided in this tool is intended for reference by medical professionals. Nothing in this tool is intended to constitute medical advice.</p>
</footer>
</div>
</div>
@ -195,7 +195,7 @@
td = document.createElement('td'); td.innerText = item['maximum_prescribable_units']; tr.appendChild(td);
td = document.createElement('td'); td.innerText = item['number_repeats']; tr.appendChild(td);
if (item['program'] !== 'GE') {
if (item['program'] !== 'GE' && item['program'] !== 'HB') {
td = document.createElement('td');
if (item['program'] === 'R1') {
td.innerHTML = '<a href="https://www.pbs.gov.au/medicine/item/' + item['code'] + '" target="_blank">RPBS</a>';

View File

@ -126,6 +126,7 @@ def parse_program(program_code):
parse_program('GE') # General Schedule
parse_program('R1') # Repatriation PBS
parse_program('HB') # Section 100 (Highly Specialised Drugs) - Public Hospitals
# ----------------
# Parse MPPs, etc.