fhirpack.transformation package¶
Submodules¶
fhirpack.transformation.base module¶
- class fhirpack.transformation.base.BaseTransformerMixin[source]¶
Bases:
object
- __dict__ = mappingproxy({'__module__': 'fhirpack.transformation.base', 'validate': <function BaseTransformerMixin.validate>, 'gatherSimplePaths': <function BaseTransformerMixin.gatherSimplePaths>, '_BaseTransformerMixin__gatherSimplePath': <function BaseTransformerMixin.__gatherSimplePath>, 'gatherReferences': <function BaseTransformerMixin.gatherReferences>, 'gatherText': <function BaseTransformerMixin.gatherText>, 'gatherKeys': <function BaseTransformerMixin.gatherKeys>, 'gatherValuesForKeys': <function BaseTransformerMixin.gatherValuesForKeys>, 'gatherDates': <function BaseTransformerMixin.gatherDates>, '__dict__': <attribute '__dict__' of 'BaseTransformerMixin' objects>, '__weakref__': <attribute '__weakref__' of 'BaseTransformerMixin' objects>, '__doc__': None, '__annotations__': {}})¶
- __doc__ = None¶
- __module__ = 'fhirpack.transformation.base'¶
- __weakref__¶
list of weak references to the object (if defined)
- gatherDates(recursive: bool = False, input: Optional[Union[list[str], list[fhirpy.lib.SyncFHIRReference], list[fhirpy.lib.SyncFHIRResource]]] = None, params: Optional[dict] = None)[source]¶
- gatherKeys(params: Optional[dict] = None, input: Optional[Union[list[str], list[fhirpy.lib.SyncFHIRReference], list[fhirpy.lib.SyncFHIRResource]]] = None)[source]¶
- gatherReferences(references: Optional[Union[list[str], list[fhirpy.lib.SyncFHIRReference], list[fhirpy.lib.SyncFHIRResource]]] = None, recursive: bool = False)[source]¶
- gatherSimplePaths(paths: list[str], input: Optional[Union[list[str], list[fhirpy.lib.SyncFHIRReference], list[fhirpy.lib.SyncFHIRResource]]] = None, params: dict = {})[source]¶
- gatherText(input: Optional[Union[list[str], list[fhirpy.lib.SyncFHIRReference], list[fhirpy.lib.SyncFHIRResource]]] = None, typeLookUps: Optional[list] = None, lookUps: Optional[list] = None, mapped: bool = False, includeMeta: bool = False, includeEmpty: bool = False, defaultLookUps: bool = True, includeDuplicates: bool = False)[source]¶
extract Text from resources by lookups.
- Parameters:
input – Data to extract text from.
resourceType – The type is used the include type specific lookups.
lookUps (list, optional) – List of lookups to include in the text extraction.
mapped (bool, optional) – Store text labels as dictionary keys.
includeMeta (bool, optional) – Include the resource meta data.
includeEmpty (bool, optional) – Include empty Text for labels.
defaultLookUps (bool, optional) – Include the list of default Lookups.
includeDuplicates (bool, optional) – Include duplicated Test string.
fhirpack.transformation.base_test module¶
fhirpack.transformation.condition module¶
fhirpack.transformation.observation module¶
fhirpack.transformation.patient module¶
Module contents¶
- class fhirpack.transformation.TransformerMixin[source]¶
Bases:
TransformerObservationMixin
,TransformerPatientMixin
,TransformerConditionMixin
- __doc__ = None¶
- __module__ = 'fhirpack.transformation'¶