SMART on FHIR Python Client  3.0.0
fhirclient.models.fhirelementfactory.FHIRElementFactory Class Reference

Factory class to instantiate resources by resource name. More...

Inheritance diagram for fhirclient.models.fhirelementfactory.FHIRElementFactory:

Public Member Functions

def instantiate (cls, resource_type, jsondict)
 Instantiate a resource of the type correlating to "resource_type". More...
 

Detailed Description

Factory class to instantiate resources by resource name.

Member Function Documentation

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


The documentation for this class was generated from the following file: