fhirbuilder
Version:
Another FHIR Tool to build FHIR Resources
70 lines (69 loc) • 2.53 kB
TypeScript
import { ICodeableConcept, IdentifierUseType, IElement, IIdentifier, IPeriod, IReference } from 'fhirtypes/dist/r4';
import { IdentifierBuilder } from '../../builders';
import { Element } from '../base/Element';
import { IValidatable } from '../base/IValidatable';
import { ISerializable } from '../base/ISerializable';
/**
* @description An identifier intended for computation
* @property {string} id - Unique id for inter-element referencing
* @property {IExtension[]} extension - Additional content defined by implementations
* @property {IdentifierUseEnum | IdentifierUseType} use - usual | official | temp | secondary | old (If known). Binding: IdentifierUse (Required)
* @property {ICodeableConcept} type - Description of identifier
* @property {string} system - The namespace for the identifier value
* @property {string} value - The value that is unique
* @property {IPeriod} period - Time period when id is/was valid for use
* @property {IReference} assigner - Organization that issued id (maybe just text)
* @property {IElement} _use - Extension of use
* @property {IElement} _system - Extension of system
* @property {IElement} _value - Extension of value
* @see {@link https://www.hl7.org/fhir/datatypes.html#Identifier Identifier}
* @author Roberto Araneda
*/
export declare class Identifier extends Element implements IIdentifier, IValidatable, ISerializable {
/**
* @description usual | official | temp | secondary | old (If known)
*/
use?: IdentifierUseType;
/**
* @description Description of identifier
*/
type?: ICodeableConcept;
/**
* @description The namespace for the identifier value
*/
system?: string;
/**
* @description The value that is unique
*/
value?: string;
/**
* @description Time period when id is/was valid for use
*/
period?: IPeriod;
/**
* @description Organization that issued id (may-be just text)
*/
assigner?: IReference;
/**
* @description Extension of use
*/
_use?: IElement;
/**
* @description Extension of system
*/
_system?: IElement;
/**
* @description Extension of value
*/
_value?: IElement;
toJson(): any;
toPrettyString(): string;
toString(): string;
validate(): {
isValid: boolean;
operationOutcome: import("fhirtypes/dist/r4").IOperationOutcome;
};
constructor(args?: IIdentifier);
protected builderInstance(): IdentifierBuilder;
serialize(): string;
}