SMART on FHIR Python Client 4.2.0
 
Loading...
Searching...
No Matches
fhirclient.models.fhirelementfactory.FHIRElementFactory Class Reference

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

Public Member Functions

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

Detailed Description

Factory class to instantiate resources by resource name.

Member Function Documentation

◆ instantiate()

fhirclient.models.fhirelementfactory.FHIRElementFactory.instantiate (   cls,
  resource_type,
  jsondict 
)

Instantiate a resource of the type correlating to "resource_type".

Parameters
resource_typestr The name/type of the resource to instantiate
jsondictdict The JSON dictionary to use for data
Returns
s A resource of the respective type or Element

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