fhirpack.pack module#

class fhirpack.pack.PACK(apiBase: str | None = None, client: SyncFHIRClient | None = None, envFile: str | None = None, ignoreEnvFile: bool = False, unconnected: bool = False, authMethod: str | None = None, authParams: str | dict | None = None)[source]#

Bases: BaseMixin, ExtractorMixin, TransformerMixin, LoaderMixin, PluginMixin

This class is FHIRPACK’s main entry point. It is used to connect to the FHIR server, and to interact with the other classes.

countServerResources()[source]#

This function counts the number of resources on the server.

Returns:

DataFrame with columns resourceType and count.

Return type:

DataFrame