cardea.fhir.ParameterDefinition

class cardea.fhir.ParameterDefinition(dict_values=None)

The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse.

Parameters
  • name – The name of the parameter used to allow access to the value of the parameter in evaluation contexts.

  • use – Whether the parameter is input or output for the module.

  • min – The minimum number of times this parameter SHALL appear in the request or response.

  • max – The maximum number of times this element is permitted to appear in the request or response.

  • documentation – A brief discussion of what the parameter is for and how it is used by the module.

  • type – The type of the parameter.

  • profile – If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.

__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.