Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OH2-418 | Orthanc Integration #709

Draft
wants to merge 30 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b2cccac
update: Add radiology component
Dec 5, 2024
37aed41
chore: Restore .env.development file
Dec 5, 2024
096ede8
chore: Add radiology state
Dec 5, 2024
0722848
fix: Fix build
Dec 5, 2024
1c202b2
feature(OH2-421): Add radiology section
Dec 5, 2024
fe1e3ae
feature(OH2-421): Add patient study summary
Dec 6, 2024
414c649
chore: Rename radiology state type
Dec 6, 2024
68cf5ca
chore: Update radiology and rename state reset methods
Dec 6, 2024
a38b37d
chore: Rename readiology state reset methods
Dec 6, 2024
fcfe85d
chore: Update parseNumericDate function to use moment
Dec 6, 2024
69fe9df
update: Update radiology routes and not found activity component
Dec 9, 2024
17c5c97
update: Add instance preview state
Dec 9, 2024
a89f977
feature(OH2-422): Add patient studies table
Dec 9, 2024
e4262cd
fix: Fix last study computation
Dec 10, 2024
2b5b7eb
chore: Update study title
Dec 10, 2024
1d6675b
fix: Fix study title
Dec 10, 2024
5aa3e45
chore: Remove console.log
Dec 10, 2024
16cc21e
fix: Wrap radiology api calls with token refresh wrapper
Dec 10, 2024
9ed92c2
styles: Fix studies component styles
Dec 10, 2024
32cb6bb
Merge pull request #1 from SteveGT96/feature/OH2-421-radiology-section
SilverD3 Dec 10, 2024
f45a3e2
Merge branch 'informatici:develop' into integrations/orthanc
SilverD3 Dec 10, 2024
d4ec56a
feature(OH2-422): Add study series table
Dec 10, 2024
a707ee0
chore: Add state to store series with instances
Dec 10, 2024
811d257
chore: Add instances table
Dec 10, 2024
26996f9
chore: Sort series instances
Dec 10, 2024
d525414
feature(OH2-422): Add instance preview
Dec 11, 2024
6025c81
update: Handle series details view
Dec 11, 2024
ce09808
chore: Apply requested changes
Dec 12, 2024
6f0861d
Merge pull request #2 from SteveGT96/feature/OH2-422-studies-series
SilverD3 Dec 12, 2024
eb7b6ba
Merge branch 'develop' of https://github.com/informatici/openhospital…
SilverD3 Jan 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
246 changes: 244 additions & 2 deletions api/oh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3816,6 +3816,92 @@ paths:
format: byte
security:
- bearerAuth: []
/radiology/studies/{id}/series:
get:
tags:
- Radiology
operationId: getStudySeriesById
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/SeriesResponse"
security:
- bearerAuth: []
/radiology/series/{id}/instances:
get:
tags:
- Radiology
operationId: getSeriesInstancesById
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/InstanceResponse"
security:
- bearerAuth: []
/radiology/patients/{id}/studies:
get:
tags:
- Radiology
operationId: getPatientStudiesById
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/StudyResponse"
security:
- bearerAuth: []
/radiology/instances/{id}/preview:
get:
tags:
- Radiology
operationId: getInstancePreview
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: "#/components/schemas/InstancePreviewDTO"
security:
- bearerAuth: []
/pricelists/prices:
get:
tags:
Expand Down Expand Up @@ -6235,12 +6321,12 @@ components:
description: lock
format: int32
example: 0
opd:
type: boolean
female:
type: boolean
male:
type: boolean
opd:
type: boolean
pharmacy:
type: boolean
PatientDTO:
Expand Down Expand Up @@ -8194,6 +8280,157 @@ components:
type: string
description: Password of user
example: admin
Series:
type: object
properties:
bodyPartExamined:
type: string
imageOrientationPatient:
type: string
manufacturer:
type: string
modality:
type: string
operatorsName:
type: string
protocolName:
type: string
seriesDescription:
type: string
instanceUID:
type: string
number:
type: string
stationName:
type: string
SeriesResponse:
type: object
properties:
id:
type: string
objectType:
type: string
labels:
type: array
items:
type: string
lastUpdate:
type: string
series:
$ref: "#/components/schemas/Series"
parentStudyId:
type: string
instancesIds:
type: array
items:
type: string
expectedNumberOfInstances:
type: string
status:
type: string
stable:
type: boolean
Instance:
type: object
properties:
acquisitionNumber:
type: string
imageOrientationPatient:
type: string
imagePositionPatient:
type: string
creationDate:
type: string
creationTime:
type: string
instanceNumber:
type: string
instanceUID:
type: string
InstanceResponse:
type: object
properties:
id:
type: string
fileSize:
type: integer
format: int32
fileUuid:
type: string
indexInSeries:
type: integer
format: int32
labels:
type: array
items:
type: string
instance:
$ref: "#/components/schemas/Instance"
parentSeriesId:
type: string
objectType:
type: string
Patient:
type: object
properties:
birthDate:
type: string
id:
type: string
name:
type: string
sex:
type: string
Study:
type: object
properties:
accessionNumber:
type: string
institutionName:
type: string
referringPhysicianName:
type: string
date:
type: string
time:
type: string
description:
type: string
id:
type: string
instanceUID:
type: string
StudyResponse:
type: object
properties:
id:
type: string
objectType:
type: string
labels:
type: array
items:
type: string
lastUpdate:
type: string
study:
$ref: "#/components/schemas/Study"
parentPatientId:
type: string
patient:
$ref: "#/components/schemas/Patient"
seriesIds:
type: array
items:
type: string
stable:
type: boolean
InstancePreviewDTO:
type: object
properties:
data:
type: string
description: Base64 representation of the instance preview
PriceDTO:
required:
- description
Expand Down Expand Up @@ -8292,6 +8529,11 @@ components:
description: The out-quantity
format: float
example: 89
lock:
type: integer
description: Lock
format: int32
example: 0
MedicalWardIdDTO:
required:
- medical
Expand Down
Loading