/** * iCure Data Stack API Documentation * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2. * * OpenAPI spec version: v1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ /** * A relationship between this patient and another person. */ export declare class Partnership { constructor(json: JSON | any); /** * Type of relationship. */ type?: Partnership.TypeEnum; /** * Status of the relationship. */ status?: Partnership.StatusEnum; /** * UUID of the contact person or patient in this relationship. */ partnerId?: string; /** * The type of entity `partnerId` refers to. When undefined the partner is either a patient or a healthcare party (legacy behavior, the client * has to resolve the ambiguity). Use `relatedPerson` to refer to a {@link RelatedPerson}. */ partnerType?: Partnership.PartnerTypeEnum; meToOtherRelationshipDescription?: string; otherToMeRelationshipDescription?: string; } export declare namespace Partnership { type TypeEnum = 'primary_contact' | 'primary_contact_for' | 'family' | 'friend' | 'counselor' | 'contact' | 'brother' | 'brotherinlaw' | 'child' | 'daughter' | 'employer' | 'father' | 'grandchild' | 'grandparent' | 'husband' | 'lawyer' | 'mother' | 'neighbour' | 'notary' | 'partner' | 'sister' | 'sisterinlaw' | 'son' | 'spouse' | 'stepdaughter' | 'stepfather' | 'stepmother' | 'stepson' | 'tutor' | 'cohabiting' | 'registered_partner' | 'next_of_kin' | 'federal_agency' | 'insurance_company' | 'state_agency' | 'unknown' | 'seealso' | 'refer'; const TypeEnum: { PrimaryContact: TypeEnum; PrimaryContactFor: TypeEnum; Family: TypeEnum; Friend: TypeEnum; Counselor: TypeEnum; Contact: TypeEnum; Brother: TypeEnum; Brotherinlaw: TypeEnum; Child: TypeEnum; Daughter: TypeEnum; Employer: TypeEnum; Father: TypeEnum; Grandchild: TypeEnum; Grandparent: TypeEnum; Husband: TypeEnum; Lawyer: TypeEnum; Mother: TypeEnum; Neighbour: TypeEnum; Notary: TypeEnum; Partner: TypeEnum; Sister: TypeEnum; Sisterinlaw: TypeEnum; Son: TypeEnum; Spouse: TypeEnum; Stepdaughter: TypeEnum; Stepfather: TypeEnum; Stepmother: TypeEnum; Stepson: TypeEnum; Tutor: TypeEnum; Cohabiting: TypeEnum; RegisteredPartner: TypeEnum; NextOfKin: TypeEnum; FederalAgency: TypeEnum; InsuranceCompany: TypeEnum; StateAgency: TypeEnum; Unknown: TypeEnum; Seealso: TypeEnum; Refer: TypeEnum; }; type PartnerTypeEnum = 'patient' | 'healthcareParty' | 'relatedPerson'; const PartnerTypeEnum: { Patient: PartnerTypeEnum; HealthcareParty: PartnerTypeEnum; RelatedPerson: PartnerTypeEnum; }; type StatusEnum = 'active' | 'complicated' | 'past'; const StatusEnum: { Active: StatusEnum; Complicated: StatusEnum; Past: StatusEnum; }; }