© 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 8 - V3 - Learner Medicals

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
    },

Sample Classes

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;
    }
}