Cardea
cardea.fhir.
Medication
This resource is primarily used for the identification and definition of a medication. It covers the ingredients and the packaging for a medication.
resourceType – This is a Medication resource
code – A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.
status – A code to indicate if the medication is in active use.
isBrand – Set to true if the item is attributable to a specific manufacturer.
isOverTheCounter – Set to true if the medication can be obtained without an order from a prescriber.
manufacturer – Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product.
form – Describes the form of the item. Powder; tablets; capsule.
ingredient – Identifies a particular constituent of interest in the product.
package – Information that only applies to packages (not products).
image – Photo(s) or graphic representation(s) of the medication.
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__([dict_values])
Initialize self.
assert_type()
assert_type
Checks class values follow set possible enumerations.
get_dataframe()
get_dataframe
Returns dataframe from class attribute values.
get_eligible_relationships()
get_eligible_relationships
Returns class relationships for attributes that are used.
get_id()
get_id
Returns fhir class identifier.
get_relationships()
get_relationships
Returns class relationships.
set_attributes(dict_values)
set_attributes
Sets values to class attributes.