LIBRARY OBJECTS

LIBRARY OBJECTS

Formal definition of objects of a care plan that will be used as templates to create https://linkcare.atlassian.net/wiki/spaces/WS/pages/524496.

From a developer point of view, a library object can be understood as the formal definition of a Class, and a https://linkcare.atlassian.net/wiki/spaces/WS/pages/524496 is merely an instance of one of the library objects.

OBJECT HIERARCHY

Relation with CLINICAL OBJECTS

As mentioned before, a PROGRAM is only a template that is later materialized in a clinical object.

The following table shows the correspondence between library objects and clinical object.

Library Object

Clinical Object

Comments

Library Object

Clinical Object

Comments

https://linkcare.atlassian.net/wiki/spaces/WS/pages/4260259

https://linkcare.atlassian.net/wiki/spaces/WS/pages/21200903

A https://linkcare.atlassian.net/wiki/spaces/WS/pages/21200903 defines:

A PROFESSIONAL that is member of a SUBSCRIPTION can enroll patients to execute the PROGRAM.

https://linkcare.atlassian.net/wiki/spaces/WS/pages/20545668

An ADMISSION is the enrollment of a patient in a SUBSCRIPTION

https://linkcare.atlassian.net/wiki/spaces/WS/pages/20545605



A https://linkcare.atlassian.net/wiki/spaces/WS/pages/20545605 has no direct relation to any clinical object.

When an https://linkcare.atlassian.net/wiki/spaces/WS/pages/20545668 is created, it is assigned to a specific PROTOCOL.

https://linkcare.atlassian.net/wiki/spaces/WS/pages/4260264

https://linkcare.atlassian.net/wiki/spaces/WS/pages/20545620

The combination of a WORKPLAN and a TASK TEMPLATE is materialized in a https://linkcare.atlassian.net/wiki/spaces/WS/pages/20545620 that is assigned to some patient, professional, team or role, and with a specific schedule. A https://linkcare.atlassian.net/wiki/spaces/WS/pages/20545620 can be considered as a copy generated from a https://linkcare.atlassian.net/wiki/spaces/WS/pages/27263072 and enriched with extended properties obtained from the associated https://linkcare.atlassian.net/wiki/spaces/WS/pages/4260264.

For example consider a https://linkcare.atlassian.net/wiki/spaces/WS/pages/4260264 that contains a https://linkcare.atlassian.net/wiki/spaces/WS/pages/27263072 and the https://linkcare.atlassian.net/wiki/spaces/WS/pages/4260264 states that it should be executed 2 days after the enrollment of the patient by any professional of a particular TEAM with role "Case manager". The https://linkcare.atlassian.net/wiki/spaces/WS/pages/4260264 also states that the https://linkcare.atlassian.net/wiki/spaces/WS/pages/20545620 should be executed periodically each week

In this example, a https://linkcare.atlassian.net/wiki/spaces/WS/pages/20545620 would be generated at the 2nd day after the enrollment. That https://linkcare.atlassian.net/wiki/spaces/WS/pages/20545620 will be a copy of the https://linkcare.atlassian.net/wiki/spaces/WS/pages/27263072 (with all its child https://linkcare.atlassian.net/wiki/spaces/WS/pages/4260257 and https://linkcare.atlassian.net/wiki/spaces/WS/pages/37486691) and will also have additional properties indicating the assigned TEAM/ROLE, and the scheduled date, and also information to indicate that after https://linkcare.atlassian.net/wiki/spaces/WS/pages/20545620 is finished it should be re-scheduled for the next week.

https://linkcare.atlassian.net/wiki/spaces/WS/pages/27263072

https://linkcare.atlassian.net/wiki/spaces/WS/pages/4260257

https://linkcare.atlassian.net/wiki/spaces/WS/pages/39125054

https://linkcare.atlassian.net/wiki/spaces/WS/pages/39125054 is generated as a copy of a https://linkcare.atlassian.net/wiki/spaces/WS/pages/4260257. Each https://linkcare.atlassian.net/wiki/spaces/WS/pages/39125054 belongs to a specific https://linkcare.atlassian.net/wiki/spaces/WS/pages/20545620

https://linkcare.atlassian.net/wiki/spaces/WS/pages/37486691

https://linkcare.atlassian.net/wiki/spaces/WS/pages/39125088

https://linkcare.atlassian.net/wiki/spaces/WS/pages/39125088 is a copy of a https://linkcare.atlassian.net/wiki/spaces/WS/pages/37486691  that becomes part of a specific https://linkcare.atlassian.net/wiki/spaces/WS/pages/20545620

https://linkcare.atlassian.net/wiki/spaces/WS/pages/579829764

https://linkcare.atlassian.net/wiki/spaces/WS/pages/321191985

As explained before, a https://linkcare.atlassian.net/wiki/spaces/WS/pages/39125054 is created from as a copy of a https://linkcare.atlassian.net/wiki/spaces/WS/pages/4260257 which is composed also by a list of https://linkcare.atlassian.net/wiki/spaces/WS/pages/579829764

When a https://linkcare.atlassian.net/wiki/spaces/WS/pages/39125054 is created, a copy of all the https://linkcare.atlassian.net/wiki/spaces/WS/pages/579829764 that compose the corresponding https://linkcare.atlassian.net/wiki/spaces/WS/pages/4260257 are also copied and inserted in the new https://linkcare.atlassian.net/wiki/spaces/WS/pages/39125054.

Therefore, each https://linkcare.atlassian.net/wiki/spaces/WS/pages/321191985 is generated as a copy of an https://linkcare.atlassian.net/wiki/spaces/WS/pages/579829764