14
Integrating the organ and tissue allocation processes through an Agent-Mediated Electronic Institution Javier V´ azquez-Salceda , Ulises Cort´ es , Julian Padget Departament de Llenguatges i Sistemes Inform` atics. Universitat Polit` ecnica de Catalunya. c/ Jordi Girona 1-3. E08034 Barcelona, Spain. jvazquez,ia @lsi.upc.es Phone: 34 934017016 Fax: 34 934017014 Department of Computer Science. University of Bath. Bath, BA2 7AY. United Kingdom. [email protected] Phone 34 932919335 Fax 34 932919410 Abstract. In this paper we present a first approach to the formalization of Carrel, a virtual organization for the procurement of organs and tissues for transplanta- tion purposes, in order to model the allocation processes of organs and tissues in a integrated way. We show how it can be formalized with the ISLANDER for- malism. Also we present a first mechanism to federate the institution in several geographically-distributed platforms. Keywords: Electronic Institutions, Multi-agent systems, Transplants. 1 Introduction Organ transplantation from human donors is the only option available when there is a major damage or malfunction in an organ. At the time of writing, more than one million people in the world have successfully received an organ, and thereafter, in most cases, lead normal lives. Over the years, transplant techniques have evolved, knowledge of donor-recipient compatibility has improved and so have immunosuppressant drug regimes, leading to an increase in the number of organs that can be transplanted, but also in the range of trans- plants, moving beyond organs (heart, liver, lungs, kidney, pancreas) to tissues (bones, skin, corneas, tendons). However, the allocation process for tissues is quite different from that for organs, because of the time such pieces can be preserved outside the hu- man body. Tissues are clusters of quite homogeneous cells, so the optimal temperature for preservation of all the cells composing the tissue is almost the same. Thus, tissues can be preserved for several days (from six days in the case of corneas to years in the case of bones) in tissue banks. For tissues, the allocation process is triggered when there is a recipient with a need for a certain tissue, at which time some number of tissue banks are searched for a suitable one.

Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

Integrating the organand tissueallocation processesthr ough an Agent-MediatedElectronic Institution

Javier Vazquez-Salceda�

, UlisesCort es�

, Julian Padget�

�DepartamentdeLlenguatgesi SistemesInformatics.

UniversitatPolitecnicadeCatalunya.c/ JordiGirona1-3.E08034Barcelona,Spain.�

jvazquez,ia� @lsi.upc.esPhone:34934017016Fax:34934017014�

Departmentof ComputerScience.Universityof Bath.Bath,BA2 7AY. [email protected]

Phone34932919335Fax34932919410

Abstract. In thispaperwepresentafirst approachto theformalizationof Carrel,a virtual organizationfor theprocurementof organsandtissuesfor transplanta-tion purposes,in orderto modeltheallocationprocessesof organsandtissuesina integratedway. We show how it canbe formalizedwith the ISLANDER for-malism.Also we presenta first mechanismto federatethe institution in severalgeographically-distributedplatforms.

Keywords: ElectronicInstitutions,Multi-agentsystems,Transplants.

1 Intr oduction

Organtransplantationfrom humandonorsis theonly optionavailablewhenthereis amajordamageor malfunctionin anorgan.At thetimeof writing, morethanonemillionpeoplein theworld have successfullyreceivedanorgan,andthereafter, in mostcases,leadnormallives.

Over the years,transplanttechniqueshave evolved,knowledgeof donor-recipientcompatibilityhasimprovedandsohaveimmunosuppressantdrugregimes,leadingto anincreasein thenumberof organsthatcanbetransplanted,but alsoin therangeof trans-plants,moving beyondorgans(heart,liver, lungs,kidney, pancreas)to tissues(bones,skin, corneas,tendons).However, the allocationprocessfor tissuesis quite differentfrom that for organs,becauseof thetime suchpiecescanbepreservedoutsidethehu-manbody. Tissuesareclustersof quitehomogeneouscells,sotheoptimaltemperaturefor preservationof all thecellscomposingthe tissueis almostthesame.Thus,tissuescanbepreservedfor severaldays(from six daysin thecaseof corneasto yearsin thecaseof bones)in tissuebanks.For tissues,theallocationprocessis triggeredwhenthereis arecipientwith aneedfor acertaintissue,atwhichtimesomenumberof tissuebanksaresearchedfor a suitableone.

Page 2: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

Organs,on the otherhand,arevery complex structureswith several kinds of celltypeswith differentoptimal preservation temperatures.That fact leadsto quite shortpreservationtimes(hours),no needfor anorganbank,andanallocationprocessthatistriggeredwhena donorappears,taking theform of a searchfor a suitablerecipientinsomenumberof hospitals.

1.1 The casefor softwaresystemsfor organand tissuemanagement

Theincreasingrateof successof tissuetransplantsis leadingto anincreasein thenum-berof requests.This volumeis startingto overwhelmthehumancoordinatorsandfur-thermoreis leadingto tissueloss,becauseavailabletissuesarenot beingassigneddueto lackof time to processall requests.

In thecaseof organs,successfultransplantshave alsoled to anincreasein demandfor organsfor transplantationpurposes.However, thereis not an increasingvolumeofdonationsto matchthe demand.Much researchhasbeendoneto createpolicies fordonoridentification(to increasethe numberof availabledonors),organallocation(tofind a suitablerecipientfor eachorgan)and in extraction,preservation and implantprocedures(to increasethechancesof success).

Therelativescarcityof (organ)donorshasled to thecreationof internationalcoali-tions of transplantorganizations.This new, moregeographicallydistributed,environ-mentmakesanevenstrongercasefor theapplicationof distributedsoftwaresystemstosolve:

– thedataexchangeproblem:exchangeof informationis amajorissue,aseachof theactorscollectsdifferentinformationandstoresit in differentformats.Theobvious,andeasilystated,solutionis thedefinitionof standarddatainterchange.

– thecommunicationproblem:countriestypically usedifferentlanguagesandtermi-nologiesto tag thesameitemsor facts.Eithera standardnotationor a translationmechanismneedsto becreatedto avoid misunderstandings.

– thecoordinationissues:in orderto managerequestsat aninternationallevel, thereis the needto coordinategeographicallydistributedsurgery teams,andto coordi-natepiecedeliveryataninternationallevel.

– the variety of regulations:an additionalissueis the necessityto accommodateacomplex setof, in somecasesconflicting, nationaland internationalregulations,legislationandprotocolsgoverningtheexchangeof organs.Theseregulationsalsochangeover time,makingit essentialthatthesoftwareis adaptable.Thefirst two pointscanlargely beresolvedusingstandardsoftwaresolutions.For

instance,theEU projectsRETRANSPLANT, TECN have devotedmostof their effortto thecreationof a)standardformatsfor thestorageandexchangeof informationaboutpieces,donorsand recipientsamongorganizations,b) telematicnetworks, or c) dis-tributeddatabases.Anotherproject,ESCULAPE, usesconventionalsoftwareto helpinmatchingtissuehistocompatibility.

The third point (coordination)is harderto solve with conventionalsoftware. Asoundalternative is theuseof software agents, whereanAgent is a computerprogramcapableof taking its own decisionswith no externalcontrol (autonomy), basedon itsperceptionsof theenvironmentandtheobjectivesit aimsto reach[18]. It notonly reactsto theenvironment(reactivity) but alsoproactivelytakesinitiatives.Thesocialability

Page 3: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

of agentsallow themto grouptogether(in agencies) sharingcommonobjectivesanddividing thetasksto reachthoseobjectives.All theseattributessuggestthatmulti-agentsystemsarewell-suitedto solvecoordinationissues.

It is the last point (the variety of regulationschangingover time) which under-pins our casefor the useof so-calledelectronic institutions, whosepurposeis to pro-vide over-archingframeworks for agentinteraction,whereagentsmay reasonaboutthe norms[6, 2,3,5], in the sameway asphysicalinstitutionsandsocialnormsdo inthe realworld. Electronicinstitutionsandthenormsthatgovernthemarethekey to asystemthatis ableto adaptautomaticallyto changesin regulations.

In summary, ourproposaladdressall four issues,by theuseof multi-agenttechnol-ogy, not only for coordinationandregulationbut alsoservingasa languageinterfaceamongteamsusingdifferentterminology, andactively distributing the informationtobeshared.

2 An Institution for the distrib ution of organsand tissues

The Carrelinstitution is anagentplatformwhich hostsa groupof agents(an agency)responsiblefor theallocationof organsandtissues.In thecaseof tissues,theallocationprocesscomprises:1. Thetissuebankskeepingtheinstitutionupdatedabouttissueavailability2. The agency receiving requestsfrom the hospitalsfor tissues.For eachrequest

(broughtby an agentrepresentingthe hospital)the institution tries to allocatethebesttissueavailablefrom all thetissuebanksthatareknown.

In thecaseof organs,theprocesscomprises:1. Eachhospitalinforming the institution aboutpatientsthat have beenaddedto or

removedfrom thewaiting list of thathospital,or patientseitherto beaddedto orremovedfrom thenational-wideMaximumUrgency Level1 WaitingList.

2. Whenadonorappears,thehospitalinformstheinstitutionof all theorganssuitablefor donationin the form of offers sentto theorganallocationorganization,whichthenassignstheorgans.Figure1 depictsall theentitiesthatinteractwith theCarrelsystem.Therearea) the

hospitalsthat createthe tissuerequestsb) theTissueBanks,andc) thenationalorgantransplantationorganizations,that own the agentplatform andact as observers—thefigure shows the organizationsin Spain:the Organizacion Nacionalde Transplantes2

(ONT) [14] and the Organitzacio CATalanade Transplantaments3 (OCATT). In theproposedsystemall hospitals,even thoseowning a TissueBank, shouldmake theirrequestsfor tissuesor their organoffersthroughCarrelin orderto ensurea fair distri-bution of piecesandto easethetrackingof all piecesfrom extractionto implantation,astheONT andOCATT currentlyrequirefor organs.

2.1 Roleof the Carr el Institution

Therole of theCarrelInstitutioncanbesummarizedby thefollowing tasks:1 In SpaintheMaximumUrgency Level is calledUrgency-02 NationalTransplantOrganization3 CatalanTransplantOrganization

Page 4: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

Fig.1. Carrel:An AgentMediatedInstitutionfor TissuesAssignment

– to make surethat all the agentswhich enterinto the institution behave properly(thatis, thatthey follow thebehavioral norms).

– to be up to dateaboutall the available piecesin the TissueBanks,and all therecipientsthatareregisteredin thewaiting lists.

– to checkthat all hospitalsand tissuebanksfulfill all the requirementsneededtointeractwith Carrel.

– to take careof the fulfillment of the commitmentsundertaken inside the Carrelsystem.

– to coordinatethepiecedelivery from onefacility to another.– to registerall incidentsrelatingto a particularpiece.

2.2 The UCTx Agency

Theparticipationof hospitalsin Carrelis basedon thenotionof membership.That is,hospitalsbelongto theInstitutionandrespectthenegotiation(assignation)rules,andtheagentsthatrepresenttheminsideCarrelareunableto breaktheseconventions.A Hos-pital interactswith CarrelthroughtheTransplantCoordinationUnit Agency (UCTx). Aversionof theUCTx agentarchitecturethathandlestissuerequestscanbefoundin [4].

Adaptingthe UCTx agency in orderto assistnot only in the tissueallocationpro-cessbut also in the organallocationprocessis not difficult. In the caseof tissues,itis surgeonswho areresponsiblefor creatingthetissuerequeststhroughtheir SurgeonAgent [4]. In contrast,for organsit is theHospitalTransplantCoordinator who is re-sponsiblefor issuingorganoffers to the institution or answeringa call for recipients.So the architecturepresentedin [4] doesnot needto be modifiedbut insteadjust thefunctionalityof theCoordinator Agent is extended.

Page 5: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

3 Formalizing the Carr el institution

To give a formal descriptionof the interactionamongagentsin the Carrelsystemwewill follow the ISLANDER formalism[7]. It views an agent-basedelectronicinstitu-tion asa type of dialogical systemwhereall the interactionsinsidethe institution area compositionof multiple dialogic activities (messageexchanges).Theseinteractions(calledillocutions [13]) arestructuredthroughagentgroupmeetingscalledscenesthatfollow well-definedprotocols.

3.1 The performativestructur e

Theconnectedgraphof scenesconstitutestheperformativestructure. It is anetwork ofscenesthatdefinesthepossiblepathsfor eachagentrole.In accordancewith its role,anagentmayor maynot bepermittedto follow aparticularpaththroughtheperformativestructure,andultimately, mayberequiredto leave theinstitution.

In thecaseof theCarrelinstitution,thesetof scenesto modeltheorganandtissueallocationprocessesis:

– ReceptionRoom: is thescenewhereall externalagentsshouldidentify themselvesin orderto be assignedthe rolesthey areauthorizedto play. If theseagentscarryeithera requestfor oneor moretissuesor anoffer of oneor moreorgans,thenthisinformationis checkedto makesurethatit is well-formed.

– ConsultationRoom: is the scenewherethe institution is updatedaboutany eventor incidentrelatedto a piece.Agentscomingfrom tissuebanksshouldupdatetheinstitutionabouttissueavailability, while agentscomingfrom hospitalsshouldup-datetheinstitutionaboutthewaiting lists andalsoinform it aboutthereceptionofall pieces(organsor tissues)they have received, the transplantoperationandtheconditionof recipients.

– Exchange Room: is the scenewhereassignationof piecestakesplace.Therearespecificexchangeroomsfor tissuerequests(TissueExchangeRoom) andfor organoffers(OrganExchangeRoom).

– ConfirmationRoom: is the scenewherethe provisionalassignmentsmadein oneof theexchangeroomsareconfirmed,whereaftera deliveryplanis constructed,orcancelled,becauseanew requestof higherpriority hasarrived.A key elementof the ISLANDER formalismis thedefinitionof agentroles. Each

agentcan be associatedto one or more roles, and theseroles determinethe scenesan agentcanenterandthe protocolsit shouldfollow (the sceneprotocolsaredefinedasmulti-role conversationalpatterns).Therearetwo kindsof roles:the external roles(rolesfor incomingagents)andtheinstitutionalroles(rolesfor agentsthatcarryout themanagementof theinstitution).Theexternalrolesarethefollowing:HospitalFinder Agent(hf): agentssentby hospitalswith tissuerequestsor organof-

fersthatareseenfrom thepointof view of theinstitutionasrequestsfor findinganacceptabletissueor recipient,respectively.

HospitalContactAgent(hc): agentsfrom a certainhospitalthatarecontactedby theinstitution whenan organhasappearedfor a recipienton the waiting list of thathospital.Theagentthenenterstheinstitutionto accepttheorganandto receivethedeliveryplan.

Page 6: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

ConsultationRoom

ENTERReception

RoomEXIT

OrganExchange

Room

TissueExchange

Room

ConfirmationRoom

[y:hf,z:hi,w:hc,v:tb]�[x:rrm] �

[x:cfrm] �

[x:crm] �

[x:trm] �[x:orm] �

[y:hf] � �

[y:hf,z:hc] � ���[y

:hi,z

:tb]

� � ���

[y:hf] �[y:hf,z:ho] �

[y:hf] �

[y:hf] �

[y:hi,z:tb]

[y:hf

]�[y:hf,z:hc]�

Fig.2. TheCarrelInstitutionperformative structure

Hospital Inf ormation Agent(hi): agentssentby hospitalsto keepthe Carrelsystemupdatedaboutany eventrelatedto apieceor thestateof thewaiting lists.They canalsoperformquerieson theCarreldatabasethroughtheDB Agent (see� 3.2).

Tissuebank notifier (tb): agentssentby tissuebanksin orderto updateCarrelabouttissueavailability.

Theinstitutionalrolesconsistof oneagentto manageeachsceneandoneagenttocoordinateall thescenerelationships:

Institution Manager(im): agentcoordinatingall thescenemanagers.ReceptionRoomManager(rrm): managerof theReceptionRoomscene.TissueExchangeRoomManager(trm): managerof aTissueExchangeRoomscene.OrganExchangeRoomManager(orm): managerof aOrganExchangeRoomscene.ConfirmationRoomManager(cfrm): managerof theConfirmationRoomscene.ConsultationRoomManager(crm): managerof theConsultationRoomscene.

With all the scenesand roles identified in the previous section,the performativestructurecanbedrawn, asdepictedin figure2. Nodesarethesceneslistedabove plusenter andexit nodeswhich definethe begin andendpointsof the diagram.Arcs arelabelledwith tagsvariable:role, wherevariable is an agent� and role is one amongthe identifiedCarrel’s roles.The diagramin figure 2 shows, for instance,that scene’smanagersgodirectlyfrom theenterpointto thescenethey shouldmanage(the � meansthat they arethe onescreatingthe scene),while all the externalagentsmustproceed

Page 7: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

throughtheReceptionRoomscenein orderto beregisteredandthenbedirectedto thepropersceneaccordingto their roles.

a� a� w �

w � a� a� w �

w a a! w !

a" a# w #1

2

3a

3b

3c

3d 4a

4b

5(ok)

5(faulty-void)

6

6

7a

7b

8 9(ok)

9(faulty-void)

Fig.3. Theconversationgraphfor theReceptionroom

Authentication of external agents As explainedabove, in the ReceptionRoomex-ternalagentsenterandareregisteredinsidethe platform. In this room an authentica-tion mechanismbasedin electroniccertificatesensuresthatexternalagentscomeonlyfrom authorizedorganizations(which previously received the electroniccertificatetobe used).Oncethe senderhasbeenidentifiedandauthorized,the externalagentsarethendirectedto theproperroomaccordingto their roles.

Theprotocolof this scenecanbeseenin figure3: anagent$ requestsfor admission(1) andmaybeaccepted(messages3a,3b,3c,3d)or refused(message2, exit state%'& ).Accordingto therole of theincomingagent$ :

– it is headedto theConsultationRoom(exit state%)( ),– if it bringsa requestfrom a hospital,the requestis checked (messages4 and5).

Thenagent$ waitsuntil theappropriateExchange Roomis availablefor theassig-nation(messages6 and7afor tissues,6 and7b for organs).

– if it wascalledby theinstitutionto receiveanorganoffer, theinformationit bringsabouttherecipientis checkedand,if all is correct,it is thendirectedto theOrganExchangeRoomthatsentthecall.Thecontentof themessagesthatappearin thisconversationgraphandthefollowing

onesarespecifiedin [17].

Registeringthe recipientsand theavailablepiecesIn ordertomanagetheassignationof organsandtissues,the Carrelinstitution needsup to dateinformationon a) all theavailabletissuesfor transplantation,b) thestateof hospitalswaiting list for eachkindof organ,andc) thewhereaboutsaboutall piecesthathavebeenassignedby Carrel.

Page 8: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

a* a+

a, - w ,

1413121110

15

1617 18

Fig.4. Conversationgraphfor theConsultationroom

The ConsultationRoomallows agentscoming from hospitalsor tissuebankstokeepCarrelupdatedaboutall the factsmentionedabove.Theprotocolof this sceneisshown in figure4. Theincomingagentscanperformnotifications(messages10 to 14)andareinformedif thenotificationis successful(message15).Theagentscomingfromhospitals—whichrepresenttheHospitalTransplantCoordinator[4]—canalsoperformqueries(message16) abouthistorical facts(e.g. statisticson, say, successfulcorneatransplantationsover a certainperiod).The queriesare answered(message17) withthe level of detail that is permittedfor a certainrole, asall accessto the databaseiscontrolledthrougha Role-BasedAccessModel [10]. Whenthe incomingagentshaveperformedall thequeriesandnotifications,they exit theCarrelsystem(message18).

a./. a. 0 a. 1 w .

w 2 w 0

a. 2 a. 3 a. 4 a. 5

19

20

21

22

22

23

2425

26

20

27

27 26

Fig.5. Theconversationgraphfor theOrganExchangeroom

Allocating organs For organassignment,anew scene,theOrganExchangeRoomhasbeenadded.Theprotocolof thisscene,depictedin figure5, canbedividedin two parts:

– thearrival of anAgent6 (hospitalFinderAgent) with anoffer of anavailableorgan(states798:8 and 798<; ), waitingfor anotificationthataproperrecipienthasbeenfound

Page 9: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

(message22, exit state=?> ) or not (message27 leadingto anexit requestthroughstate='@ ).

– the loop of thescenemanagerlooking for recipients.Basedon the informationofthe waiting lists storedin Carrel’s database,the scenemanagersendsa call to ahospital(message20)wherethereis a suitablerecipient.ThenanAgentA (hospitalContactAgent) entersthe sceneto answerthe call, sayingwhetherit acceptstheorganor not (message20).SometimesAgentA , representingthehospitalTransplantCoordinator, expressesthe intentionto usetheorganin a differentrecipient(mes-sage23),a changethat,dependingon thereasonsgiven,caneitherbeacceptedorrejected(messages24and25).If thescenemanagerandAgentA agree,thenAgentBis notified of the recipient,otherwiseAgentA exits the sceneand the loop startsagainwith acall to anotherhospitalfor anotherrecipient.Thesearchandassignmentprocessesby thescenemanageraredrivenby knowledge

of donor-recipientcompatibilitythatis codedin theform of rulessuchasthefollowingonesfor kidneys:

1- (age_donor <= 1)-> (age_recipient < 2)

2- (age_donor > 1) AND (age_donor < 4)-> (age_recipient < 4)

3- (age_donor >= 4) AND (age_donor < 12)-> (age_recipient > 4) AND (age_recipient < 60)

4- (age_donor >= 12) AND (age_donor < 60)-> (age_recipient >= 12) AND (age_recipient < 60)

5- (age_donor >= 60) AND (age_donor < 74) AND (creatinine_clearance > 55 ml/min)-> (age_recipient >= 60) AND (transplant_type SINGLE-KIDNEY)

6- (age_donor >= 60) AND (age_donor < 74) AND (glomerulosclerosis <= 15%)-> (age_recipient >= 60) AND (transplant_type SINGLE-KIDNEY)

7- (age_donor >= 60) AND (glomerulosclerosis > 15%) AND (glomerulosclerosis <= 30%)-> (age_recipient >= 60) AND (transplant_type DUAL-KIDNEY)

8- (weight_donor = X)-> (weight_recipient > X*0.8) AND (weight_recipient < X*1.2)

9- (disease_donor Hepatitis_B)-> (disease_recipient Hepatitis_B)

10-(disease_donor Hepatitis_C)-> (disease_recipient Hepatitis_C)

11-(disease_donor VIH)-> (DISCARD-DONOR)

12-(glomerulosclerosis > 30%)-> (DISCARD-KIDNEY)

13- (HLA_compatibility_factors < 3)-> (DONOR-RECIPIENT-INCOMPATIBILITY)

Rules1 to 8 arerelatedto sizecompatibility, eitherconsideringageranges(rules1to 7) or weightdifferences,herethecriterionpermitsa 20%variationabove or below.Rules5 to7 considerqualityof thekidney andassessnotonly thelimit thatis acceptable

Page 10: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

but alsothetransplanttechniqueto beused(to transplantoneor bothkidneys).Rules9to 10 areexamplesof diseasesin thedonorthatdo not leadto discardingtheorganfortransplantation,if a properrecipientis found (in theexample,a recipientthathashadalsothesamekind of hepatitisB or C in thepast).Finally, rules11 to 13 areexamplesof rejectionrules,asdeterminedby currentmedicalknowledge.

It is importantthat suchpolicies not be hard-codedin the system,as suchrulesevolve with practice(for instance,someyearsagodonorswith any kind of Hepatitiswere discarded).Expressingthe knowledgein the form of rules is a techniquethatallows thesystemto beadaptableto futurechangesin medicalpractice.

aC D aC E aFHG aFIC

aFHF w C w F

28 29(offers) 30

3129(nil-void)

32

Fig.6. Theconversationgraphfor theTissueExchangeroom

Allocating tissues TheTissueExchangeRoomis theplacewherenegotiationover tis-suesis performed.The protocol of this sceneis shown in figure 6: AgentJ (hospitalFinder Agent) asksthe scenemanagerfor tissueoffers (tissuesmatchingthe require-mentsincludedin theirpetition).Thenthescenemanagergivesalist of availabletissues(message29) that is evaluatedby theexternalagentJ (message30).With this informa-tion the scenemanagercanmake a provisional assignmentandsolve collisions(twoagentsinterestedin the sametissue).When this provisional assignmentis delivered(message31) thenagentJ exits the sceneto go to the ConfirmationRoomrepresentedby stateK)L . Thereis analternativepathfor thecasewhenthereareno availablepiecesmatchingthe requirementsdescribedin the petition (message9 with null list). In thiscaseagentJ requestsanexit permissionfrom theinstitution(message32,exit stateK'M ),includingthereasonfor leaving. Thereasonprovidedis recordedin theinstitutionlogsto form anaudittrail for therelevantauthoritiesto inspect.For furtherinformationaboutthis negotiationprocesssee[16].

Confirming the assignation In theConfirmationRoomscene,theprovisionalassign-mentsmadein a TissueExchange Roomor an OrganExchange Roomareeithercon-firmedor withdrawn. Figure7 shows theprotocolof this scene:theagentJ cananalyzetheassignedpiecedataandthenacceptor refuseit (message33). If theagentJ acceptsthepieceandno higher-priority requestsappearduringa certaintime window thentheprovisionalassignmentis confirmedandadeliveryplanis givento theagentJ (message34), andthenit exits the Carrelsystem(exit stateK)L ). Whenthereis a requestwithhigherpriority thatneedsthepieceprovisionallyassignedto agentJ aconflictarises.Toresolve theconflict thescenemanagernotifiestheagentJ that theassignmenthasbeen

Page 11: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

aNPO aNRQ w N

aNPS w O

aNPN w T

33(accept) 34

35 35

33(refused)

32

36

Fig.7. Conversationgraphfor theConfirmationroom

withdrawn (message35)andthatheis thenentitledto afreshrequestfor anotherpiece,if available,(message36) to benegotiatedagainin theExchangeRoomwhenceit came.

3.2 The Multi-agent architecture

Theagentarchitecturethatperformstheinstitutionalrolesis shown in figure8.Thereisoneagentmanagingeachof thescenes:theRR Agent managingtheReceptionRoom,the CR Agent managingthe ConsultationRoom, an ER Agent for eachExchangeRoom(eithertheonesfor organsor theonesfor tissues),anda CfR Agent managingtheConfirmationRoom. Also thereis anagent(the IM Agent) playing the institutionmanager role.

In orderto assistthoseagents,two agentsareaddedfor specifictasks:thePlannerAgent, to build the delivery plansthat areneededin the ConfirmationRoom, andtheDB Agent, which is devotedto therole-basedaccesscontrolof theinternalDatabase.

4 A network of Carr el institutions

In theprevioussectionstheCarrelsystemhasbeendescribedasaninstitutionthatworksalone,managingall therequestsandofferscomingfrom thehospitals.However a dis-tributedsystemis neededin orderto managetheallocationproblemat aninternationallevel (oneof theaimsof ourscheme).

To do so, we proposeto createa federationof geographically-distributedCarrelplatforms.HospitalsandTissuebanksregisterthemselvesto the“nearest”platformandinteractasdescribedin previoussections.

As a result,thesearchprocessis distributedthroughtheplatforms,exchangingin-formationamongthemselvesvia theirDB Agents. Theprocessis thefollowing:

– The DB Agent of a certainplatformU receivesa query, eitherfrom an Organ Ex-changeRoom, aTissueExchangeRoomor theConsultationRoom

– It accessesthelocaldatabase.– If the informationis not availablelocally, thenit sendspart of the queryto other

DB Agents in otherCarrelPlatforms.

Page 12: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

Fig.8. Themulti-agentarchitectureof a Carrelplatform

– All the diferencesin terminologyare solved at this point by the useof domainontologiessharedby all the platformsthatdefinea commonexchangeformat fortheinformation.All Carrelplatformsareawareof theexistenceof theotherplatforms.Thecommu-

nicationamongagentson differentplatformsis acheivedby themechanismdefinedintheFIPA specificationfor communicationamongAgentplatforms[8].

5 Conclusion

WehavepresentedhereanAgent-MediatedElectronicInstitutionfor thedistributionoforgansandtissuesfor transplantationpurposes.Our aim with this work is not only toapplymulti-agenttechnologiesto modeltheorganandtissueallocationproblembut wealsohave devotedpartof our efforts in formalization,following the recommendationsin [9] aboutthe needof formal designmethodswhenapplyingagentsto the medicaldomainin orderto ensurethesafetyandsoundnessof theresultingsystem.In our casewehavechosenaformalismcalledISLANDER [7], basedon thedialogicalframeworkidea,to getanaccuratedescriptionof the interactionsamongtheagents.By meansofsuchformalismwe have beenableto designa systemthat combinesthe strengthsofagentswith theadventagesof formal specifications.

As far as we know, thereare very few referencesin the literatureaboutthe useof agentsin the transplantdomain.[15] and[12] describesingleagentsto solve spe-

Page 13: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

cific tasksneededfor thisdomain(respectively, a receiverselectionalgorithmbasedonmulti-criteriadecisiontechniquesanda plannerfor transportroutesbetweenhospitalsfor organdelivery). [11] proposesa multi-agentsystemarchitectureto coordinateallthe hospitalmembersinvolved in a transplant.[1] alsoproposesa statichierarchicalagentarchitecturefor theorganallocationproblem,but no formalismis usedin thede-velopmentof thearchitecture,andno mechanismis presentedto make thearchitectureadaptive to changesin policiesor regulations.For anextendeddiscussionsee[16].

Futurework aimsto extendthemethodologyto introduceexplicit representationsofnormsto allow agentsto reasonaboutthenorms.Theagentswill beableto makebetterchoicesin specialcircumstances.We will follow Dignum’s work in [6], incorporatingthe abstractnormsandvaluesof real organizations’statutesandformally connectingthemwith their implementationin theelectronicinstitution’sproceduresandprotocols.In doing so we will get a full descriptionof an institution, from the abstract(higher)level to theimplementation(lower)one.

Acknowledgements

U. Cortes,andJ. Vazquez-Salcedawant to acknowledgetheIST-2000-28385Agentc-ities.NETandthe IST-1999-10176A-TEAM projects.Theviews in this paperarenotnecessarilythoseof Agentcities.NETandA-TEAM consortia.

References

1. A. Aldea,B. Lopez,A. Moreno,D. Riano, andA. Valls. A multi-agentsystemfor organtransplantco-ordination. In BarahonaQuaglini andAndreassen(Eds.),editors,Proceed-ingsof the8th.EuropeanConferenceonArtificial Intelligencein Medicine, Portugal,2001.,LectureNotesin Artificial Intelligence2101:Artificial Intelligencein Medicine,pages413–416.,2001.

2. C.Castelfranchi,F. Dignum,C.Jonker, andJ.Treur. Deliberatenormativeagents:Principlesandarchitecture,1999.

3. R. ConteandC. Castelfranchi.Are incentivesgoodenoughto achieve(info)socialorder?In V. Shankararaman,editor, Workshopon Normsand Institutionsin Multi-Agent Systems.ACM-AAAI, ACM Press,2000.

4. U. Cortes,J. Vazquez-Salceda,A. Lopez-Navidad,andF. Caballero.UCTx: A multi-agentsystemto assista transplantcoordinatorunit. AppliedIntelligence. Accepted, 2002.

5. C. DellarocasandM. Klein. ContractualAgent Societies:Negotiatedsharedcontext andsocialcontrolin openmulti-agentsystems.In V. Shankararaman,editor, WorkshoponNormsandInstitutionsin Multi-AgentSystems, pages1–11,2000.

6. F. Dignum. Abstractnormsandelectronicinstitutions. In Proceedingsof the InternationalWorkshopon RegulatedAgent-BasedSocial Systems:Theoriesand Applications(RASTA’02), Bologna, 2002.

7. Marc Esteva, JulianPadget,andCarlesSierra. Formalizinga languagefor institutionsandnorms. In Milinde TambeandJean-JulesMeyer, editors,Intelligent AgentsVIII , LectureNotesin Artificial Intelligence.SpringerVerlag,2001.To appear.

8. TheFoundationfor IntelligentPhisicalAgents,http://www.fipa.org/repository/fipa2000.html.FIPA Specifications, 2000.

9. J.Fox andS.Das.SafeandSound. MIT Press,1V�W edition,1999.

Page 14: Integrating the organ and tissue allocation processes through an …jvazquez/docs/Carrel-CCIA.pdf · 2002. 7. 19. · Integrating the organ and tissue allocation processes through

10. A. Lin. Integratingpolicy-driven role-basedaccesscontrol with commondatasecutiryar-chitecture.TechnicalReportHPL-1999-59,HPLaboratoriesBristol, 1999.

11. A. Moreno,A. Valls,andJ.Bocio.Managementof hospitalteamsfor organtransplantsusingmulti-agentsystems.In BarahonaQuagliniandAndreassen(Eds.),editors,Proceedingsofthe8th.EuropeanConferenceonArtificial Intelligencein Medicine, Portugal,2001, LectureNotesin Artificial Intelligence2101: Artificial Intelligencein Medicine,pages374–383,2001.

12. A. Moreno,A. Valls,andA. Ribes.Findingefficientorgantransportroutesusingmulti-agentsystems.In IEEE 3rd InternationalWorkshopon EnterpriseNetworkingandComputinginHealthCare Industry(Healtcom),L’Aquilla, Italy, 2001.

13. P. Noriega. Agent-MediatedAuctions:TheFishmarket Metaphor. Number8 in IIIA Mono-graphSeries.Institutd’Investigacio enIntel.ligenciaArtificial (IIIA), 1997.PhDThesis.

14. OrganizacionNacionaldeTransplantes.http://www.msc.es/ont.15. A. Valls, A. Moreno,andD. Sanchez. A multi-criteria decisionaid agentappliedto the

selectionof thebestreceiver in a transplant.In 4th. InternationalConferenceon EnterpriseInformationSystems,CiudadReal,Spain, 2002.

16. J. Vazquez-Salceda,U. Cortes,andJ. Padget. Formalizinganelectronicinstitution for thedistributionof humantissues.In Artificial Intelligencein Medicine. Accepted,2002.

17. J. Vazquez-Salceda,U. Cortes,J. Padget,A. Lopez-Navidad,andF. Caballero. Extendingthecarrelsystemto mediatein theorganandtissueallocationprocesses:A first approach.TechnicalReportLSI-02-32-R,DepartamentdeLlenguatgesi SistemesInformatics,2002.

18. M. WooldrigeandN.R. Jennings.Intelligentagents:Theoryandpractice. TheKnowledgeEngineeringReview, 10(2):115–152,1995.