@RestController @RequestMapping(value="/fhirdata") public class DataManagerController extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
UNAUTHORIZED_ERROR |
| Constructor and Description |
|---|
DataManagerController(OAuthService oAuthService,
UserService userService,
SandboxService sandboxService,
DataManagerService dataManagerService,
SandboxActivityLogService sandboxActivityLogService) |
| Modifier and Type | Method and Description |
|---|---|
List<SandboxImport> |
getSandboxImports(javax.servlet.http.HttpServletRequest request,
String sandboxId) |
String |
importAllPatientData(javax.servlet.http.HttpServletRequest request,
String sandboxId,
String patientId,
String fhirIdPrefix,
String encodedEndpoint) |
String |
reset(javax.servlet.http.HttpServletRequest request,
String sandboxId,
DataSet dataSet) |
public static final String UNAUTHORIZED_ERROR
@Inject public DataManagerController(OAuthService oAuthService, UserService userService, SandboxService sandboxService, DataManagerService dataManagerService, SandboxActivityLogService sandboxActivityLogService)
@GetMapping(value="/import",
params="sandboxId")
@ResponseBody
public List<SandboxImport> getSandboxImports(javax.servlet.http.HttpServletRequest request,
@RequestParam(value="sandboxId")
String sandboxId)
throws UnsupportedEncodingException
UnsupportedEncodingException@PostMapping(value="/import",
params={"sandboxId","patientId","endpoint","fhirIdPrefix"})
@ResponseBody
public String importAllPatientData(javax.servlet.http.HttpServletRequest request,
@RequestParam(value="sandboxId")
String sandboxId,
@RequestParam(value="patientId")
String patientId,
@RequestParam(value="fhirIdPrefix")
String fhirIdPrefix,
@RequestParam(value="endpoint")
String encodedEndpoint)
throws UnsupportedEncodingException
UnsupportedEncodingException@PostMapping(value="/reset",
params={"sandboxId","dataSet"})
@ResponseBody
public String reset(javax.servlet.http.HttpServletRequest request,
@RequestParam(value="sandboxId")
String sandboxId,
@RequestParam(value="dataSet")
DataSet dataSet)
throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2014–2018 Healthcare Services Platform Consortium. All rights reserved.