Cardea
cardea.fhir.
Basic
Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don’t map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification.
resourceType – This is a Basic resource
identifier – Identifier assigned to the resource for business purposes, outside the context of FHIR.
code – Identifies the ‘type’ of resource - equivalent to the resource name for other resources.
subject – Identifies the patient, practitioner, device or any other resource that is the “focus” of this resource.
created – Identifies when the resource was first created.
author – Indicates who was responsible for creating the resource instance.
__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.