Cardea
cardea.fhir.
Substance
A homogeneous material with a definite composition.
resourceType – This is a Substance resource
identifier – Unique identifier for the substance.
status – A code to indicate if the substance is actively used.
category – A code that classifies the general type of substance. This is used for searching, sorting and display purposes.
code – A code (or set of codes) that identify this substance.
description – A description of the substance - its appearance, handling requirements, and other usage notes.
instance – Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance.
ingredient – A substance can be composed of other substances.
__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.