Identify all actions the UI wants to perform (create, update, etc.)
- Langage dominant
- TypeScript
- Étoiles
- 0
- Forks
- 0
- Merge moyen
- 7 j 3 h
- PR mergées (30 j)
- 2
Description
List of all actions
* Get configuration for StudyManager
* Get all studies
* Get all patients of a study
* Get single patient via PatRef, root, and ext
* Get single patient via Sic (needed to check whether an SIC is duplicated) (does a separate endpoint make sense? Can be replaced by multi-patient validation)
* Get master data of a single patient
* Get encounters of a single patient
* Multi-patient validation (for batch creation)
* Creation of a single patient
* Batch creation of multiple patients (Rather as single endpoint instead of calling single creation endpoint iteratively -> helps with transaction consistency)
* Update of a single patient
* Deletion of a single patient
```mermaid
---
title: API
---
flowchart LR
config(Configuration)
study(Study)
patient(Patient)
masterdata(MasterData)
encounter(Encounter)
config -- Retrieve configuration for StudyManager --> configGet(GET /studies/config)
study -- Retrieve all studies --> studyGet(GET /studies)
study -- Retrieve a specific study --> studyGetById("GET /studies/{studyId}")
patient -- Retrieve all patients of a study --> patientGet("GET /studies/{studyId}/patients")
patient -- Retrieve single patient --> patientGetByPatRef("GET /studies/{studyId}/patients/{reference}/{extension}")
patient -- Create/Update a single patient --> patientCreate("PUT /studies/{studyId}/patients/{reference}/{extension}")
patient -- Delete a single patient --> patientDelete("DELETE /studies/{studyId}/patients/{reference}/{extension}")
patient -- Multi-patient validation --> patientMultiValidation("POST /studies/{studyId}/patients/{reference}/batch/validate")
patient -- Multi-patient creation --> patientMultiCreate("PUT /studies/{studyId}/patients/{reference}/batch/")
encounter -- Retrieve encounters of a single patient --> encounterGet("GET /studies/{studyId}/patients/{reference}/{extension}/encounters")
masterdata -- Retrieve master data of a single patient --> masterdataGet("GET /studies/{studyId}/patients/{reference}/{extension}/masterdata")
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.