UNPKG

fhirbuilder

Version:
17 lines (16 loc) 618 B
import { ICodeableConcept, ICoding, IOperationOutcome, IQuantity, IRange, IReference, IUsageContext } from 'fhirtypes/dist/r4'; import { ISerializable, IValidatable } from '../base'; export declare class UsageContext implements IUsageContext, ISerializable, IValidatable { code: ICoding; valueCodeableConcept?: ICodeableConcept; valueQuantity?: IQuantity; valueRange?: IRange; valueReference?: IReference; serialize(): string; toJson(): Record<string, unknown>; toPrettyString(): string; validate(): { isValid: boolean; operationOutcome: IOperationOutcome; }; }