UNPKG

@ahryman40k/ts-fhir-types

Version:

Typescript / Javascript object model for FHIR standard Model follows FHIR R4 specifications.

59 lines (58 loc) 1.95 kB
import * as t from 'io-ts'; import { IMeta } from './RTTI_Meta'; import { IElement } from './RTTI_Element'; import { INarrative } from './RTTI_Narrative'; import { IResourceList } from '../Union/RTTI_ResourceList'; import { IExtension } from './RTTI_Extension'; import { IIdentifier } from './RTTI_Identifier'; import { ICodeableConcept } from './RTTI_CodeableConcept'; import { IReference } from './RTTI_Reference'; import { IGoal_Target } from './RTTI_Goal_Target'; import { IAnnotation } from './RTTI_Annotation'; export declare enum GoalLifecycleStatusKind { _proposed = "proposed", _planned = "planned", _accepted = "accepted", _active = "active", _onHold = "on-hold", _completed = "completed", _cancelled = "cancelled", _enteredInError = "entered-in-error", _rejected = "rejected" } import { IDomainResource } from './IDomainResource'; export interface IGoal extends IDomainResource { resourceType: 'Goal'; description: ICodeableConcept; subject: IReference; id?: string; meta?: IMeta; implicitRules?: string; _implicitRules?: IElement; language?: string; _language?: IElement; text?: INarrative; contained?: IResourceList[]; extension?: IExtension[]; modifierExtension?: IExtension[]; identifier?: IIdentifier[]; lifecycleStatus?: GoalLifecycleStatusKind; _lifecycleStatus?: IElement; achievementStatus?: ICodeableConcept; category?: ICodeableConcept[]; priority?: ICodeableConcept; startDate?: string; _startDate?: IElement; startCodeableConcept?: ICodeableConcept; target?: IGoal_Target[]; statusDate?: string; _statusDate?: IElement; statusReason?: string; _statusReason?: IElement; expressedBy?: IReference; addresses?: IReference[]; note?: IAnnotation[]; outcomeCode?: ICodeableConcept[]; outcomeReference?: IReference[]; } export declare const RTTI_Goal: t.Type<IGoal>;