imaging_api.db.models
Classes
Base class for SQLAlchemy ORM models. |
|
ORM model for the xhbm_direct_archive_session table. |
|
Pydantic model for the xhbm_direct_archive_session table. |
|
ORM model for the xhbm_executed_pacs_request table. |
|
Pydantic model for the xhbm_executed_pacs_request table. |
|
ORM model for the xhbm_queued_pacs_request table. |
|
Pydantic model for the xhbm_queued_pacs_request table. |
Module Contents
- class imaging_api.db.models.Base
Bases:
sqlalchemy.orm.DeclarativeBaseBase class for SQLAlchemy ORM models.
- class imaging_api.db.models.DirectArchiveSessionORM
Bases:
BaseORM model for the xhbm_direct_archive_session table.
- __tablename__ = 'xhbm_direct_archive_session'
- id
- created
- folder_name
- status
- project
- timestamp
- class imaging_api.db.models.DirectArchiveSession
Bases:
pydantic.BaseModelPydantic model for the xhbm_direct_archive_session table.
- id: int
- created: datetime.datetime
- folder_name: str
- status: str
- project: str
- model_config
- class imaging_api.db.models.ExecutedPacsRequestORM
Bases:
BaseORM model for the xhbm_executed_pacs_request table.
- __tablename__ = 'xhbm_executed_pacs_request'
- id
- created
- accession_number
- status
- xnat_project
- timestamp
- class imaging_api.db.models.ExecutedPacsRequest
Bases:
pydantic.BaseModelPydantic model for the xhbm_executed_pacs_request table.
- id: int
- created: datetime.datetime
- accession_number: str
- status: str
- xnat_project: str
- model_config