SMART on FHIR Python Client 4.2.0
 
Loading...
Searching...
No Matches
fhirclient.models.fhirsearch.FHIRSearchParam Class Reference

Holds one search parameter. More...

Public Member Functions

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

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

◆ __init__()

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

Member Function Documentation

◆ as_parameter()

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

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

◆ copy()

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

◆ handle()

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
s A list with one or more FHIRSearchParam instances, not altering the receiver

Member Data Documentation

◆ name

fhirclient.models.fhirsearch.FHIRSearchParam.name

◆ value

fhirclient.models.fhirsearch.FHIRSearchParam.value

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