DeX OData - Learner Medicals
Example Call
https://seli00apm01.azure-api.net/ssli01/Learner/v3/LearnerMedicals (SIMS 8)
Definition
using System;
using System.Collections.Generic;
using System.Text;
namespace TISIMS8DataStructureExamples
{
class TLearnerMedical
{
public Guid ExternalID;
public string NHSNumber;
public Nullable<bool> IsDisabled;
public Nullable<bool> IsPregnant;
public List<TLearnerMedicalCondition> MedicalConditions;
public List<TLearnerDisability> Disabilities;
public List<TLearnerMedicalEvent> MedicalEvents;
public List<TLearnerMedicalNote> MedicalNotes;
public List<TLearnerParamedicalSupport> LearnerParamedicalSupports;
public TMedicalProviderRef MedicalProviders;
}
public class TLearnerMedicalCondition
{
public Guid ExternalID;
public Nullable<DateTime> InformationReceivedDate;
public Nullable<DateTime> EndDate;
public List<TLearnerMedicalConditionAttachment> MedicalConditionNotes;
public TMedicalConditionRef MedicalCondition;
public string Summary;
}
public class TMedicalConditionRef
{
public Guid ExternalID;
public string Type;
}
public class TLearnerMedicalConditionAttachment
{
public Guid ExternalID;
}
public class TDisabilityTypeRef
{
public Guid ExternalID;
public string Type;
}
public class TLearnerDisability
{
public Guid ExternalID;
public Nullable<DateTime> StartDate;
public Nullable<DateTime> EndDate;
public string Notes;
public TDisabilityTypeRef DisabilityType;
}
public class TLearnerMedicalEvent
{
public Guid ExternalID;
public Nullable<DateTime> EventDate;
public Nullable<DateTime> FollowUpDate;
public TMedicalEventDescriptionRef MedicalEventDescription;
public TMedicalEventTypeRef MedicalEventType;
public TLearnerMedicalEventAttachment MedicalEventNotes;
}
public class TMedicalEventDescriptionRef
{
public Guid ExternalID;
public string Type;
}
public class TMedicalEventTypeRef
{
public Guid ExternalID;
public string Type;
}
public class TLearnerMedicalEventAttachment
{
public Guid ExternalID;
public string Type;
}
public class TLearnerMedicalNote
{
public Guid ExternalID;
public Nullable<bool> Confidential;
public string Summary;
public string Note;
public List<string> Attachments;
}
public class TLearnerParamedicalSupport
{
public Guid ExternalID;
public TParamedicalSupportTypeRef ParamedicalSupportType;
}
public class TParamedicalSupportTypeRef
{
public Guid ExternalID;
public string Type;
}
public class TMedicalProviderRef
{
public Guid ExternalID;
public string Type;
}
}
Sample Output
{
"@odata.context": "https://sepr00apm01.azure-api.net/sspr01/Learner/V3/$metadata#LearnerMedicals",
"value": [
{
"ExternalID": "e8e42aa0-4dc2-4db2-92c5-007e92db0d80",
"NHSNumber": null,
"IsDisabled": false,
"IsPregnant": false
},
{
"ExternalID": "8baf79e2-cd33-43a0-832d-00951f7b5f79",
"NHSNumber": null,
"IsDisabled": null,
"IsPregnant": null
},
{
"ExternalID": "f609c934-2fbf-419e-a13c-00aadfa51e1e",
"NHSNumber": null,
"IsDisabled": false,
"IsPregnant": false
},