SMART on FHIR Python Client  3.0.0
fhirclient.models.fhirsearch.FHIRSearchParam Class Reference

Holds one search parameter. More...

Inheritance diagram for fhirclient.models.fhirsearch.FHIRSearchParam:

Public Member Functions

def __init__ (self, name, value)
 
def copy (self)
 
def handle (self)
 Parses the receiver's value and returns a list of FHIRSearchParam instances. More...
 
def as_parameter (self)
 Return a string that represents the reciever as "key=value". More...
 

Public Attributes

 name
 
 value
 

Detailed Description

Holds one search parameter.

The instance's value can either be a string value or a search construct dictionary. In the latter case the class's handle method must be called to arrive at search parameter instances that can be converted into a URL query.

Constructor & Destructor Documentation

def fhirclient.models.fhirsearch.FHIRSearchParam.__init__ (   self,
  name,
  value 
)

Member Function Documentation

def fhirclient.models.fhirsearch.FHIRSearchParam.as_parameter (   self)

Return a string that represents the reciever as "key=value".

def fhirclient.models.fhirsearch.FHIRSearchParam.copy (   self)
def fhirclient.models.fhirsearch.FHIRSearchParam.handle (   self)

Parses the receiver's value and returns a list of FHIRSearchParam instances.

Needs only be called if the param needs to be handled, i.e. its value is a query structure.

:returns: A list with one or more FHIRSearchParam instances, not altering the receiver

Member Data Documentation

fhirclient.models.fhirsearch.FHIRSearchParam.name
fhirclient.models.fhirsearch.FHIRSearchParam.value

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