fhirbuilder
Version:
Another FHIR Tool to build FHIR Resources
61 lines (60 loc) • 2.02 kB
TypeScript
import { IReference, ICodeableConcept, IElement } from 'fhirtypes/dist/r4';
import { IEpisodeOfCareDiagnosis, IOperationOutcome } from 'fhirtypes/dist/r4';
import { BackboneElement, IValidatable, ISerializable } from '../base';
/**
* @version R4 (v4.0.1)
* @summary FHIR® Specification by HL7®
* @description Class for EpisodeOfCareDiagnosis BackboneElement
* @property {IReference} condition
* @property {ICodeableConcept} role
* @property {number} rank
* @property {IElement} _rank
* @author Roberto Araneda Espinoza
*/
export declare class EpisodeOfCareDiagnosis extends BackboneElement implements IEpisodeOfCareDiagnosis, IValidatable, ISerializable {
/**
* @description A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for.
*/
condition: IReference;
/**
* @description Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …).
*/
role?: ICodeableConcept;
/**
* @description Ranking of the diagnosis (for each role type).
*/
rank?: number;
/**
* @description Extensions for rank
*/
_rank?: IElement;
/**
* @description Returns a JSON representation of the model
* @returns {Record<string, any>}
*/
toJson(): Record<string, any>;
/**
* @description Returns a string representation of the model
* @returns {string}
*/
toString(): string;
/**
* @description Returns a pretty string representation of the model
* @returns {string}
*/
toPrettyString(): string;
/**
* @description Returns a serialized string representation of the model
* @returns {string}
*/
serialize(): string;
/**
* @description Validates the model
* @returns {isValid: boolean, operationOutcome: IOperationOutcome}
*/
validate(): {
isValid: boolean;
operationOutcome: IOperationOutcome;
};
constructor(args?: IEpisodeOfCareDiagnosis);
}