⚠Due to planned maintenance you will experience short (<30 min) downtime between 08:00 - 08:30 CET.
...
PlantUML Macro | ||
---|---|---|
| ||
@startuml <style> diamond { BackgroundColor #ccf LineColor #00FF00 FontColor green FontName arial FontSize 15 } </style> } </style> #palegreen:repeat:request token from 'https://login.microsoftonline.com/{tenantId}/oauth2/token'; repeat while (Valid bearer token from the Patient and Search API?) is (no) #palegreen:request token from 'https://login.microsoftonline.com/{tenantId}/oauth2/token'; endwhile (yes)->yes; #palegreen:create patient: POST /patients; #lightblue:HTTP201 created: Response body contains 'wmdaId' for this patient; #palegreen:Start search for patient using wmdaId POST to /searches; #lightblue:repeat:HTTP201 created: Response body contains 'searchId' for this patient; #palegreen:repeat #palegreen:Check search status: GET to /searches/{wmdaId}; backward: running; repeat while (What is the 'status' in the response body?) :completed?; split #gold:Donor; #AntiqueWhite:Retrieve search results: POST to /searches/searchResults/donors; #pink:Pick one or more donors; #AntiqueWhite:Use 'id' field for that donor to perform GET to /searches/donors/{searchResultsId} to get full report for this donor; split again #gold:CBU; #AntiqueWhite:Retrieve search results: POST to /searches/searchResults/cbus; #pink:Pick one or more CBUs; #AntiqueWhite:Use 'id' field for that donor to perform GET to /searches/cbus/{searchResultsId} to get full report for this CBU; split again #gold:ADCU; #AntiqueWhite:Retrieve search results: POST to /searches/searchResults/adcus; #pink:Pick one or more ADCUs; #AntiqueWhite:Use 'id' field for that donor to perform GET to /searches/adcus/{searchResultsId} to get full report for this ADCU; endsplit split #palegreen:Refresh all searches for a patient: POST to /searches/refreshAllPatientSearches; split again #palegreen:Refresh single search: POST to /searches/searchResultsRefresh; @enduml |