+	E	env	Envelope	
0	A	xmlns	smr	http://ns.electronichealth.net.au/smd/svc/SealedMessageRetrieval/2010
0	A	xmlns	env	http://www.w3.org/2003/05/soap-envelope
0	A	xmlns	wsa	http://www.w3.org/2005/08/addressing
0	A	xmlns	smsg	http://ns.electronichealth.net.au/smd/xsd/SealedMessage/2010
0	A	xmlns	ep	http://ns.electronichealth.net.au/xsp/xsd/EncryptedPayload/2010
0	A	xmlns	els	http://ns.electronichealth.net.au/els/xsd/DataTypes/2010
0	A	xmlns	qcr	http://ns.electronichealth.net.au/qcr/xsd/QualifiedCertRef/2010
+	E	env	Header
+	E	wsa	Action	http://ns.electronichealth.net.au/smd/svc/SealedMessageRetrieval/2010/SealedMessageRetrieval/retrieveResponse
-	E	wsa	To	http://www.w3.org/2005/08/addressing/anonymous
-	E	wsa	From	<#wsa:from>
-	E	wsa	ReplyTo	<#wsa:ReplyTo>
-	E	wsa	FaultTo	<#wsa:FaultTo>
-	E	wsa	MessageID	urn:uuid:<#wsa:MessageID>
-	E	wsa	RelatesTo	<#wsa:RelatesTo>
0	A	""	RelationshipType	http://www.w3.org/2005/08/addressing/reply
-	E	wsa	ReferenceParameters	<#wsa:ReferenceParameters>
--	E	env	Body
+	E	smr	retrieveResponse	
{	n			0	-1
+	E	smr	message	
+	E	smsg	metadata	
+	E	smsg	creationTime	<#smsg:creationTime>
-	E	smsg	expiryTime	<#smsg:expiryTime>
-	E	smsg	invocationId	<#smsg:invocationId>
-	E	smsg	receiverIndividual	<#smsg:receiverIndividual>
-	E	smsg	receiverOrganisation	<#smsg:receiverOrganisation>
-	E	smsg	senderIndividual	<#smsg:senderIndividual>
-	E	smsg	senderOrganisation	<#smsg:senderOrganisation>
-	E	smsg	serviceCategory	<#smsg:serviceCategory>
-	E	smsg	serviceInterface	<#smsg:serviceInterface>
{	n			0	-1
-	E	smsg	routeRecord
+	E	smsg	sendIntermediateResponses	<#smsg:sendIntermediateResponses>
-	E	smsg	interaction	 els:InteractionType
+	E	els	target	<#els:target>
-	E	els	serviceCategory	<#els:serviceCategory>
-	E	els	serviceInterface	<#els:serviceInterface>
-	E	els	serviceEndpoint	<#els:serviceEndpoint>
-	E	els	serviceProvider	<#els:serviceProvider>
{	n			0	-1
-	E	els	certRef	
+	E	els	useQualifier	<#els:useQualifier>
-	E	qcr	qualifiedCertRef	
+	E	qcr	type	<#qcr:certRef.type>
-	E	qcr	value	<#qcr:certRef.value>
}}	N				
{	n			0	-1
----	E	smsg	otherTransportMetadata	
+	E	smsg	metadataType	<#smsg:metadataType>
-	E	smsg	metadataValue	<#smsg:metadataValue>
}	N		
--	E	ep	encryptedPayload
}			

