<?xml version="1.0" encoding="utf-8"?>
<env:Envelope xmlns:addressing="http://www.w3.org/2005/08/addressing" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
	<env:Header>
		<addressing:Action env:mustUnderstand="1">urn:hl7-org:v3:PRPA_IN201304UV02</addressing:Action>
		<addressing:To env:mustUnderstand="1">http://Host:8081/ReplaceWithActualUrl</addressing:To>
		<sec:Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sec="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
			<!--saml2:Assertion HCP (Assertion HCP.xml)-->
		</sec:Security>
		<addressing:MessageID>urn:uuid:9446523f-f079-4b31-a244-8b6658fe5abb</addressing:MessageID>
		<addressing:ReplyTo>
			<addressing:Address>http://www.w3.org/2005/08/addressing/anonymous</addressing:Address>
		</addressing:ReplyTo>
	</env:Header>
	<env:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<PRPA_IN201304UV02 ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3">
      <id extension="1465457294568" root="1.3.6.1.4.1.21998.2.1.10.13"/>
      <creationTime value="20160609092814"/>
      <versionCode code="V3PR1"/>
      <interactionId extension="PRPA_IN201304UV02" root="2.16.840.1.113883.1.6"/>
      <processingCode code="P"/>
      <processingModeCode code="T"/>
      <acceptAckCode code="AL"/>
      <receiver typeCode="RCV">
        <device classCode="DEV" determinerCode="INSTANCE">
          <id extension="EHR_TIANI-SPIRIT"/>
          <asAgent classCode="AGNT">
            <representedOrganization classCode="ORG" determinerCode="INSTANCE">
              <id extension="TIANI-SPIRIT"/>
            </representedOrganization>
          </asAgent>
        </device>
      </receiver>
      <sender typeCode="SND">
        <device classCode="DEV" determinerCode="INSTANCE">
          <id extension="SpiritEHR_BASE_APPL"/>
          <asAgent classCode="AGNT">
            <representedOrganization classCode="ORG" determinerCode="INSTANCE">
              <id extension="SpiritEHR_BASE_FAC"/>
            </representedOrganization>
          </asAgent>
        </device>
      </sender>
      <controlActProcess classCode="CACT" moodCode="EVN">
        <code code="PRPA_TE201304UV02" codeSystem="2.16.840.1.113883.1.6"/>
        <effectiveTime value="20160609092814"/>
        <reasonCode code="XPID"/>
        <dataEnterer contextControlCode="AP" typeCode="ENT">
          <assignedPerson classCode="ASSIGNED">
            <id extension="cn=Spirit Admin,ou=users,cn=IHE-ITI-PWP,o=spirit,c=at"/>
          </assignedPerson>
        </dataEnterer>
        <subject typeCode="SUBJ">
          <registrationEvent classCode="REG" moodCode="EVN">
            <id nullFlavor="NA"/>
            <statusCode code="active"/>
            <subject1 typeCode="SBJ">
              <patient classCode="PAT">
                <id extension="REG.1GKG7XG4R6" root="1.2.40.0.34.99.10.1.11.1.1"/>
                <id extension="pre.341746" root="11.1.1"/>
                <statusCode code="active"/>
                <patientPerson classCode="PSN" determinerCode="INSTANCE">
                  <name use="L">
                    <given>Bob1837180431</given>
                    <family>Mustermannx</family>
                  </name>
                  <administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1" codeSystemName="AdministrativeGender"/>
                  <birthTime value="1931-04-18"/>
                  <deceasedInd value="false"/>
                  <multipleBirthInd value="false"/>
                  <addr>
                    <city>Wien</city>
                  </addr>
                  <birthPlace>
                    <addr>
                      <city>ELGALand</city>
                    </addr>
                  </birthPlace>
                </patientPerson>
              </patient>
            </subject1>
            <custodian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <replacementOf typeCode="RPLC">
              <priorRegistration classCode="REG" moodCode="EVN">
                <statusCode code="obsolete"/>
                <subject1 typeCode="SBJ">
                  <priorRegisteredRole classCode="PAT">
                    <id extension="REG.1GKG7XVVT3" root="1.2.40.0.34.99.10.1.11.1.1"/>
                    <id extension="pre.522816" root="11.1.1"/>
                  </priorRegisteredRole>
                </subject1>
              </priorRegistration>
            </replacementOf>
          </registrationEvent>
        </subject>
      </controlActProcess>
    </PRPA_IN201304UV02>
	</env:Body>
</env:Envelope>
