Factory class to instantiate resources by resource name. More...
Public Member Functions | |
def | instantiate (cls, resource_type, jsondict) |
Instantiate a resource of the type correlating to "resource_type". More... | |
Factory class to instantiate resources by resource name.
def fhirclient.models.fhirelementfactory.FHIRElementFactory.instantiate | ( | cls, | |
resource_type, | |||
jsondict | |||
) |
Instantiate a resource of the type correlating to "resource_type".
:param str resource_type: The name/type of the resource to instantiate :param dict jsondict: The JSON dictionary to use for data :returns: A resource of the respective type or Element