cardea.fhir.Coding

class cardea.fhir.Coding(dict_values=None)

A reference to a code defined by a terminology system.

Parameters
  • system – The identification of the code system that defines the meaning of the symbol in the code.

  • version – The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.

  • code – A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).

  • display – A representation of the meaning of the code in the system, following the rules of the system.

  • userSelected – Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).

__init__(dict_values=None)

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.