Belongs to http://schema.pbs.gov.au/ XML Namespace. Defined in PBS XML Schema grammar.
This is a simple type of element.
A code.
This element may reference terminology concepts from the PBS Ontology (http://pbs.gov.au/pbs-ontology) class of concepts.
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.
<info> <dbk:title>...</dbk:title> <category>...</category><code rdf:resource="http://pbs.gov.au/code/program"><pricing-model rdf:resource="http://pbs.gov.au/pricing/extemporaneous">...</pricing-model> </info>content</code>
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. |