Logo: Department of HealthLogo: Pharmaceutical Benefits SchemePBS XML
PBS XML Schema Version 3.1.9

Element <pbs:code>

Belongs to http://schema.pbs.gov.au/ XML Namespace. Defined in PBS XML Schema grammar.

This is a simple type of element.

A code.

Terminology

This element may reference terminology concepts from the PBS Ontology (http://pbs.gov.au/pbs-ontology) class of concepts.

Contains

Contains a code. These may be associated with many different things, eg. PBS Items, prescribing rules, etc. The rdf:resource attribute gives the PBS Terminology concept that identifies the type of code (a.k.a. a "code-stream"). All codes with the same PBS Terminology concept have unique values (exceptions are markup bands and pricing models). NB. Some elements are references to objects that have a code, in which case the reference includes the code for convenience. In this case the code reference is excluded from the uniqueness constraint.

Content of the code element.

text

May be used in

pbs:markup-band
pbs:product-listing
pbs:info
pbs:dispensing-rule-reference
pbs:container-definition
pbs:prescribing-rule-reference
pbs:prescribing-rule
pbs:product-listing-reference
pbs:drug-tariff
pbs:recovery-price-reference
pbs:mp-reference
pbs:mp
pbs:mpuu-reference
pbs:mpuu
pbs:mpp-reference
pbs:mpp
pbs:tp-reference
pbs:tp
pbs:tpuu-reference
pbs:tpuu
pbs:tpp-reference
pbs:ctpp-reference
pbs:pharmaceutical-item-reference
pbs:ATC
pbs:organisation-reference
pbs:organisation
pbs:member-of
pbs:restriction-reference
pbs:restriction
pbs:assessment
pbs:definition-reference
pbs:definition
pbs:foreword-reference
pbs:foreword
pbs:administrative-advice-reference
pbs:administrative-advice
pbs:prescriber-instruction-reference
pbs:prescriber-instruction
pbs:indication-reference
pbs:indication
pbs:treatment-phase-reference
pbs:treatment-phase
pbs:episodicity-reference
pbs:episodicity
pbs:severity-reference
pbs:severity
pbs:condition-reference
pbs:condition
pbs:caution-reference
pbs:caution
pbs:criteria-reference
pbs:treatment
pbs:population
pbs:clinical
pbs:parameter-reference
pbs:location
pbs:care-type
pbs:prescriber
pbs:age
pbs:sex
pbs:other
pbs:condition-parameter
pbs:treatment-parameter
pbs:patient
pbs:pricing-model
pbs:tpp
pbs:ctpp
pbs:pharmaceutical-item

Example

<info>
   <dbk:title>...</dbk:title>
   <category>...</category>
<code rdf:resource="http://pbs.gov.au/code/program">
content
</code>
<pricing-model rdf:resource="http://pbs.gov.au/pricing/extemporaneous">...</pricing-model> </info>

Attributes

The pbs:code element may include the following attributes:

Name Optional Allowed Values Default Value Comments
xml:id Yes text Identifies the unique ID value of the element
xml:base Yes text Specifies the base URI of the element and its descendants
xml:lang Yes text Specifies the natural language of the element and its descendants
rdf:resource Yes "anyURI" datatype Reference to a terminology concept.
previous Yes "anyURI" datatype Hyperlink to the previous value of the element.