User interfaces

Command line

Command-line entry points for source inspection and future ETL slices.

acmad_uploader.cli.app.main()

Run ACMAD upload helper commands.

Return type:

None

acmad_uploader.cli.app.inspect_package(path, json_output=False)

Inventory a package without interpreting or uploading clinical data.

Return type:

None

acmad_uploader.cli.app.validate_patients(path, site=None)

Extract and validate patient records without contacting the API.

Return type:

None

acmad_uploader.cli.app.upload_patients(path, site=None, api_url=None, realm_url=None, client_id=None, persist_tokens=True, open_browser=True, verify_tls=True)

Validate and upsert basic patients through the ACMAD REST API.

Return type:

None

acmad_uploader.cli.app.validate_gait_assessments(path, site=None)

Extract and validate gait assessment linkage without contacting the API.

Return type:

None

acmad_uploader.cli.app.upload_gait_assessments(path, site=None, api_url=None, realm_url=None, client_id=None, persist_tokens=True, open_browser=True, verify_tls=True)

Validate and upsert gait assessment linkage through the ACMAD REST API.

Return type:

None

acmad_uploader.cli.app.validate_diagnoses(path, site=None)

Extract and validate diagnoses without contacting the API.

Return type:

None

acmad_uploader.cli.app.upload_diagnoses(path, site=None, api_url=None, realm_url=None, client_id=None, persist_tokens=True, open_browser=True, verify_tls=True)

Validate and upsert diagnoses through the ACMAD REST API.

Return type:

None

acmad_uploader.cli.app.validate_function_assessments(path)

Extract and validate function assessments without contacting the API.

Return type:

None

acmad_uploader.cli.app.upload_function_assessments(path, api_url=None, realm_url=None, client_id=None, persist_tokens=True, open_browser=True, verify_tls=True)

Validate and upsert function assessments through the ACMAD REST API.

Return type:

None

acmad_uploader.cli.app.validate_mocap_data(path)

Extract and validate mocap sessions without contacting the API.

Return type:

None

acmad_uploader.cli.app.upload_mocap_data(path, api_url=None, realm_url=None, client_id=None, persist_tokens=True, open_browser=True, verify_tls=True)

Validate and upsert mocap sessions through the ACMAD REST API.

Return type:

None

acmad_uploader.cli.app.validate_biomechanics_artifacts(path)

Discover and validate mocap session files without contacting the API.

Return type:

None

acmad_uploader.cli.app.upload_biomechanics_artifacts(path, api_url=None, realm_url=None, client_id=None, persist_tokens=True, open_browser=True, verify_tls=True)

Validate and upload mocap session files through the ACMAD REST API.

Return type:

None

acmad_uploader.cli.app.validate_physical_examinations(path)

Extract and validate physical examinations without contacting the API.

Return type:

None

acmad_uploader.cli.app.upload_physical_examinations(path, api_url=None, realm_url=None, client_id=None, persist_tokens=True, open_browser=True, verify_tls=True)

Validate and upsert physical examinations through the ACMAD REST API.

Return type:

None

acmad_uploader.cli.app.validate_proms(path)

Extract and validate PROMs questionnaires without contacting the API.

Return type:

None

acmad_uploader.cli.app.upload_proms(path, api_url=None, realm_url=None, client_id=None, persist_tokens=True, open_browser=True, verify_tls=True)

Validate and upsert PROMs questionnaires through the ACMAD REST API.

Return type:

None

acmad_uploader.cli.app.validate_surgery(path, site=None)

Extract and validate surgery episodes without contacting the API.

Return type:

None

acmad_uploader.cli.app.upload_surgery(path, site=None, api_url=None, realm_url=None, client_id=None, persist_tokens=True, open_browser=True, verify_tls=True)

Validate and upsert surgery episodes through the ACMAD REST API.

Return type:

None

acmad_uploader.cli.app.validate_package(path, site=None)

Extract and validate every known record type without contacting the API.

Return type:

None

acmad_uploader.cli.app.upload_package(path, site=None, api_url=None, realm_url=None, client_id=None, persist_tokens=True, open_browser=True, verify_tls=True)

Validate and upload every known record type through the ACMAD REST API.

Patient records are uploaded first: diagnosis and gait assessment records are resolved by patient identifier and fail if the patient doesn’t already exist at the destination.

Return type:

None

Desktop interface

The desktop interface requires the optional gui dependencies described in Installation.

wxPython desktop GUI for package-wide ACMAD uploads.

class acmad_uploader.gui.app.UploadFrame

Bases: Frame

Main window for validating and uploading a full ACMAD package.

class acmad_uploader.gui.app.UploadApp(*args, **kwargs)

Bases: App

wxPython application wrapper.

OnInit()
Return type:

bool

acmad_uploader.gui.app.main()

Run the ACMAD upload helper GUI.

Return type:

None