/** * Given a token response, computes and returns the expiresAt timestamp. * Note that this should only be used immediately after an access token is * received, otherwise the computed timestamp will be incorrect. * @param tokenResponse * @param env */ /** * Groups the observations by code. Returns a map that will look like: * ```js * const map = client.byCodes(observations, "code"); * // map = { * // "55284-4": [ observation1, observation2 ], * // "6082-2": [ observation3 ] * // } * ``` * @param observations Array of observations * @param property The name of a CodeableConcept property to group by */ /** * First groups the observations by code using `byCode`. Then returns a function * that accepts codes as arguments and will return a flat array of observations * having that codes. Example: * ```js * const filter = client.byCodes(observations, "category"); * filter("laboratory") // => [ observation1, observation2 ] * filter("vital-signs") // => [ observation3 ] * filter("laboratory", "vital-signs") // => [ observation1, observation2, observation3 ] * ``` * @param observations Array of observations * @param property The name of a CodeableConcept property to group by */ /** * Given a conformance statement and a resource type, returns the name of the * URL parameter that can be used to scope the resource type by patient ID. */ /** * Resolves a reference to target window. It may also open new window or tab if * the `target = "popup"` or `target = "_blank"`. * @param target * @param width Only used when `target = "popup"` * @param height Only used when `target = "popup"` */ export declare function assert(condition: any, message: string): asserts condition;