getPreferredId: Gets preferred ids

View source: R/preferredBatchCode.R

getPreferredIdR Documentation

Gets preferred ids

Description

Entered batch codes (ids) are checked against a preferred id service

Usage

getPreferredId(batchIds, preferredIdService = NULL, testMode = FALSE)

Arguments

batchIds

a character vector of batch codes

preferredIdService

the url of the preferred id service. Defaults to racas::applicationSettings$preferredBatchIdService

testMode

deprecated, was used for a test mode

Details

DEPRECATED: use getPreferredId2 with entityType="compound" and entityKind="batch name".

Value

a list of pairs of requested IDs and preferred IDs. On error, empty list


mcneilco/racas documentation built on Feb. 22, 2024, 10:07 p.m.