fhirpath_guillotina package¶
Submodules¶
fhirpath_guillotina.engine module¶
-
class
fhirpath_guillotina.engine.
ElasticsearchConnection
(conn)[source]¶ Bases:
fhirpath.connectors.factory.es.ElasticsearchConnection
Elasticsearch Connection
-
async
fetch
(index, compiled_query)[source]¶ xxx: must have use scroll+slice https://stackoverflow.com/questions/43211387/what-does-elasticsearch-automatic-slicing-do https://stackoverflow.com/questions/50376713/elasticsearch-scroll-api-with-multi-threading
-
async
fhirpath_guillotina.field module¶
-
class
fhirpath_guillotina.field.
DefaultFhirFieldSchemaSerializer
(field, schema, request)[source]¶ Bases:
guillotina.json.serialize_schema_field.DefaultSchemaFieldSerializer
-
property
field_type
¶
-
property
-
class
fhirpath_guillotina.field.
FhirField
(resource_class=None, resource_interface=None, resource_type=None, fhir_release=None, **kw)[source]¶ Bases:
guillotina.schema._field.Object
FhirResource also known as FHIR field is the schema field derrived from z3c.form’s field.
It takes all initilial arguments those are derrived from standard schema field, with additionally
model
,resource_type
andresource_interface
Note
field name must be start with lowercase name of FHIR Resource.
-
class
fhirpath_guillotina.field.
FhirFieldValue
(obj: NewType.<locals>.new_type = None)[source]¶ Bases:
object
FhirResourceValue is a proxy class for holding any object derrived from fhir.resources.resource.Resource
-
fhirpath_guillotina.field.
fhir_field_from_resource_type
(resource_type: str, cache: bool = True) → Optional[dict][source]¶
-
fhirpath_guillotina.field.
fhir_field_from_schema
(schema: <InterfaceClass zope.interface.Interface>, resource_type: str = None) → Optional[fhirpath_guillotina.field.FhirField][source]¶
fhirpath_guillotina.helpers module¶
fhirpath_guillotina.interfaces module¶
Module where all interfaces, events and exceptions live.