/
ASSOCIATE OBJECT

ASSOCIATE OBJECT

An ASSOCIATE is used to represent a relationship of one person (parent) with another person (child). The relationship always define a relation in which the roles played by the interveners are:

  • Parent: acts as a 'caregiver' (doctor, social volunteer...). So, the parent "cares for" the child
  • Child: acts as a patient. So, the child is being "cared by" the parent

For example, if "Mary" is a woman that is caring for her uncle "John", then "Mary" is an associate of "John".

This "associate" relationship must be agreed by both parts. When a person wants to "care for" or be "cared by" another person, a request is sent from the first to the second so that the second person accepts (or rejects) the request.

Note: there could exist a kinship between the parent and the child (in the previous example John is grandfather of Mary) but this relationship is not stored as part of the ASSOCIATE object because it is considered personal data and it is stored separately.

PROPERTIES

PROPERTYNAMETYPEDESCRIPTION
#ASSOCIATE.PARENTparentuserIdReference to the USER who represents the associate that is caring for another person (a caregiver)
#ASSOCIATE.CHILDchildcaseIdReference to the CASE (patient) that is being cared by another person
#ASSOCIATE.STATUSstatusASSOCIATE_STATUSIndicates the status of the association
#ASSOCIATE.PERMISSIONSpermissionsCODE ListIs a set of permission that determine which information of the CHILD (CASE) is accessible by the PARENT (caregiver). The possible permissions are defined in PERMISSION CODES

ASSOCIATE STATUS

This values are used to reflect the status of an association between two persons

STATUS CODEDESCRIPTION
PARENT_REQUESTThe PARENT has sent a request to its CHILD but there is no agreement yet. A confirmation from the CHILD is necessary to establish the relationship
CHILD_REQUESTThe CHILD has sent a request to its PARENT but there is no agreement yet. A confirmation from the PARENT is necessary to establish the relationship
ACCEPTEDThe association between PARENT and CHILD ASSOCIATE has been agreed
REJECTEDThe association between PARENT and CHILD ASSOCIATE has been rejected. This status is transitory, and after a predefined amount of time the association will be deleted

Related content