[Service] Tracker
  1. treatment
[Service] Tracker
  • tracker-api
    • for-patient
      • Record multiple symptoms
      • Filter tasks
      • Filter Failed Tasks
      • Read Multi Task
      • Find Active Instances
      • Load Severity Trend Data
      • Find symptoms by ctcae codes and severity
      • Onboard
      • Close tracker
    • for-internal
      • tracker
        • Submit an on-going task
        • Update task
        • Resolve
        • Find Active Instances
      • patient
        • Find Patient Severities
        • Load Severity Trend Data
        • Find Patient Symptoms
        • Reset patient
      • treatment
        • Sync PIL Codes with their side effects
          PUT
      • symptom
        • Upsert Multiple Symptoms
      • message
        • Filter Messages
        • Upsert Multiple Messages
    • system
      • Get system version
  • dataflow
    • for-patient
      • Start an Instance
      • Throw Message
    • for-internal
      • Upsert a Process
  1. treatment

Sync PIL Codes with their side effects

Testing
tracker - local
http://localhost:8081/
tracker - local
http://localhost:8081/
PUT
api/internal/v1/treatments/sync

Request

Header Params
username
string 
required
Example:
{{username}}
password
string 
required
Example:
{{password}}
Body Params application/json
treatments
array [object {6}] 
required
pilCode
string 
required
name
string 
required
immediateSideEffects
array [object {3}] 
required
earlySideEffects
array [object {3}] 
required
lateSideEffects
array [object {3}] 
required
stages
array [object {2}] 
required
Example
{
    "treatments": [
        {
            "pilCode": "string",
            "name": "string",
            "immediateSideEffects": [
                {
                    "ctcaeCode": "string",
                    "name": "string",
                    "ordinal": 0
                }
            ],
            "earlySideEffects": [
                {
                    "ctcaeCode": "string",
                    "name": "string",
                    "ordinal": 0
                }
            ],
            "lateSideEffects": [
                {
                    "ctcaeCode": "string",
                    "name": "string",
                    "ordinal": 0
                }
            ],
            "stages": [
                {
                    "stage": "IMMEDIATE",
                    "time": {
                        "value": "string",
                        "type": "MINUTE"
                    }
                }
            ]
        }
    ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://localhost:8081/api/internal/v1/treatments/sync' \
--header 'username: content-synchronizer' \
--header 'password: 5BW9ow4COZOaz5eIj81Ot27LhwFH4EMO' \
--header 'Content-Type: application/json' \
--data-raw '{
    "treatments": [
        {
            "pilCode": "string",
            "name": "string",
            "immediateSideEffects": [
                {
                    "ctcaeCode": "string",
                    "name": "string",
                    "ordinal": 0
                }
            ],
            "earlySideEffects": [
                {
                    "ctcaeCode": "string",
                    "name": "string",
                    "ordinal": 0
                }
            ],
            "lateSideEffects": [
                {
                    "ctcaeCode": "string",
                    "name": "string",
                    "ordinal": 0
                }
            ],
            "stages": [
                {
                    "stage": "IMMEDIATE",
                    "time": {
                        "value": "string",
                        "type": "MINUTE"
                    }
                }
            ]
        }
    ]
}'

Responses

🟢200OK
application/json
Body
status
string 
required
data
object 
required
taskId
string 
required
Example
{
    "status": "string",
    "data": {
        "taskId": "string"
    }
}
Modified at 2024-03-17 12:39:33
Previous
Reset patient
Next
Upsert Multiple Symptoms
Built with