getPersonLinks
getPersonLinks
The getPersonLinks method returns all the person links associated with the person whose record is passed as a parameter.
Method
The method uses the POST HTML method.
Input
The input to the method is Person object that will be used as a pivot to find all the links associated with it.
<person> <address1>12 Sheaffe Street</address1> <address2>Herbert River</address2> <city>Houston</city> <dateOfBirth>1948-02-24T00:00:00-05:00</dateOfBirth> <familyName>Dedicoat</familyName> <gender> <genderCd>2</genderCd> <genderCode>M</genderCode> <genderDescription>Male</genderDescription> <genderName>Male</genderName> </gender> <givenName>James</givenName> <personId>5666</personId> <personIdentifiers> <identifier>rec-3044-org</identifier> <identifierDomain> <identifierDomainId>14</identifierDomainId> <identifierDomainName>IHENA</identifierDomainName> <namespaceIdentifier>IHENA</namespaceIdentifier> <universalIdentifier>1.3.6.1.4.1.21367.2010.1.2.300</universalIdentifier> <universalIdentifierTypeCode>ISO</universalIdentifierTypeCode> </identifierDomain> <personIdentifierId>5666</personIdentifierId> </personIdentifiers> <personIdentifiers> <dateCreated>2018-04-02T19:45:23.446-04:00</dateCreated> <identifier>e943b960-36cf-11e8-bf05-847beb5378c3</identifier> <identifierDomain> <identifierDomainId>18</identifierDomainId> <identifierDomainName>OpenEMPI</identifierDomainName> <namespaceIdentifier>2.16.840.1.113883.4.357</namespaceIdentifier> <universalIdentifier>2.16.840.1.113883.4.357</universalIdentifier> <universalIdentifierTypeCode>hl7</universalIdentifierTypeCode> </identifierDomain> <personIdentifierId>11071</personIdentifierId> </personIdentifiers> <phoneNumber>6534628928</phoneNumber> <postalCode>60618</postalCode> <ssn>868066233</ssn> <state>MI</state> </person>
Â
Output
The output is the list of person links associated with the person or an empty list if no records are found.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <personLinks> <personLink> <dateCreated>2018-04-02T19:42:38.966-04:00</dateCreated> <linkSource> <linkSourceId>3</linkSourceId> </linkSource> <personLeft> <address1>12 Sheaffe Street</address1> <address2>Herbert River</address2> <city>Houston</city> <dateChanged>2018-04-02T19:45:23.446-04:00</dateChanged> <dateCreated>2018-03-29T15:16:46.649-04:00</dateCreated> <dateOfBirth>1948-02-24T00:00:00-05:00</dateOfBirth> <familyName>Dedicoat</familyName> <gender> <genderCd>2</genderCd> <genderCode>M</genderCode> <genderDescription>Male</genderDescription> <genderName>Male</genderName> </gender> <givenName>James</givenName> <personId>5666</personId> <personIdentifiers> <identifier>rec-3044-org</identifier> <identifierDomain> <identifierDomainId>14</identifierDomainId> <identifierDomainName>IHENA</identifierDomainName> <namespaceIdentifier>IHENA</namespaceIdentifier> <universalIdentifier>1.3.6.1.4.1.21367.2010.1.2.300</universalIdentifier> <universalIdentifierTypeCode>ISO</universalIdentifierTypeCode> </identifierDomain> <personIdentifierId>5666</personIdentifierId> </personIdentifiers> <personIdentifiers> <dateCreated>2018-04-02T19:45:23.446-04:00</dateCreated> <identifier>e943b960-36cf-11e8-bf05-847beb5378c3</identifier> <identifierDomain> <identifierDomainId>18</identifierDomainId> <identifierDomainName>OpenEMPI</identifierDomainName> <namespaceIdentifier>2.16.840.1.113883.4.357</namespaceIdentifier> <universalIdentifier>2.16.840.1.113883.4.357</universalIdentifier> <universalIdentifierTypeCode>hl7</universalIdentifierTypeCode> </identifierDomain> <personIdentifierId>11071</personIdentifierId> </personIdentifiers> <phoneNumber>6534628928</phoneNumber> <postalCode>60618</postalCode> <ssn>868066233</ssn> <state>MI</state> </personLeft> <personLinkId>3473600</personLinkId> <personRight> <address1>12 Sheaffe Street</address1> <address2>Herbert River</address2> <city>Houston</city> <dateChanged>2018-04-02T19:45:23.446-04:00</dateChanged> <dateCreated>2018-03-29T15:16:43.415-04:00</dateCreated> <dateOfBirth>1948-02-24T00:00:00-05:00</dateOfBirth> <familyName>Dedicoat</familyName> <givenName>James</givenName> <personId>2984</personId> <personIdentifiers> <identifier>rec-3044-dup-0</identifier> <identifierDomain> <identifierDomainId>14</identifierDomainId> <identifierDomainName>IHENA</identifierDomainName> <namespaceIdentifier>IHENA</namespaceIdentifier> <universalIdentifier>1.3.6.1.4.1.21367.2010.1.2.300</universalIdentifier> <universalIdentifierTypeCode>ISO</universalIdentifierTypeCode> </identifierDomain> <personIdentifierId>2984</personIdentifierId> </personIdentifiers> <personIdentifiers> <dateCreated>2018-04-02T19:45:23.446-04:00</dateCreated> <identifier>e943b960-36cf-11e8-bf05-847beb5378c3</identifier> <identifierDomain> <identifierDomainId>18</identifierDomainId> <identifierDomainName>OpenEMPI</identifierDomainName> <namespaceIdentifier>2.16.840.1.113883.4.357</namespaceIdentifier> <universalIdentifier>2.16.840.1.113883.4.357</universalIdentifier> <universalIdentifierTypeCode>hl7</universalIdentifierTypeCode> </identifierDomain> <personIdentifierId>11072</personIdentifierId> </personIdentifiers> <phoneNumber>6534628928</phoneNumber> <postalCode>60618</postalCode> <ssn>868066233</ssn> <state>MI</state> </personRight> <userCreatedBy> <accountExpired>false</accountExpired> <accountLocked>false</accountLocked> <address> <address></address> <city>Herndon</city> <country>US</country> <postalCode>20171</postalCode> <province>VA</province> </address> <credentialsExpired>false</credentialsExpired> <email>odysseas@sysnetint.com</email> <enabled>true</enabled> <firstName>Admin</firstName> <id>-1</id> <lastName>User</lastName> <phoneNumber></phoneNumber> <username>admin</username> <website>http://www.sysnetint.com</website> </userCreatedBy> <weight>45.22739470532143</weight> </personLink> </personLinks>