deleteDefinition: Delete a definition id of a chosen category.

View source: R/GetPostDeleteDefinition.R

deleteDefinitionR Documentation

Delete a definition id of a chosen category.

Description

Delete a definition id of a chosen category.

Usage

deleteDefinition(id, baseUrl, category)

Arguments

id

An integer id representing the id that uniquely identifies a definition for the category in a WebApi instance.

baseUrl

The base URL for the WebApi instance, for example: "http://server.org:80/WebAPI".

category

These are the categories in WebApi. The valid string options are 'conceptSet', 'cohort', 'characterization', 'pathway, 'incidenceRate', 'estimation', 'prediction'.

Details

Delete the definition for an id of chosen category in WebApi.

Value

None, unless error.

Examples

## Not run: 
deleteDefinition(id = 13242, baseUrl = "http://server.org:80/WebAPI", category = "cohort")

## End(Not run)

OHDSI/ROhdsiWebApi documentation built on March 15, 2023, 1:23 p.m.