Holds one search parameter. More...
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 | |
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.
def fhirclient.models.fhirsearch.FHIRSearchParam.__init__ | ( | self, | |
name, | |||
value | |||
) |
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
fhirclient.models.fhirsearch.FHIRSearchParam.name |
fhirclient.models.fhirsearch.FHIRSearchParam.value |