© 2018 Capita Business Services Ltd. All rights reserved.

Capita Education Software Solutions is a trading name of Capita Business Services Ltd. Our Registered office is 30 Berners Street, London, W1T 3LR and our registered number is 02299747. Further information about Capita plc can be found in our legal statement.

SIMS 7 - TPPersonMedical

TPPersonMedical.GetXmlMedicalConditions()

This method returns all Medical Conditions stored within SIMS System. Sample output from this interface is shown below

TPPersonMedical.GetXmlPersonMedicalConditions (int personId)

This method returns id’s of all the medical Conditions associated with a studentId passed as a parameter. Sample code and output from this method is shown below

Example

TPPersonMedical medicalInfo = new TPPersonMedical();
string data = medicalInfo.GetXmlPersonMedicalConditions(6420);

Output

<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<PersonMedicalConditions>
  <PersonMedicalCondition>
    <PersonMedicalConditionID>23</PersonMedicalConditionID>
    <PersonID>6420</PersonID>
    <PersonD>6420</PersonD>
    <MedicalConditionID>2</MedicalConditionID>
    <InformationReceivedOn>2010-01-04T00:00:00</InformationReceivedOn>
  </PersonMedicalCondition>
  <PersonMedicalCondition>
    <PersonMedicalConditionID>24</PersonMedicalConditionID>
    <PersonID>6420</PersonID>
    <PersonD>6420</PersonD>
    <MedicalConditionID>11</MedicalConditionID>
    <InformationReceivedOn>2009-12-14T00:00:00</InformationReceivedOn>
  </PersonMedicalCondition>
</PersonMedicalConditions>

 

SIMS 7 RESOURCES

Related resources for SIMS 7