PACSQuery
Extends:
PACS query item resource object representing a PACS query.
Constructor Summary
| Public Constructor | ||
| public |
constructor(url: string, auth: Object) Constructor |
|
Method Summary
| Public Methods | ||
| public |
Make a DELETE request to delete this PACS query resource through the REST API. |
|
| public |
getRetrieves(params: Object, timeout: number): Promise<PACSRetrieveList> Fetch a paginated list of PACS retrieves associated to this PACS query from the REST API given query search parameters. |
|
| public |
Make a PUT request to modify this PACS query resource through the REST API. |
|
Inherited Summary
| From class Resource | ||
| public static |
Helper method to make a deep copy clone of the passed object resource. |
|
| public get |
Return true if the resource object contains any data. |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
Make a deep copy clone of this object resource. |
|
| From class ItemResource | ||
| public get |
Get the item's data object (REST API descriptors). |
|
| public |
collection: * |
|
| public |
Fetch this item resource from the REST API. |
|
| public |
getPUTParameters(): string[] Get an array of parameter names that can be used as properties of the data object in PUT requests. |
|
| private |
Internal helper method to make a DELETE request to this item resource through the REST API. |
|
| private |
_getResource(linkRelation: string, ResourceClass: Object, searchParams: Object, timeout: number): Promise<ResourceClass> Internal method to fetch a related resource from the REST API that is referenced by a link relation within the item object. |
|
| private |
Internal helper method to make a PUT request to this item resource through the REST API. |
|
Public Constructors
Public Methods
public delete(timeout: number): Promise source
Make a DELETE request to delete this PACS query resource through the REST API.
Params:
| Name | Type | Attribute | Description |
| timeout | number |
|
request timeout |
public getRetrieves(params: Object, timeout: number): Promise<PACSRetrieveList> source
Fetch a paginated list of PACS retrieves associated to this PACS query from the REST API given query search parameters. If no search parameters then get the default first page.
Params:
| Name | Type | Attribute | Description |
| params | Object |
|
page parameters |
| params.limit | number |
|
page limit |
| params.offset | number |
|
page offset |
| searchParams.id | number |
|
match PACS retrieve id exactly with this number |
| searchParams.min_creation_date | string |
|
match PACS retrieve's creation date gte this date |
| searchParams.max_creation_date | string |
|
match PACS retrieve's creation date lte this date |
| searchParams.status | string |
|
match PACS retrieve execution status exactly with this string |
| searchParams.owner_username | string |
|
match PACS retrieve's owner username exactly with this string |
| timeout | number |
|
request timeout |