import { type OpenmrsResource } from '@openmrs/esm-api'; export interface Location { uuid: string; display?: string; name?: string; } export interface VisitType { uuid: string; display: string; name?: string; } export interface Patient { uuid: string; display: string; identifiers: Array; person: Person; } export interface Person { age: number; attributes: Array; birthDate: string; gender: string; display: string; preferredAddress: OpenmrsResource; uuid: string; } export interface Attribute { attributeType: OpenmrsResource; display: string; uuid: string; value: string | number; } export interface CohortMemberResponse { results: Array; } interface CohortMember { uuid: string; patient: OpenmrsResource; cohort: Cohort; } interface Cohort { uuid: string; name: string; startDate: string; endDate: string | null; }