57 | | === !GetCapabilities and !GetContexts (cross-module resource transfer) === |
58 | | |
59 | | ''...to be discussed:'' |
60 | | |
61 | | !GetCapabilities should be possible in the PR to query the availability of context functions in the current instance, i.e. which context modules are available (MPR, DVR, VM, DVI, VTT...) and which particular resources they provide for a single record. Resources can then be accessed via the context module using UUIDs _or_ context-related labels, e.g. |
62 | | |
63 | | * if !GetCapabilities(MPR) contains "!ReportMissing", then expose "!ReportMissing with person_UUID" |
64 | | |
65 | | !GetContexts should be there in the PR to query which extra data ("context records") exist for a particular person or group, e.g. |
66 | | |
67 | | * for each resource_X in !GetContexts(person_UUID) expose "view/edit resource_X" |
68 | | |