<?xml version="1.0" encoding="UTF-8"?>
<!-- 
Software R&D Center (SRDC), Middle East Technical University (METU), 
Ankara, Turkey

Author: METU SRDC Team
email: asuman@srdc.metu.edu.tr, ...
-->

<ProcessSpecification 
	xmlns:xi="http://www.w3.org/2001/XInclude" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	nameID="IHE-XDS-ATNA" 
	uuid="urn:metu-srdc:names:specification:ihexdsatnaprocess:schema" 
	name="IHE-XDS-ATNA">

	<!--  xincludes to be used where supported by software -->
	<xi:include href="../signals/ebBP-Example-Signals.xml"  parse="xml" 
		xpointer="element(/1/1)"/>
	<xi:include href="../businessCollaborations/IHE-IndividualBC-IHE-ITI-14-25052006-v1.xml"  parse="xml"
		xpointer="element(/1/2)"/>
	<xi:include href="../businessCollaborations/IHE-IndividualBC-IHE-ITI-15-25052006-v1.xml"  parse="xml"
		xpointer="element(/1/2)"/>
	<xi:include href="../businessCollaborations/IHE-IndividualBC-IHE-ITI-16-25052006-v1.xml"  parse="xml"
		xpointer="element(/1/2)"/>
	<xi:include href="../businessCollaborations/IHE-IndividualBC-IHE-ITI-17-25052006-v1.xml"  parse="xml"
		xpointer="element(/1/2)"/>
	<xi:include href="../businessCollaborations/IHE-IndividualBC-XDS-IHE-ITI-8-25052006-v1.xml"  parse="xml"
		xpointer="element(/1/2)"/>
	<xi:include href="../businessCollaborations/IHE-IndividualBC-IHE-ITI-1-25052006-v1.xml"  parse="xml"
		xpointer="element(/1/2)"/>
	<xi:include href="../businessCollaborations/IHE-IndividualBC-IHE-ITI-19-25052006-v1.xml"  parse="xml"
		xpointer="element(/1/2)"/>
	<xi:include href="../businessCollaborations/IHE-IndividualBC-IHE-ITI-20-25052006-v1.xml"  parse="xml"
		xpointer="element(/1/2)"/>

	<BusinessCollaboration name="Collaboration of XDS ATNA" nameID="IHE-XDS-ATNA-1">
		<Role name="Document Repository" nameID="IHE-XDS-ATNA-1-XDSRepository"/>
		<Role name="Document Registry" nameID="IHE-XDS-ATNA-1-XDSRegistry"/>
		<Role name="Document Source" nameID="IHE-XDS-ATNA-1-XDSSource"/> 
		<Role name="Audit Repository" nameID="IHE-XDS-ATNA-1-AuditRecordRepository"/>
		<TimeToPerform/>
		<Start>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-1-AN1"/>
		</Start>
		<CollaborationActivity name="IHE-XDS-ATNA-1-AuthenticateSourceAndRepository" nameID="IHE-XDS-ATNA-1-AN1" collaborationRef="ATNA-IHE-ITI-19">
			<Documentation>
				IHE ITI 19 is Authenticate Node Transaction spacialized to ATNA
			</Documentation>
			<Performs currentRoleRef="IHE-XDS-ATNA-1-XDSSource" performsRoleRef="ATNALocalSecureNode"/>
			<Performs currentRoleRef="IHE-XDS-ATNA-1-XDSRepository" performsRoleRef="ATNARemoteSecureNode"/>
		</CollaborationActivity>
		<Transition>
			<FromLink fromBusinessStateRef="IHE-XDS-ATNA-1-AN1"/>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-1-PRDS"/>
		</Transition>
		<CollaborationActivity name="IHE-XDS-ATNA-1-ProvideAndRegisterDocumentSet" nameID="IHE-XDS-ATNA-1-PRDS" collaborationRef="XDS-IHE-ITI-15">
			<Documentation>
				IHE ITI 15 is Provide and Register Document Set Transaction spacialized to XDS
			</Documentation>
			<Performs currentRoleRef="IHE-XDS-ATNA-1-XDSSource" performsRoleRef="PRDSXDSSource"/>
			<Performs currentRoleRef="IHE-XDS-ATNA-1-XDSRepository" performsRoleRef="PRDSXDSRepository"/>
		</CollaborationActivity>
		<Transition>
			<FromLink fromBusinessStateRef="IHE-XDS-ATNA-1-PRDS"/>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-1-RAE-1"/>
		</Transition>
		<CollaborationActivity name="IHE-XDS-ATNA-1-Record Audit Event" nameID="IHE-XDS-ATNA-1-RAE-1" collaborationRef="ATNA-IHE-ITI-20">
			<Documentation>
				IHE ITI 20 is Record Audit Event Transaction spacialized to ATNA
			</Documentation>
			<Performs currentRoleRef="IHE-XDS-ATNA-1-XDSRepository" performsRoleRef="IHEActorORPHIApplication"/>
			<Performs currentRoleRef="IHE-XDS-ATNA-1-AuditRecordRepository" performsRoleRef="AuditRecordRepository"/>
		</CollaborationActivity>
		<Transition>
			<FromLink fromBusinessStateRef="IHE-XDS-ATNA-1-RAE-1"/>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-1-AN-2"/>
		</Transition>
		<CollaborationActivity name="IHE-XDS-ATNA-1-AuthenticateRepositoryAndRegistry" nameID="IHE-XDS-ATNA-1-AN-2" collaborationRef="ATNA-IHE-ITI-19">
			<Documentation>
				IHE ITI 19 is Authenticate Node Transaction spacialized to ATNA
			</Documentation>
			<Performs currentRoleRef="IHE-XDS-ATNA-1-XDSRepository" performsRoleRef="ATNALocalSecureNode"/>
			<Performs currentRoleRef="IHE-XDS-ATNA-1-XDSRegistry" performsRoleRef="ATNARemoteSecureNode"/>
		</CollaborationActivity>
		<Transition>
			<FromLink fromBusinessStateRef="IHE-XDS-ATNA-1-AN-2"/>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-1-RDS"/>
		</Transition>
		<CollaborationActivity name="IHE-XDS-ATNA-1-RegisterDocumentSet" nameID="IHE-XDS-ATNA-1-RDS" collaborationRef="XDS-IHE-ITI-14">
			<Documentation>
				IHE ITI 14 is Register Document Set Transaction spacialized to XDS
			</Documentation>
			<Performs currentRoleRef="IHE-XDS-ATNA-1-XDSRepository" performsRoleRef="RDSXDSRepository"/>
			<Performs currentRoleRef="IHE-XDS-ATNA-1-XDSRegistry" performsRoleRef="RDSXDSRegistry"/>
		</CollaborationActivity>
		<Transition>
			<FromLink fromBusinessStateRef="IHE-XDS-ATNA-1-RDS"/>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-1-RAE-2"/>
		</Transition>

		<CollaborationActivity name="IHE-XDS-ATNA-1-Record Audit Event" nameID="IHE-XDS-ATNA-1-RAE-2" collaborationRef="ATNA-IHE-ITI-20">
			<Documentation>
				IHE ITI 20 is Record Audit Event Transaction spacialized to ATNA
			</Documentation>
			<Performs currentRoleRef="IHE-XDS-ATNA-1-XDSRegistry" performsRoleRef="IHEActorORPHIApplication"/>
			<Performs currentRoleRef="IHE-XDS-ATNA-1-AuditRecordRepository" performsRoleRef="AuditRecordRepository"/>
		</CollaborationActivity>
		<Transition>
			<FromLink fromBusinessStateRef="IHE-XDS-ATNA-1-RAE-2"/>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-1-Success"/>
		</Transition>
		<Success name="Success" nameID="IHE-XDS-ATNA-1-Success"/>
	</BusinessCollaboration>
	<BusinessCollaboration name="Collaboration of XDS ATNA" nameID="IHE-XDS-ATNA-2">
		<Role name="Document Consumer" nameID="IHE-XDS-ATNA-2-XDSConsumer"/>
		<Role name="Document Repository" nameID="IHE-XDS-ATNA-2-XDSRepository"/>
		<Role name="Document Registry" nameID="IHE-XDS-ATNA-2-XDSRegistry"/>
		<Role name="Audit Repository" nameID="IHE-XDS-ATNA-2-AuditRecordRepository"/>
		<TimeToPerform/>
		<Start>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-2-AN1"/>
		</Start>
		<CollaborationActivity name="IHE-XDS-ATNA-2-AuthenticateSourceAndRepository" nameID="IHE-XDS-ATNA-2-AN1" collaborationRef="ATNA-IHE-ITI-19">
			<Documentation>
				IHE ITI 19 is Authenticate Node Transaction spacialized to ATNA
			</Documentation>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-XDSConsumer" performsRoleRef="ATNALocalSecureNode"/>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-XDSRegistry" performsRoleRef="ATNARemoteSecureNode"/>
		</CollaborationActivity>
		<Transition>
			<FromLink fromBusinessStateRef="IHE-XDS-ATNA-2-AN1"/>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-2-QR"/>
		</Transition>
		<CollaborationActivity name="IHE-XDS-ATNA-2-QueryRegistry" nameID="IHE-XDS-ATNA-2-QR" collaborationRef="XDS-IHE-ITI-16">
			<Documentation>
				IHE ITI 16 is Query Registry Transaction spacialized to XDS
			</Documentation>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-XDSConsumer" performsRoleRef="QRXDSConsumer"/>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-XDSRegistry" performsRoleRef="QRXDSRegistry"/>
		</CollaborationActivity>
		<Transition>
			<FromLink fromBusinessStateRef="IHE-XDS-ATNA-2-QR"/>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-2-RAE-1"/>
		</Transition>
		<CollaborationActivity name="IHE-XDS-ATNA-2-Record Audit Event" nameID="IHE-XDS-ATNA-2-RAE-1" collaborationRef="ATNA-IHE-ITI-20">
			<Documentation>
				IHE ITI 20 is Record Audit Event Transaction spacialized to ATNA
			</Documentation>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-XDSRegistry" performsRoleRef="IHEActorORPHIApplication"/>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-AuditRecordRepository" performsRoleRef="AuditRecordRepository"/>
		</CollaborationActivity>
		<Transition>
			<FromLink fromBusinessStateRef="IHE-XDS-ATNA-2-RAE-1"/>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-2-AN2"/>
		</Transition>
		<CollaborationActivity name="IHE-XDS-ATNA-2-AuthenticateConsumerAndRepository" nameID="IHE-XDS-ATNA-2-AN2" collaborationRef="ATNA-IHE-ITI-19">
			<Documentation>
				IHE ITI 19 is Authenticate Node Transaction spacialized to ATNA
			</Documentation>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-XDSConsumer" performsRoleRef="ATNALocalSecureNode"/>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-XDSRepository" performsRoleRef="ATNARemoteSecureNode"/>
		</CollaborationActivity>
		<Transition>
			<FromLink fromBusinessStateRef="IHE-XDS-ATNA-2-AN2"/>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-2-RD"/>
		</Transition>
		<CollaborationActivity name="IHE-XDS-ATNA-2-RetrieveDocument" nameID="IHE-XDS-ATNA-2-RD" collaborationRef="XDS-IHE-ITI-17">
			<Documentation>
				IHE ITI 17 is Retrieve Document Transaction spacialized to ATNA
			</Documentation>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-XDSConsumer" performsRoleRef="RDXDSConsumer"/>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-XDSRepository" performsRoleRef="RDXDSRepository"/>
		</CollaborationActivity>
		<Transition>
			<FromLink fromBusinessStateRef="IHE-XDS-ATNA-2-RD"/>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-2-RAE-2"/>
		</Transition>
		<CollaborationActivity name="IHE-XDS-ATNA-2-Record Audit Event" nameID="IHE-XDS-ATNA-2-RAE-2" collaborationRef="ATNA-IHE-ITI-20">
			<Documentation>
				IHE ITI 20 is Record Audit Event Transaction spacialized to ATNA
			</Documentation>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-XDSRepository" performsRoleRef="IHEActorORPHIApplication"/>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-AuditRecordRepository" performsRoleRef="AuditRecordRepository"/>
		</CollaborationActivity>
		<Transition>
			<FromLink fromBusinessStateRef="IHE-XDS-ATNA-2-RAE-2"/>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-2-RAE-3"/>
		</Transition>
		<CollaborationActivity name="IHE-XDS-ATNA-2-Record Audit Event" nameID="IHE-XDS-ATNA-2-RAE-3" collaborationRef="ATNA-IHE-ITI-20">
			<Documentation>
				IHE ITI 20 is Record Audit Event Transaction spacialized to ATNA
			</Documentation>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-XDSConsumer" performsRoleRef="IHEActorORPHIApplication"/>
			<Performs currentRoleRef="IHE-XDS-ATNA-2-AuditRecordRepository" performsRoleRef="AuditRecordRepository"/>
		</CollaborationActivity>
		<Transition>
			<FromLink fromBusinessStateRef="IHE-XDS-ATNA-2-RAE-3"/>
			<ToLink toBusinessStateRef="IHE-XDS-ATNA-2-Success"/>
		</Transition>
		<Success name="Success" nameID="IHE-XDS-ATNA-2-Success"/>
	</BusinessCollaboration>
</ProcessSpecification>
