cardea.fhir.UsageContext

class cardea.fhir.UsageContext(dict_values=None)[source]

Specifies clinical/business/etc metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care).

Parameters
  • code – A code that identifies the type of context being specified by this usage context.

  • valueCodeableConcept – A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.

  • valueQuantity – A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.

  • valueRange – A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.

__init__(dict_values=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([dict_values])

Initialize self.

assert_type()

Checks class values follow set possible enumerations.

get_dataframe()

Returns dataframe from class attribute values.

get_eligible_relationships()

Returns class relationships for attributes that are used.

get_id()

Returns fhir class identifier.

get_relationships()

Returns class relationships.

set_attributes(dict_values)

Sets values to class attributes.