fhirbuilder
Version:
Another FHIR Tool to build FHIR Resources
52 lines (51 loc) • 1.7 kB
TypeScript
import { ICodeableConcept, IPeriod } from 'fhirtypes/dist/r4';
import { CoverageException } from '../../models';
import { BackboneBuilder, IBuildable } from '../base';
/**
* @description Interface for chaining the building of a CoverageException
* @interface ICoverageExceptionBuilder
* @extends {IBuildable<CoverageException>}
*/
interface ICoverageExceptionBuilder extends IBuildable<CoverageException> {
setType(value: ICodeableConcept): this;
setPeriod(value: IPeriod): this;
}
/**
* @version R4 (v4.0.1)
* @summary FHIR® Specification by HL7®
* @description Class for building a CoverageException
* @class CoverageExceptionBuilder
* @extends {BackboneBuilder}
* @implements {ICoverageExceptionBuilder}
* @author Roberto Araneda Espinoza
*/
export declare class CoverageExceptionBuilder extends BackboneBuilder implements ICoverageExceptionBuilder {
private readonly coverageException;
constructor();
/**
* @description Sets the resource type to CoverageException
* @param json - the json to parse
* @returns {this}
*/
fromJSON(json: unknown): this;
/**
* @description Builds the model
* @returns {CoverageException}
*/
build(): CoverageException;
/**
* @description Sets the type value
* @description The code for the specific exception.
* @param value - the value to set
* @returns {this}
*/
setType(value: ICodeableConcept): this;
/**
* @description Sets the period value
* @description The timeframe during when the exception is in force.
* @param value - the value to set
* @returns {this}
*/
setPeriod(value: IPeriod): this;
}
export {};