ADT Bundle

API change history

Access data about Admissions, Discharges and Transfers

Activity Summary

Returns hospital activity summary results associated with a patient record.

Try it

Request

Request URL

Request parameters

  • string

Request headers

  • string
    Subscription key which provides access to this API. Found in your Profile.
  • string
    OAuth 2.0 access token obtained from CareCentric OAuth2 Server. Supported grant types: Resource owner password.

Request body

Responses

200 OK

Successful operation

Representations

{
  "InpatientTransfers": {
    "InpatientTransferCollection": [
      {
        "TransferDateTime": "string",
        "TransferDateRecorded": "string",
        "TransferReasonCode": "string",
        "TransferReasonDescription": "string",
        "TransferWardCode": "string",
        "TransferWardDescription": "string",
        "TransferBedCode": "string",
        "TransferConsultantCode": "string",
        "TransferConsultantTitle": "string",
        "TransferConsultantInitials": "string",
        "TransferConsultantSurname": "string",
        "TransferSpecialtyCode": "string",
        "TransferSpecialtyDescription": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "OutpatientDischarges": {
    "OutpatientDischargeCollection": [
      {
        "DateTime": "string",
        "DischargeMethodCode": "string",
        "DischargeMethodDescription": "string",
        "DischargeDestinationCode": "string",
        "DischargeDestinationDescription": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "LocationCode": "string",
        "LocationDescription": "string",
        "BedCode": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "OutpatientAttendances": {
    "OutpatientAttendanceCollection": [
      {
        "UniqueIdentifier": "string",
        "DateTime": "string",
        "LocationCode": "string",
        "LocationDescription": "string",
        "BedCode": "string",
        "OutpatientAttendanceCode": "string",
        "OutpatientAttendanceTypeDescription": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "ReadmissionCode": "string",
        "ReadmissionDescription": "string",
        "AdmissionSourceCode": "string",
        "AdmissionSourceDescription": "string",
        "AdmissionCategoryCode": "string",
        "AdmissionCategoryDescription": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "OutpatientReferrals": {
    "OutpatientReferralCollection": [
      {
        "ExpectedAttendanceDateTime": "string",
        "LocationCode": "string",
        "LocationDescription": "string",
        "BedCode": "string",
        "OutpatientAttendanceCode": "string",
        "OutpatientAttendanceTypeDescription": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "ReadmissionCode": "string",
        "ReadmissionDescription": "string",
        "AdmissionSourceCode": "string",
        "AdmissionSourceDescription": "string",
        "AdmissionCategoryCode": "string",
        "AdmissionCategoryDescription": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "ReferralOutcome": "string",
        "OriginatingReferralIdentifier": "string",
        "DateTime": "string",
        "ProcessDateTime": "string",
        "ExternalReferralIdentifier": "string",
        "ReferralPriorityCode": "string",
        "ReferralPriorityDescription": "string",
        "ReferralTypeCode": "string",
        "ReferralTypeDescription": "string",
        "ReferralDispositionCode": "string",
        "ReferralDispositionDescription": "string",
        "ReferralCategoryCode": "string",
        "ReferralCategoryDescription": "string",
        "ExpirationDateTime": "string",
        "ReferralReasonCode": "string",
        "ReferralReasonDescription": "string",
        "Notes": [
          {
            "SetId": "string",
            "SourceOfComment": "string",
            "Comment": "string",
            "CommentType": "string"
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "InpatientAdmissions": {
    "InpatientAdmissionCollection": [
      {
        "DateTime": "string",
        "WardCode": "string",
        "WardDescription": "string",
        "BedCode": "string",
        "AdmissionTypeCode": "string",
        "AdmissionTypeDescription": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "ReadmissionCode": "string",
        "ReadmissionDescription": "string",
        "AdmissionSourceCode": "string",
        "AdmissionSourceDescription": "string",
        "AdmissionCategoryCode": "string",
        "AdmissionCategoryDescription": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "InpatientDischarges": {
    "InpatientDischargeCollection": [
      {
        "DateTime": "string",
        "DischargeMethodCode": "string",
        "DischargeMethodDescription": "string",
        "DischargeDestinationCode": "string",
        "DischargeDestinationDescription": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "DischargeWardCode": "string",
        "DischargeWardDescription": "string",
        "DischargeBedCode": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "InpatientWaitingLists": {
    "InpatientWaitingListCollection": [
      {
        "DateTime": "string",
        "WardCode": "string",
        "WardDescription": "string",
        "BedCode": "string",
        "AdmissionTypeCode": "string",
        "AdmissionTypeDescription": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "ReadmissionCode": "string",
        "ReadmissionDescription": "string",
        "AdmissionSourceCode": "string",
        "AdmissionSourceDescription": "string",
        "AdmissionCategoryCode": "string",
        "AdmissionCategoryDescription": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "ReferralOutcome": "string",
        "OriginatingReferralIdentifier": "string",
        "EffectiveDateTime": "string",
        "ProcessDateTime": "string",
        "ExternalReferralIdentifier": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "EmergencyAttendances": {
    "EmergencyAttendanceCollection": [
      {
        "EmergencyAttendanceDischargeDate": "string",
        "EmergencyAttendanceDischargeCode": "string",
        "EmergencyAttendanceDischargeDescription": "string",
        "EmergencyAttendanceDischargeDestinationCode": "string",
        "EmergencyAttendanceDischargeDestinationDescription": "string",
        "EmergencyAttendanceDischargeLocationCode": "string",
        "EmergencyAttendanceDischargeLocationDescription": "string",
        "EmergencyAttendanceDischargeBedCode": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "AttendanceDateTime": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "EmergencyDischarges": {
    "EmergencyDischargeCollection": [
      {
        "DischargeDateTime": "string",
        "DischargeMethodCode": "string",
        "DischargeMethodDescription": "string",
        "DischargeDestinationCode": "string",
        "DischargeDestinationDescription": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "DischargeLocationCode": "string",
        "DischargeLocationDescription": "string",
        "DischargeBedCode": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "AttendanceDateTime": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "OutpatientAppointments": {
    "OutpatientAppointmentCollection": [
      {
        "OutpatientAttendanceDateTime": "string",
        "OutpatientClinicCode": "string",
        "OutpatientClinicDescription": "string",
        "OutpatientBedCode": "string",
        "OutpatientAttendanceCode": "string",
        "OutpatientAttendanceTypeDescription": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "ReadmissionCode": "string",
        "ReadmissionDescription": "string",
        "AdmissionSourceCode": "string",
        "AdmissionSourceDescription": "string",
        "AdmissionCategoryCode": "string",
        "AdmissionCategoryDescription": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireEmergencyAttendances": {
    "CheshireEmergencyAttendanceCollection": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "ArrivalMethod": "string",
        "DischargeDescription": "string",
        "DiagnosisDescription": "string",
        "TreatmentDescription": "string",
        "InvestigationDescription": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireInpatientWaitingLists": {
    "CheshireInpatientWaitingListCollection": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "AddedToWaitingListDateTime": "string",
        "ConsultantName": "string",
        "WaitingListStatus": "string",
        "SpecialtyDescription": "string",
        "StayType": "string",
        "ProposedOperationName": "string",
        "WaitingListNotes": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireInpatientSpells": {
    "CheshireInpatientSpellCollection": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "AdmissionDateTime": "string",
        "DischargeDateTime": "string",
        "LengthOfStay": "string",
        "SpecialtyDescription": "string",
        "AdmissionTypeDescription": "string",
        "AdmissionReasonDescription": "string",
        "ProcedureDescription": "string",
        "DiagnosisDescription": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireOutpatientAttendances": {
    "CheshireOutpatientAttendances": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "AttendanceDateTime": "string",
        "ClinicDescription": "string",
        "SpecialtyDescription": "string",
        "LocationDescription": "string",
        "AppointmentPriority": "string",
        "AttendanceType": "string",
        "AppointmentOutcome": "string",
        "ClinicLead": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireOutpatientFutureAppointments": {
    "CheshireOutpatientFutureAppointmentsCollection": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "FutureAppointmentDateTime": "string",
        "ClinicDescription": "string",
        "LocationDescription": "string",
        "AppointmentPriority": "string",
        "SpecialtyDescription": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireOutpatientNonAttendances": {
    "CheshireOutpatientNonAttendanceCollection": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "NonAttendanceReason": "string",
        "NonAttendanceType": "string",
        "ClinicSpecialty": "string",
        "LocationDescription": "string",
        "SpecialtyDescription": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireOutpatientReferrals": {
    "CheshireOutpatientReferrals": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "OriginatingReferralIdentifier": "string",
        "NextAppointmentDateTime": "string",
        "NextClinicDescription": "string",
        "NextLocationDescription": "string",
        "ReferringDoctorName": "string",
        "ReferralStatus": "string",
        "ConsultantName": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireTheatres": {
    "CheshireTheatresCollection": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "OperationName": "string",
        "Anesthetic": "string",
        "SurgeryType": "string",
        "SurgeonName": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  }
}
{
  "description": "HospitalActivitySummaryResult information.",
  "type": "object",
  "properties": {
    "InpatientTransfers": {
      "description": "Gets or sets the inpatient transfers.",
      "type": "object",
      "properties": {
        "InpatientTransferCollection": {
          "description": "Gets or sets the inpatient transfer collection.",
          "type": "array",
          "items": {
            "description": "InpatientTransferResults information.",
            "type": "object",
            "properties": {
              "TransferDateTime": {
                "format": "date-time",
                "description": "Gets or sets the transfer date time.",
                "type": "string"
              },
              "TransferDateRecorded": {
                "format": "date-time",
                "description": "Gets or sets the transfer date recorded.",
                "type": "string"
              },
              "TransferReasonCode": {
                "description": "Gets or sets the transfer reason code.",
                "type": "string"
              },
              "TransferReasonDescription": {
                "description": "Gets or sets the transfer reason description.",
                "type": "string"
              },
              "TransferWardCode": {
                "description": "Gets or sets the transfer ward code.",
                "type": "string"
              },
              "TransferWardDescription": {
                "description": "Gets or sets the transfer ward description.",
                "type": "string"
              },
              "TransferBedCode": {
                "description": "Gets or sets the transfer bed code.",
                "type": "string"
              },
              "TransferConsultantCode": {
                "description": "Gets or sets the transfer consultant code.",
                "type": "string"
              },
              "TransferConsultantTitle": {
                "description": "Gets or sets the transfer consultant title.",
                "type": "string"
              },
              "TransferConsultantInitials": {
                "description": "Gets or sets the transfer consultant initials.",
                "type": "string"
              },
              "TransferConsultantSurname": {
                "description": "Gets or sets the transfer consultant surname.",
                "type": "string"
              },
              "TransferSpecialtyCode": {
                "description": "Gets or sets the transfer specialty code.",
                "type": "string"
              },
              "TransferSpecialtyDescription": {
                "description": "Gets or sets the transfer specialty description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientDischarges": {
      "description": "Gets or sets the outpatient discharges.",
      "type": "object",
      "properties": {
        "OutpatientDischargeCollection": {
          "description": "Gets or sets the outpatient discharge collection.",
          "type": "array",
          "items": {
            "description": "OutpatientDischarge information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "DischargeMethodCode": {
                "description": "Gets or sets the discharge method code.",
                "type": "string"
              },
              "DischargeMethodDescription": {
                "description": "Gets or sets the discharge method description.",
                "type": "string"
              },
              "DischargeDestinationCode": {
                "description": "Gets or sets the discharge destination code.",
                "type": "string"
              },
              "DischargeDestinationDescription": {
                "description": "Gets or sets the discharge destination description.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "LocationCode": {
                "description": "Gets or sets the discharge ward code.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the discharge ward description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientAttendances": {
      "description": "Gets or sets the outpatient attendances.",
      "type": "object",
      "properties": {
        "OutpatientAttendanceCollection": {
          "description": "Gets or sets the outpatient attendance collection.",
          "type": "array",
          "items": {
            "description": "OutpatientAttendance information.",
            "type": "object",
            "properties": {
              "UniqueIdentifier": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "LocationCode": {
                "description": "Gets or sets the location code.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "OutpatientAttendanceCode": {
                "description": "Gets or sets the outpatient attendance code.",
                "type": "string"
              },
              "OutpatientAttendanceTypeDescription": {
                "description": "Gets or sets the outpatient attendance type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientReferrals": {
      "description": "Gets or sets the outpatient referrals.",
      "type": "object",
      "properties": {
        "OutpatientReferralCollection": {
          "description": "Gets or sets the outpatient referral collection.",
          "type": "array",
          "items": {
            "description": "OutpatientReferral information.",
            "type": "object",
            "properties": {
              "ExpectedAttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the expected attendance date time.",
                "type": "string"
              },
              "LocationCode": {
                "description": "Gets or sets the location code.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "OutpatientAttendanceCode": {
                "description": "Gets or sets the outpatient attendance code.",
                "type": "string"
              },
              "OutpatientAttendanceTypeDescription": {
                "description": "Gets or sets the outpatient attendance type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "ReferralOutcome": {
                "description": "Gets or sets the referral outcome.",
                "type": "string"
              },
              "OriginatingReferralIdentifier": {
                "description": "Gets or sets the originating referral identifier.",
                "type": "string"
              },
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "ProcessDateTime": {
                "format": "date-time",
                "description": "Gets or sets the process date time.",
                "type": "string"
              },
              "ExternalReferralIdentifier": {
                "description": "Gets or sets the external referral identifier.",
                "type": "string"
              },
              "ReferralPriorityCode": {
                "description": "Gets or sets the referral priority code.",
                "type": "string"
              },
              "ReferralPriorityDescription": {
                "description": "Gets or sets the referral priority description.",
                "type": "string"
              },
              "ReferralTypeCode": {
                "description": "Gets or sets the referral type code.",
                "type": "string"
              },
              "ReferralTypeDescription": {
                "description": "Gets or sets the referral type description.",
                "type": "string"
              },
              "ReferralDispositionCode": {
                "description": "Gets or sets the referral disposition code.",
                "type": "string"
              },
              "ReferralDispositionDescription": {
                "description": "Gets or sets the referral disposition description.",
                "type": "string"
              },
              "ReferralCategoryCode": {
                "description": "Gets or sets the referral category code.",
                "type": "string"
              },
              "ReferralCategoryDescription": {
                "description": "Gets or sets the referral category description.",
                "type": "string"
              },
              "ExpirationDateTime": {
                "format": "date-time",
                "description": "Gets or sets the expiration date time.",
                "type": "string"
              },
              "ReferralReasonCode": {
                "description": "Gets or sets the referral reason code.",
                "type": "string"
              },
              "ReferralReasonDescription": {
                "description": "Gets or sets the referral reason description.",
                "type": "string"
              },
              "Notes": {
                "description": "Gets or sets the notes.",
                "type": "array",
                "items": {
                  "description": "A single note.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set id.",
                      "type": "string"
                    },
                    "SourceOfComment": {
                      "description": "Gets or sets the source of comment.",
                      "type": "string"
                    },
                    "Comment": {
                      "description": "Gets or sets the comment.",
                      "type": "string"
                    },
                    "CommentType": {
                      "description": "Gets or sets the comment type.",
                      "type": "string"
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "InpatientAdmissions": {
      "description": "Gets or sets the inpatient admissions.",
      "type": "object",
      "properties": {
        "InpatientAdmissionCollection": {
          "description": "Gets or sets the inpatient admission collection.",
          "type": "array",
          "items": {
            "description": "InpatientAdmission information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "WardCode": {
                "description": "Gets or sets the ward code.",
                "type": "string"
              },
              "WardDescription": {
                "description": "Gets or sets the ward description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "AdmissionTypeCode": {
                "description": "Gets or sets the admission type code.",
                "type": "string"
              },
              "AdmissionTypeDescription": {
                "description": "Gets or sets the admission type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "InpatientDischarges": {
      "description": "Gets or sets the inpatient discharges.",
      "type": "object",
      "properties": {
        "InpatientDischargeCollection": {
          "description": "Gets or sets the inpatient discharge collection.",
          "type": "array",
          "items": {
            "description": "InpatientDischarge information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "DischargeMethodCode": {
                "description": "Gets or sets the discharge method code.",
                "type": "string"
              },
              "DischargeMethodDescription": {
                "description": "Gets or sets the discharge method description.",
                "type": "string"
              },
              "DischargeDestinationCode": {
                "description": "Gets or sets the discharge destination code.",
                "type": "string"
              },
              "DischargeDestinationDescription": {
                "description": "Gets or sets the discharge destination description.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "DischargeWardCode": {
                "description": "Gets or sets the discharge ward code.",
                "type": "string"
              },
              "DischargeWardDescription": {
                "description": "Gets or sets the discharge ward description.",
                "type": "string"
              },
              "DischargeBedCode": {
                "description": "Gets or sets the discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "InpatientWaitingLists": {
      "description": "Gets or sets the inpatient waiting lists.",
      "type": "object",
      "properties": {
        "InpatientWaitingListCollection": {
          "description": "Gets or sets the inpatient waiting list collection.",
          "type": "array",
          "items": {
            "description": "InpatientWaitingList information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "WardCode": {
                "description": "Gets or sets the ward code.",
                "type": "string"
              },
              "WardDescription": {
                "description": "Gets or sets the ward description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "AdmissionTypeCode": {
                "description": "Gets or sets the admission type code.",
                "type": "string"
              },
              "AdmissionTypeDescription": {
                "description": "Gets or sets the admission type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "ReferralOutcome": {
                "description": "Gets or sets the referral outcome.",
                "type": "string"
              },
              "OriginatingReferralIdentifier": {
                "description": "Gets or sets the originating referral identifier.",
                "type": "string"
              },
              "EffectiveDateTime": {
                "format": "date-time",
                "description": "Gets or sets the effective date time.",
                "type": "string"
              },
              "ProcessDateTime": {
                "format": "date-time",
                "description": "Gets or sets the process date time.",
                "type": "string"
              },
              "ExternalReferralIdentifier": {
                "description": "Gets or sets the external referral identifier.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "EmergencyAttendances": {
      "description": "Gets or sets the emergency attendances.",
      "type": "object",
      "properties": {
        "EmergencyAttendanceCollection": {
          "description": "Gets or sets the emergency attendance collection.",
          "type": "array",
          "items": {
            "description": "EmergencyAttendance information.",
            "type": "object",
            "properties": {
              "EmergencyAttendanceDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the emergency attendance discharge date.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeCode": {
                "description": "Gets or sets the emergency attendance discharge code.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeDescription": {
                "description": "Gets or sets the emergency attendance discharge description.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeDestinationCode": {
                "description": "Gets or sets the emergency attendance discharge destination code.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeDestinationDescription": {
                "description": "Gets or sets the emergency attendance discharge destination description.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeLocationCode": {
                "description": "Gets or sets the emergency attendance discharge location code.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeLocationDescription": {
                "description": "Gets or sets the emergency attendance discharge location description.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeBedCode": {
                "description": "Gets or sets the emergency attendance discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "AttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the attendance date time.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "EmergencyDischarges": {
      "description": "Gets or sets the emergency discharges.",
      "type": "object",
      "properties": {
        "EmergencyDischargeCollection": {
          "description": "Gets or sets the emergency discharge collection.",
          "type": "array",
          "items": {
            "description": "EmergencyDischarge information.",
            "type": "object",
            "properties": {
              "DischargeDateTime": {
                "format": "date-time",
                "description": "Gets or sets the discharge date time.",
                "type": "string"
              },
              "DischargeMethodCode": {
                "description": "Gets or sets the discharge method code.",
                "type": "string"
              },
              "DischargeMethodDescription": {
                "description": "Gets or sets the discharge method description.",
                "type": "string"
              },
              "DischargeDestinationCode": {
                "description": "Gets or sets the discharge destination code.",
                "type": "string"
              },
              "DischargeDestinationDescription": {
                "description": "Gets or sets the discharge destination description.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "DischargeLocationCode": {
                "description": "Gets or sets the discharge location code.",
                "type": "string"
              },
              "DischargeLocationDescription": {
                "description": "Gets or sets the discharge location description.",
                "type": "string"
              },
              "DischargeBedCode": {
                "description": "Gets or sets the discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "AttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the attendance date time.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientAppointments": {
      "description": "Gets or sets the outpatient appointments.",
      "type": "object",
      "properties": {
        "OutpatientAppointmentCollection": {
          "description": "Gets or sets the outpatient appointment collection.",
          "type": "array",
          "items": {
            "description": "OutpatientAppointment information.",
            "type": "object",
            "properties": {
              "OutpatientAttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the outpatient attendance date time.",
                "type": "string"
              },
              "OutpatientClinicCode": {
                "description": "Gets or sets the outpatient clinic code.",
                "type": "string"
              },
              "OutpatientClinicDescription": {
                "description": "Gets or sets the outpatient clinic description.",
                "type": "string"
              },
              "OutpatientBedCode": {
                "description": "Gets or sets the outpatient bed code.",
                "type": "string"
              },
              "OutpatientAttendanceCode": {
                "description": "Gets or sets the outpatient attendance code.",
                "type": "string"
              },
              "OutpatientAttendanceTypeDescription": {
                "description": "Gets or sets the outpatient attendance type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireEmergencyAttendances": {
      "description": "Gets or sets the cheshire emergency attendances.",
      "type": "object",
      "properties": {
        "CheshireEmergencyAttendanceCollection": {
          "description": "Gets or sets the cheshire emergency attendance collection.",
          "type": "array",
          "items": {
            "description": "CheshireEmergencyAttendance information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "ArrivalMethod": {
                "description": "Gets or sets the arrival method.",
                "type": "string"
              },
              "DischargeDescription": {
                "description": "Gets or sets the discharge description.",
                "type": "string"
              },
              "DiagnosisDescription": {
                "description": "Gets or sets the diagnosis description.",
                "type": "string"
              },
              "TreatmentDescription": {
                "description": "Gets or sets the treatment description.",
                "type": "string"
              },
              "InvestigationDescription": {
                "description": "Gets or sets the investigation description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireInpatientWaitingLists": {
      "description": "Gets or sets the cheshire inpatient waiting lists.",
      "type": "object",
      "properties": {
        "CheshireInpatientWaitingListCollection": {
          "description": "Gets or sets the cheshire inpatient waiting list collection.",
          "type": "array",
          "items": {
            "description": "CheshireInpatientWaitingList information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "AddedToWaitingListDateTime": {
                "format": "date-time",
                "description": "Gets or sets the added to waiting list date time.",
                "type": "string"
              },
              "ConsultantName": {
                "description": "Gets or sets the name of the consultant.",
                "type": "string"
              },
              "WaitingListStatus": {
                "description": "Gets or sets the waiting list status.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "StayType": {
                "description": "Gets or sets the stay type.",
                "type": "string"
              },
              "ProposedOperationName": {
                "description": "Gets or sets the name of the proposed operation.",
                "type": "string"
              },
              "WaitingListNotes": {
                "description": "Gets or sets the waiting list notes.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireInpatientSpells": {
      "description": "Gets or sets the cheshire inpatient spells.",
      "type": "object",
      "properties": {
        "CheshireInpatientSpellCollection": {
          "description": "Gets or sets the cheshire inpatient spell collection.",
          "type": "array",
          "items": {
            "description": "CheshireInpatientSpell information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "AdmissionDateTime": {
                "format": "date-time",
                "description": "Gets or sets the admission date time.",
                "type": "string"
              },
              "DischargeDateTime": {
                "format": "date-time",
                "description": "Gets or sets the discharge date time.",
                "type": "string"
              },
              "LengthOfStay": {
                "description": "Gets or sets the length of stay.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "AdmissionTypeDescription": {
                "description": "Gets or sets the admission type description.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ProcedureDescription": {
                "description": "Gets or sets the procedure description.",
                "type": "string"
              },
              "DiagnosisDescription": {
                "description": "Gets or sets the diagnosis description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientAttendances": {
      "description": "Gets or sets the cheshire outpatient attendances.",
      "type": "object",
      "properties": {
        "CheshireOutpatientAttendances": {
          "description": "Gets or sets the cheshire outpatient attendances.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientAttendance information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "AttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the attendance date time.",
                "type": "string"
              },
              "ClinicDescription": {
                "description": "Gets or sets the clinic description.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "AppointmentPriority": {
                "description": "Gets or sets the appointment priority.",
                "type": "string"
              },
              "AttendanceType": {
                "description": "Gets or sets the type of the attendance.",
                "type": "string"
              },
              "AppointmentOutcome": {
                "description": "Gets or sets the appointment outcome.",
                "type": "string"
              },
              "ClinicLead": {
                "description": "Gets or sets the clinic lead.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientFutureAppointments": {
      "description": "Gets or sets the cheshire outpatient future appointments.",
      "type": "object",
      "properties": {
        "CheshireOutpatientFutureAppointmentsCollection": {
          "description": "Gets or sets the cheshire outpatient future appointments collection.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientFutureAppointment information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "FutureAppointmentDateTime": {
                "format": "date-time",
                "description": "Gets or sets the future appointment date time.",
                "type": "string"
              },
              "ClinicDescription": {
                "description": "Gets or sets the clinic description.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "AppointmentPriority": {
                "description": "Gets or sets the appointment priority.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientNonAttendances": {
      "description": "Gets or sets the cheshire outpatient non attendances.",
      "type": "object",
      "properties": {
        "CheshireOutpatientNonAttendanceCollection": {
          "description": "Gets or sets the cheshire outpatient non attendance collection.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientNonAttendance information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "NonAttendanceReason": {
                "description": "Gets or sets the non attendance reason.",
                "type": "string"
              },
              "NonAttendanceType": {
                "description": "Gets or sets the type of the non attendance.",
                "type": "string"
              },
              "ClinicSpecialty": {
                "description": "Gets or sets the clinic specialty.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientReferrals": {
      "description": "Gets or sets the cheshire outpatient referrals.",
      "type": "object",
      "properties": {
        "CheshireOutpatientReferrals": {
          "description": "Gets or sets the cheshire outpatient referrals.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientReferral information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "OriginatingReferralIdentifier": {
                "description": "Gets or sets the originating referral identifier.",
                "type": "string"
              },
              "NextAppointmentDateTime": {
                "format": "date-time",
                "description": "Gets or sets the next appointment date time.",
                "type": "string"
              },
              "NextClinicDescription": {
                "description": "Gets or sets the next clinic description.",
                "type": "string"
              },
              "NextLocationDescription": {
                "description": "Gets or sets the next location description.",
                "type": "string"
              },
              "ReferringDoctorName": {
                "description": "Gets or sets the name of the referring doctor.",
                "type": "string"
              },
              "ReferralStatus": {
                "description": "Gets or sets the referral status.",
                "type": "string"
              },
              "ConsultantName": {
                "description": "Gets or sets the name of the consultant.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireTheatres": {
      "description": "Gets or sets the cheshire theatres.",
      "type": "object",
      "properties": {
        "CheshireTheatresCollection": {
          "description": "Gets or sets the cheshire theatres collection.",
          "type": "array",
          "items": {
            "description": "CheshireTheatres information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "OperationName": {
                "description": "Gets or sets the name of the operation.",
                "type": "string"
              },
              "Anesthetic": {
                "description": "Gets or sets the anesthetic.",
                "type": "string"
              },
              "SurgeryType": {
                "description": "Gets or sets the type of the surgery.",
                "type": "string"
              },
              "SurgeonName": {
                "description": "Gets or sets the name of the surgeon.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    }
  }
}
{
  "InpatientTransfers": {
    "InpatientTransferCollection": [
      {
        "TransferDateTime": "string",
        "TransferDateRecorded": "string",
        "TransferReasonCode": "string",
        "TransferReasonDescription": "string",
        "TransferWardCode": "string",
        "TransferWardDescription": "string",
        "TransferBedCode": "string",
        "TransferConsultantCode": "string",
        "TransferConsultantTitle": "string",
        "TransferConsultantInitials": "string",
        "TransferConsultantSurname": "string",
        "TransferSpecialtyCode": "string",
        "TransferSpecialtyDescription": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "OutpatientDischarges": {
    "OutpatientDischargeCollection": [
      {
        "DateTime": "string",
        "DischargeMethodCode": "string",
        "DischargeMethodDescription": "string",
        "DischargeDestinationCode": "string",
        "DischargeDestinationDescription": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "LocationCode": "string",
        "LocationDescription": "string",
        "BedCode": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "OutpatientAttendances": {
    "OutpatientAttendanceCollection": [
      {
        "UniqueIdentifier": "string",
        "DateTime": "string",
        "LocationCode": "string",
        "LocationDescription": "string",
        "BedCode": "string",
        "OutpatientAttendanceCode": "string",
        "OutpatientAttendanceTypeDescription": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "ReadmissionCode": "string",
        "ReadmissionDescription": "string",
        "AdmissionSourceCode": "string",
        "AdmissionSourceDescription": "string",
        "AdmissionCategoryCode": "string",
        "AdmissionCategoryDescription": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "OutpatientReferrals": {
    "OutpatientReferralCollection": [
      {
        "ExpectedAttendanceDateTime": "string",
        "LocationCode": "string",
        "LocationDescription": "string",
        "BedCode": "string",
        "OutpatientAttendanceCode": "string",
        "OutpatientAttendanceTypeDescription": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "ReadmissionCode": "string",
        "ReadmissionDescription": "string",
        "AdmissionSourceCode": "string",
        "AdmissionSourceDescription": "string",
        "AdmissionCategoryCode": "string",
        "AdmissionCategoryDescription": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "ReferralOutcome": "string",
        "OriginatingReferralIdentifier": "string",
        "DateTime": "string",
        "ProcessDateTime": "string",
        "ExternalReferralIdentifier": "string",
        "ReferralPriorityCode": "string",
        "ReferralPriorityDescription": "string",
        "ReferralTypeCode": "string",
        "ReferralTypeDescription": "string",
        "ReferralDispositionCode": "string",
        "ReferralDispositionDescription": "string",
        "ReferralCategoryCode": "string",
        "ReferralCategoryDescription": "string",
        "ExpirationDateTime": "string",
        "ReferralReasonCode": "string",
        "ReferralReasonDescription": "string",
        "Notes": [
          {
            "SetId": "string",
            "SourceOfComment": "string",
            "Comment": "string",
            "CommentType": "string"
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "InpatientAdmissions": {
    "InpatientAdmissionCollection": [
      {
        "DateTime": "string",
        "WardCode": "string",
        "WardDescription": "string",
        "BedCode": "string",
        "AdmissionTypeCode": "string",
        "AdmissionTypeDescription": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "ReadmissionCode": "string",
        "ReadmissionDescription": "string",
        "AdmissionSourceCode": "string",
        "AdmissionSourceDescription": "string",
        "AdmissionCategoryCode": "string",
        "AdmissionCategoryDescription": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "InpatientDischarges": {
    "InpatientDischargeCollection": [
      {
        "DateTime": "string",
        "DischargeMethodCode": "string",
        "DischargeMethodDescription": "string",
        "DischargeDestinationCode": "string",
        "DischargeDestinationDescription": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "DischargeWardCode": "string",
        "DischargeWardDescription": "string",
        "DischargeBedCode": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "InpatientWaitingLists": {
    "InpatientWaitingListCollection": [
      {
        "DateTime": "string",
        "WardCode": "string",
        "WardDescription": "string",
        "BedCode": "string",
        "AdmissionTypeCode": "string",
        "AdmissionTypeDescription": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "ReadmissionCode": "string",
        "ReadmissionDescription": "string",
        "AdmissionSourceCode": "string",
        "AdmissionSourceDescription": "string",
        "AdmissionCategoryCode": "string",
        "AdmissionCategoryDescription": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "ReferralOutcome": "string",
        "OriginatingReferralIdentifier": "string",
        "EffectiveDateTime": "string",
        "ProcessDateTime": "string",
        "ExternalReferralIdentifier": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "EmergencyAttendances": {
    "EmergencyAttendanceCollection": [
      {
        "EmergencyAttendanceDischargeDate": "string",
        "EmergencyAttendanceDischargeCode": "string",
        "EmergencyAttendanceDischargeDescription": "string",
        "EmergencyAttendanceDischargeDestinationCode": "string",
        "EmergencyAttendanceDischargeDestinationDescription": "string",
        "EmergencyAttendanceDischargeLocationCode": "string",
        "EmergencyAttendanceDischargeLocationDescription": "string",
        "EmergencyAttendanceDischargeBedCode": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "AttendanceDateTime": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "EmergencyDischarges": {
    "EmergencyDischargeCollection": [
      {
        "DischargeDateTime": "string",
        "DischargeMethodCode": "string",
        "DischargeMethodDescription": "string",
        "DischargeDestinationCode": "string",
        "DischargeDestinationDescription": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "DischargeLocationCode": "string",
        "DischargeLocationDescription": "string",
        "DischargeBedCode": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "AttendanceDateTime": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "OutpatientAppointments": {
    "OutpatientAppointmentCollection": [
      {
        "OutpatientAttendanceDateTime": "string",
        "OutpatientClinicCode": "string",
        "OutpatientClinicDescription": "string",
        "OutpatientBedCode": "string",
        "OutpatientAttendanceCode": "string",
        "OutpatientAttendanceTypeDescription": "string",
        "ReferringDoctorCode": "string",
        "ReferringDoctorTitle": "string",
        "ReferringDoctorInitials": "string",
        "ReferringDoctorSurname": "string",
        "AdmittingDoctorCode": "string",
        "AdmittingDoctorTitle": "string",
        "AdmittingDoctorInitials": "string",
        "AdmittingDoctorSurname": "string",
        "AttendingDoctorCode": "string",
        "AttendingDoctorTitle": "string",
        "AttendingDoctorInitials": "string",
        "AttendingDoctorSurname": "string",
        "ConsultantCode": "string",
        "ConsultantTitle": "string",
        "ConsultantInitials": "string",
        "ConsultantSurname": "string",
        "SpecialtyCode": "string",
        "SpecialtyDescription": "string",
        "ReadmissionCode": "string",
        "ReadmissionDescription": "string",
        "AdmissionSourceCode": "string",
        "AdmissionSourceDescription": "string",
        "AdmissionCategoryCode": "string",
        "AdmissionCategoryDescription": "string",
        "AdmissionReasonCode": "string",
        "AdmissionReasonDescription": "string",
        "ExpectedDischargeDate": "string",
        "Diagnoses": [
          {
            "SetId": "string",
            "Code": "string",
            "Description": "string",
            "DateTime": "string",
            "Clinicians": [
              {
                "Id": "string",
                "Forename": "string",
                "Surname": "string",
                "Title": "string"
              }
            ],
            "Procedures": [
              {
                "SetId": "string",
                "Code": "string",
                "Description": "string",
                "DateTime": "string",
                "Practitioners": [
                  {
                    "Id": "string",
                    "Forename": "string",
                    "Surname": "string",
                    "Title": "string"
                  }
                ]
              }
            ]
          }
        ],
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireEmergencyAttendances": {
    "CheshireEmergencyAttendanceCollection": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "ArrivalMethod": "string",
        "DischargeDescription": "string",
        "DiagnosisDescription": "string",
        "TreatmentDescription": "string",
        "InvestigationDescription": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireInpatientWaitingLists": {
    "CheshireInpatientWaitingListCollection": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "AddedToWaitingListDateTime": "string",
        "ConsultantName": "string",
        "WaitingListStatus": "string",
        "SpecialtyDescription": "string",
        "StayType": "string",
        "ProposedOperationName": "string",
        "WaitingListNotes": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireInpatientSpells": {
    "CheshireInpatientSpellCollection": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "AdmissionDateTime": "string",
        "DischargeDateTime": "string",
        "LengthOfStay": "string",
        "SpecialtyDescription": "string",
        "AdmissionTypeDescription": "string",
        "AdmissionReasonDescription": "string",
        "ProcedureDescription": "string",
        "DiagnosisDescription": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireOutpatientAttendances": {
    "CheshireOutpatientAttendances": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "AttendanceDateTime": "string",
        "ClinicDescription": "string",
        "SpecialtyDescription": "string",
        "LocationDescription": "string",
        "AppointmentPriority": "string",
        "AttendanceType": "string",
        "AppointmentOutcome": "string",
        "ClinicLead": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireOutpatientFutureAppointments": {
    "CheshireOutpatientFutureAppointmentsCollection": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "FutureAppointmentDateTime": "string",
        "ClinicDescription": "string",
        "LocationDescription": "string",
        "AppointmentPriority": "string",
        "SpecialtyDescription": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireOutpatientNonAttendances": {
    "CheshireOutpatientNonAttendanceCollection": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "NonAttendanceReason": "string",
        "NonAttendanceType": "string",
        "ClinicSpecialty": "string",
        "LocationDescription": "string",
        "SpecialtyDescription": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireOutpatientReferrals": {
    "CheshireOutpatientReferrals": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "OriginatingReferralIdentifier": "string",
        "NextAppointmentDateTime": "string",
        "NextClinicDescription": "string",
        "NextLocationDescription": "string",
        "ReferringDoctorName": "string",
        "ReferralStatus": "string",
        "ConsultantName": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  },
  "CheshireTheatres": {
    "CheshireTheatresCollection": [
      {
        "UniqueId": "string",
        "ActivityId": "string",
        "ActivityDateTime": "string",
        "OperationName": "string",
        "Anesthetic": "string",
        "SurgeryType": "string",
        "SurgeonName": "string",
        "TenancyDescription": "string"
      }
    ],
    "TotalItemCount": 0
  }
}
{
  "description": "HospitalActivitySummaryResult information.",
  "type": "object",
  "properties": {
    "InpatientTransfers": {
      "description": "Gets or sets the inpatient transfers.",
      "type": "object",
      "properties": {
        "InpatientTransferCollection": {
          "description": "Gets or sets the inpatient transfer collection.",
          "type": "array",
          "items": {
            "description": "InpatientTransferResults information.",
            "type": "object",
            "properties": {
              "TransferDateTime": {
                "format": "date-time",
                "description": "Gets or sets the transfer date time.",
                "type": "string"
              },
              "TransferDateRecorded": {
                "format": "date-time",
                "description": "Gets or sets the transfer date recorded.",
                "type": "string"
              },
              "TransferReasonCode": {
                "description": "Gets or sets the transfer reason code.",
                "type": "string"
              },
              "TransferReasonDescription": {
                "description": "Gets or sets the transfer reason description.",
                "type": "string"
              },
              "TransferWardCode": {
                "description": "Gets or sets the transfer ward code.",
                "type": "string"
              },
              "TransferWardDescription": {
                "description": "Gets or sets the transfer ward description.",
                "type": "string"
              },
              "TransferBedCode": {
                "description": "Gets or sets the transfer bed code.",
                "type": "string"
              },
              "TransferConsultantCode": {
                "description": "Gets or sets the transfer consultant code.",
                "type": "string"
              },
              "TransferConsultantTitle": {
                "description": "Gets or sets the transfer consultant title.",
                "type": "string"
              },
              "TransferConsultantInitials": {
                "description": "Gets or sets the transfer consultant initials.",
                "type": "string"
              },
              "TransferConsultantSurname": {
                "description": "Gets or sets the transfer consultant surname.",
                "type": "string"
              },
              "TransferSpecialtyCode": {
                "description": "Gets or sets the transfer specialty code.",
                "type": "string"
              },
              "TransferSpecialtyDescription": {
                "description": "Gets or sets the transfer specialty description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientDischarges": {
      "description": "Gets or sets the outpatient discharges.",
      "type": "object",
      "properties": {
        "OutpatientDischargeCollection": {
          "description": "Gets or sets the outpatient discharge collection.",
          "type": "array",
          "items": {
            "description": "OutpatientDischarge information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "DischargeMethodCode": {
                "description": "Gets or sets the discharge method code.",
                "type": "string"
              },
              "DischargeMethodDescription": {
                "description": "Gets or sets the discharge method description.",
                "type": "string"
              },
              "DischargeDestinationCode": {
                "description": "Gets or sets the discharge destination code.",
                "type": "string"
              },
              "DischargeDestinationDescription": {
                "description": "Gets or sets the discharge destination description.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "LocationCode": {
                "description": "Gets or sets the discharge ward code.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the discharge ward description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientAttendances": {
      "description": "Gets or sets the outpatient attendances.",
      "type": "object",
      "properties": {
        "OutpatientAttendanceCollection": {
          "description": "Gets or sets the outpatient attendance collection.",
          "type": "array",
          "items": {
            "description": "OutpatientAttendance information.",
            "type": "object",
            "properties": {
              "UniqueIdentifier": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "LocationCode": {
                "description": "Gets or sets the location code.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "OutpatientAttendanceCode": {
                "description": "Gets or sets the outpatient attendance code.",
                "type": "string"
              },
              "OutpatientAttendanceTypeDescription": {
                "description": "Gets or sets the outpatient attendance type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientReferrals": {
      "description": "Gets or sets the outpatient referrals.",
      "type": "object",
      "properties": {
        "OutpatientReferralCollection": {
          "description": "Gets or sets the outpatient referral collection.",
          "type": "array",
          "items": {
            "description": "OutpatientReferral information.",
            "type": "object",
            "properties": {
              "ExpectedAttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the expected attendance date time.",
                "type": "string"
              },
              "LocationCode": {
                "description": "Gets or sets the location code.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "OutpatientAttendanceCode": {
                "description": "Gets or sets the outpatient attendance code.",
                "type": "string"
              },
              "OutpatientAttendanceTypeDescription": {
                "description": "Gets or sets the outpatient attendance type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "ReferralOutcome": {
                "description": "Gets or sets the referral outcome.",
                "type": "string"
              },
              "OriginatingReferralIdentifier": {
                "description": "Gets or sets the originating referral identifier.",
                "type": "string"
              },
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "ProcessDateTime": {
                "format": "date-time",
                "description": "Gets or sets the process date time.",
                "type": "string"
              },
              "ExternalReferralIdentifier": {
                "description": "Gets or sets the external referral identifier.",
                "type": "string"
              },
              "ReferralPriorityCode": {
                "description": "Gets or sets the referral priority code.",
                "type": "string"
              },
              "ReferralPriorityDescription": {
                "description": "Gets or sets the referral priority description.",
                "type": "string"
              },
              "ReferralTypeCode": {
                "description": "Gets or sets the referral type code.",
                "type": "string"
              },
              "ReferralTypeDescription": {
                "description": "Gets or sets the referral type description.",
                "type": "string"
              },
              "ReferralDispositionCode": {
                "description": "Gets or sets the referral disposition code.",
                "type": "string"
              },
              "ReferralDispositionDescription": {
                "description": "Gets or sets the referral disposition description.",
                "type": "string"
              },
              "ReferralCategoryCode": {
                "description": "Gets or sets the referral category code.",
                "type": "string"
              },
              "ReferralCategoryDescription": {
                "description": "Gets or sets the referral category description.",
                "type": "string"
              },
              "ExpirationDateTime": {
                "format": "date-time",
                "description": "Gets or sets the expiration date time.",
                "type": "string"
              },
              "ReferralReasonCode": {
                "description": "Gets or sets the referral reason code.",
                "type": "string"
              },
              "ReferralReasonDescription": {
                "description": "Gets or sets the referral reason description.",
                "type": "string"
              },
              "Notes": {
                "description": "Gets or sets the notes.",
                "type": "array",
                "items": {
                  "description": "A single note.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set id.",
                      "type": "string"
                    },
                    "SourceOfComment": {
                      "description": "Gets or sets the source of comment.",
                      "type": "string"
                    },
                    "Comment": {
                      "description": "Gets or sets the comment.",
                      "type": "string"
                    },
                    "CommentType": {
                      "description": "Gets or sets the comment type.",
                      "type": "string"
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "InpatientAdmissions": {
      "description": "Gets or sets the inpatient admissions.",
      "type": "object",
      "properties": {
        "InpatientAdmissionCollection": {
          "description": "Gets or sets the inpatient admission collection.",
          "type": "array",
          "items": {
            "description": "InpatientAdmission information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "WardCode": {
                "description": "Gets or sets the ward code.",
                "type": "string"
              },
              "WardDescription": {
                "description": "Gets or sets the ward description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "AdmissionTypeCode": {
                "description": "Gets or sets the admission type code.",
                "type": "string"
              },
              "AdmissionTypeDescription": {
                "description": "Gets or sets the admission type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "InpatientDischarges": {
      "description": "Gets or sets the inpatient discharges.",
      "type": "object",
      "properties": {
        "InpatientDischargeCollection": {
          "description": "Gets or sets the inpatient discharge collection.",
          "type": "array",
          "items": {
            "description": "InpatientDischarge information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "DischargeMethodCode": {
                "description": "Gets or sets the discharge method code.",
                "type": "string"
              },
              "DischargeMethodDescription": {
                "description": "Gets or sets the discharge method description.",
                "type": "string"
              },
              "DischargeDestinationCode": {
                "description": "Gets or sets the discharge destination code.",
                "type": "string"
              },
              "DischargeDestinationDescription": {
                "description": "Gets or sets the discharge destination description.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "DischargeWardCode": {
                "description": "Gets or sets the discharge ward code.",
                "type": "string"
              },
              "DischargeWardDescription": {
                "description": "Gets or sets the discharge ward description.",
                "type": "string"
              },
              "DischargeBedCode": {
                "description": "Gets or sets the discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "InpatientWaitingLists": {
      "description": "Gets or sets the inpatient waiting lists.",
      "type": "object",
      "properties": {
        "InpatientWaitingListCollection": {
          "description": "Gets or sets the inpatient waiting list collection.",
          "type": "array",
          "items": {
            "description": "InpatientWaitingList information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "WardCode": {
                "description": "Gets or sets the ward code.",
                "type": "string"
              },
              "WardDescription": {
                "description": "Gets or sets the ward description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "AdmissionTypeCode": {
                "description": "Gets or sets the admission type code.",
                "type": "string"
              },
              "AdmissionTypeDescription": {
                "description": "Gets or sets the admission type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "ReferralOutcome": {
                "description": "Gets or sets the referral outcome.",
                "type": "string"
              },
              "OriginatingReferralIdentifier": {
                "description": "Gets or sets the originating referral identifier.",
                "type": "string"
              },
              "EffectiveDateTime": {
                "format": "date-time",
                "description": "Gets or sets the effective date time.",
                "type": "string"
              },
              "ProcessDateTime": {
                "format": "date-time",
                "description": "Gets or sets the process date time.",
                "type": "string"
              },
              "ExternalReferralIdentifier": {
                "description": "Gets or sets the external referral identifier.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "EmergencyAttendances": {
      "description": "Gets or sets the emergency attendances.",
      "type": "object",
      "properties": {
        "EmergencyAttendanceCollection": {
          "description": "Gets or sets the emergency attendance collection.",
          "type": "array",
          "items": {
            "description": "EmergencyAttendance information.",
            "type": "object",
            "properties": {
              "EmergencyAttendanceDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the emergency attendance discharge date.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeCode": {
                "description": "Gets or sets the emergency attendance discharge code.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeDescription": {
                "description": "Gets or sets the emergency attendance discharge description.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeDestinationCode": {
                "description": "Gets or sets the emergency attendance discharge destination code.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeDestinationDescription": {
                "description": "Gets or sets the emergency attendance discharge destination description.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeLocationCode": {
                "description": "Gets or sets the emergency attendance discharge location code.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeLocationDescription": {
                "description": "Gets or sets the emergency attendance discharge location description.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeBedCode": {
                "description": "Gets or sets the emergency attendance discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "AttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the attendance date time.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "EmergencyDischarges": {
      "description": "Gets or sets the emergency discharges.",
      "type": "object",
      "properties": {
        "EmergencyDischargeCollection": {
          "description": "Gets or sets the emergency discharge collection.",
          "type": "array",
          "items": {
            "description": "EmergencyDischarge information.",
            "type": "object",
            "properties": {
              "DischargeDateTime": {
                "format": "date-time",
                "description": "Gets or sets the discharge date time.",
                "type": "string"
              },
              "DischargeMethodCode": {
                "description": "Gets or sets the discharge method code.",
                "type": "string"
              },
              "DischargeMethodDescription": {
                "description": "Gets or sets the discharge method description.",
                "type": "string"
              },
              "DischargeDestinationCode": {
                "description": "Gets or sets the discharge destination code.",
                "type": "string"
              },
              "DischargeDestinationDescription": {
                "description": "Gets or sets the discharge destination description.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "DischargeLocationCode": {
                "description": "Gets or sets the discharge location code.",
                "type": "string"
              },
              "DischargeLocationDescription": {
                "description": "Gets or sets the discharge location description.",
                "type": "string"
              },
              "DischargeBedCode": {
                "description": "Gets or sets the discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "AttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the attendance date time.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientAppointments": {
      "description": "Gets or sets the outpatient appointments.",
      "type": "object",
      "properties": {
        "OutpatientAppointmentCollection": {
          "description": "Gets or sets the outpatient appointment collection.",
          "type": "array",
          "items": {
            "description": "OutpatientAppointment information.",
            "type": "object",
            "properties": {
              "OutpatientAttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the outpatient attendance date time.",
                "type": "string"
              },
              "OutpatientClinicCode": {
                "description": "Gets or sets the outpatient clinic code.",
                "type": "string"
              },
              "OutpatientClinicDescription": {
                "description": "Gets or sets the outpatient clinic description.",
                "type": "string"
              },
              "OutpatientBedCode": {
                "description": "Gets or sets the outpatient bed code.",
                "type": "string"
              },
              "OutpatientAttendanceCode": {
                "description": "Gets or sets the outpatient attendance code.",
                "type": "string"
              },
              "OutpatientAttendanceTypeDescription": {
                "description": "Gets or sets the outpatient attendance type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireEmergencyAttendances": {
      "description": "Gets or sets the cheshire emergency attendances.",
      "type": "object",
      "properties": {
        "CheshireEmergencyAttendanceCollection": {
          "description": "Gets or sets the cheshire emergency attendance collection.",
          "type": "array",
          "items": {
            "description": "CheshireEmergencyAttendance information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "ArrivalMethod": {
                "description": "Gets or sets the arrival method.",
                "type": "string"
              },
              "DischargeDescription": {
                "description": "Gets or sets the discharge description.",
                "type": "string"
              },
              "DiagnosisDescription": {
                "description": "Gets or sets the diagnosis description.",
                "type": "string"
              },
              "TreatmentDescription": {
                "description": "Gets or sets the treatment description.",
                "type": "string"
              },
              "InvestigationDescription": {
                "description": "Gets or sets the investigation description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireInpatientWaitingLists": {
      "description": "Gets or sets the cheshire inpatient waiting lists.",
      "type": "object",
      "properties": {
        "CheshireInpatientWaitingListCollection": {
          "description": "Gets or sets the cheshire inpatient waiting list collection.",
          "type": "array",
          "items": {
            "description": "CheshireInpatientWaitingList information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "AddedToWaitingListDateTime": {
                "format": "date-time",
                "description": "Gets or sets the added to waiting list date time.",
                "type": "string"
              },
              "ConsultantName": {
                "description": "Gets or sets the name of the consultant.",
                "type": "string"
              },
              "WaitingListStatus": {
                "description": "Gets or sets the waiting list status.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "StayType": {
                "description": "Gets or sets the stay type.",
                "type": "string"
              },
              "ProposedOperationName": {
                "description": "Gets or sets the name of the proposed operation.",
                "type": "string"
              },
              "WaitingListNotes": {
                "description": "Gets or sets the waiting list notes.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireInpatientSpells": {
      "description": "Gets or sets the cheshire inpatient spells.",
      "type": "object",
      "properties": {
        "CheshireInpatientSpellCollection": {
          "description": "Gets or sets the cheshire inpatient spell collection.",
          "type": "array",
          "items": {
            "description": "CheshireInpatientSpell information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "AdmissionDateTime": {
                "format": "date-time",
                "description": "Gets or sets the admission date time.",
                "type": "string"
              },
              "DischargeDateTime": {
                "format": "date-time",
                "description": "Gets or sets the discharge date time.",
                "type": "string"
              },
              "LengthOfStay": {
                "description": "Gets or sets the length of stay.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "AdmissionTypeDescription": {
                "description": "Gets or sets the admission type description.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ProcedureDescription": {
                "description": "Gets or sets the procedure description.",
                "type": "string"
              },
              "DiagnosisDescription": {
                "description": "Gets or sets the diagnosis description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientAttendances": {
      "description": "Gets or sets the cheshire outpatient attendances.",
      "type": "object",
      "properties": {
        "CheshireOutpatientAttendances": {
          "description": "Gets or sets the cheshire outpatient attendances.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientAttendance information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "AttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the attendance date time.",
                "type": "string"
              },
              "ClinicDescription": {
                "description": "Gets or sets the clinic description.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "AppointmentPriority": {
                "description": "Gets or sets the appointment priority.",
                "type": "string"
              },
              "AttendanceType": {
                "description": "Gets or sets the type of the attendance.",
                "type": "string"
              },
              "AppointmentOutcome": {
                "description": "Gets or sets the appointment outcome.",
                "type": "string"
              },
              "ClinicLead": {
                "description": "Gets or sets the clinic lead.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientFutureAppointments": {
      "description": "Gets or sets the cheshire outpatient future appointments.",
      "type": "object",
      "properties": {
        "CheshireOutpatientFutureAppointmentsCollection": {
          "description": "Gets or sets the cheshire outpatient future appointments collection.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientFutureAppointment information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "FutureAppointmentDateTime": {
                "format": "date-time",
                "description": "Gets or sets the future appointment date time.",
                "type": "string"
              },
              "ClinicDescription": {
                "description": "Gets or sets the clinic description.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "AppointmentPriority": {
                "description": "Gets or sets the appointment priority.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientNonAttendances": {
      "description": "Gets or sets the cheshire outpatient non attendances.",
      "type": "object",
      "properties": {
        "CheshireOutpatientNonAttendanceCollection": {
          "description": "Gets or sets the cheshire outpatient non attendance collection.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientNonAttendance information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "NonAttendanceReason": {
                "description": "Gets or sets the non attendance reason.",
                "type": "string"
              },
              "NonAttendanceType": {
                "description": "Gets or sets the type of the non attendance.",
                "type": "string"
              },
              "ClinicSpecialty": {
                "description": "Gets or sets the clinic specialty.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientReferrals": {
      "description": "Gets or sets the cheshire outpatient referrals.",
      "type": "object",
      "properties": {
        "CheshireOutpatientReferrals": {
          "description": "Gets or sets the cheshire outpatient referrals.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientReferral information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "OriginatingReferralIdentifier": {
                "description": "Gets or sets the originating referral identifier.",
                "type": "string"
              },
              "NextAppointmentDateTime": {
                "format": "date-time",
                "description": "Gets or sets the next appointment date time.",
                "type": "string"
              },
              "NextClinicDescription": {
                "description": "Gets or sets the next clinic description.",
                "type": "string"
              },
              "NextLocationDescription": {
                "description": "Gets or sets the next location description.",
                "type": "string"
              },
              "ReferringDoctorName": {
                "description": "Gets or sets the name of the referring doctor.",
                "type": "string"
              },
              "ReferralStatus": {
                "description": "Gets or sets the referral status.",
                "type": "string"
              },
              "ConsultantName": {
                "description": "Gets or sets the name of the consultant.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireTheatres": {
      "description": "Gets or sets the cheshire theatres.",
      "type": "object",
      "properties": {
        "CheshireTheatresCollection": {
          "description": "Gets or sets the cheshire theatres collection.",
          "type": "array",
          "items": {
            "description": "CheshireTheatres information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "OperationName": {
                "description": "Gets or sets the name of the operation.",
                "type": "string"
              },
              "Anesthetic": {
                "description": "Gets or sets the anesthetic.",
                "type": "string"
              },
              "SurgeryType": {
                "description": "Gets or sets the type of the surgery.",
                "type": "string"
              },
              "SurgeonName": {
                "description": "Gets or sets the name of the surgeon.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    }
  }
}
<HospitalActivitySummary.Models.HospitalActivitySummaryResult>
  <InpatientTransfers>
    <InpatientTransferCollection>
      <TransferDateTime>string</TransferDateTime>
      <TransferDateRecorded>string</TransferDateRecorded>
      <TransferReasonCode>string</TransferReasonCode>
      <TransferReasonDescription>string</TransferReasonDescription>
      <TransferWardCode>string</TransferWardCode>
      <TransferWardDescription>string</TransferWardDescription>
      <TransferBedCode>string</TransferBedCode>
      <TransferConsultantCode>string</TransferConsultantCode>
      <TransferConsultantTitle>string</TransferConsultantTitle>
      <TransferConsultantInitials>string</TransferConsultantInitials>
      <TransferConsultantSurname>string</TransferConsultantSurname>
      <TransferSpecialtyCode>string</TransferSpecialtyCode>
      <TransferSpecialtyDescription>string</TransferSpecialtyDescription>
      <TenancyDescription>string</TenancyDescription>
    </InpatientTransferCollection>
    <TotalItemCount>0</TotalItemCount>
  </InpatientTransfers>
  <OutpatientDischarges>
    <OutpatientDischargeCollection>
      <DateTime>string</DateTime>
      <DischargeMethodCode>string</DischargeMethodCode>
      <DischargeMethodDescription>string</DischargeMethodDescription>
      <DischargeDestinationCode>string</DischargeDestinationCode>
      <DischargeDestinationDescription>string</DischargeDestinationDescription>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <LocationCode>string</LocationCode>
      <LocationDescription>string</LocationDescription>
      <BedCode>string</BedCode>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </OutpatientDischargeCollection>
    <TotalItemCount>0</TotalItemCount>
  </OutpatientDischarges>
  <OutpatientAttendances>
    <OutpatientAttendanceCollection>
      <UniqueIdentifier>string</UniqueIdentifier>
      <DateTime>string</DateTime>
      <LocationCode>string</LocationCode>
      <LocationDescription>string</LocationDescription>
      <BedCode>string</BedCode>
      <OutpatientAttendanceCode>string</OutpatientAttendanceCode>
      <OutpatientAttendanceTypeDescription>string</OutpatientAttendanceTypeDescription>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <ReadmissionCode>string</ReadmissionCode>
      <ReadmissionDescription>string</ReadmissionDescription>
      <AdmissionSourceCode>string</AdmissionSourceCode>
      <AdmissionSourceDescription>string</AdmissionSourceDescription>
      <AdmissionCategoryCode>string</AdmissionCategoryCode>
      <AdmissionCategoryDescription>string</AdmissionCategoryDescription>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </OutpatientAttendanceCollection>
    <TotalItemCount>0</TotalItemCount>
  </OutpatientAttendances>
  <OutpatientReferrals>
    <OutpatientReferralCollection>
      <ExpectedAttendanceDateTime>string</ExpectedAttendanceDateTime>
      <LocationCode>string</LocationCode>
      <LocationDescription>string</LocationDescription>
      <BedCode>string</BedCode>
      <OutpatientAttendanceCode>string</OutpatientAttendanceCode>
      <OutpatientAttendanceTypeDescription>string</OutpatientAttendanceTypeDescription>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <ReadmissionCode>string</ReadmissionCode>
      <ReadmissionDescription>string</ReadmissionDescription>
      <AdmissionSourceCode>string</AdmissionSourceCode>
      <AdmissionSourceDescription>string</AdmissionSourceDescription>
      <AdmissionCategoryCode>string</AdmissionCategoryCode>
      <AdmissionCategoryDescription>string</AdmissionCategoryDescription>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <ReferralOutcome>string</ReferralOutcome>
      <OriginatingReferralIdentifier>string</OriginatingReferralIdentifier>
      <DateTime>string</DateTime>
      <ProcessDateTime>string</ProcessDateTime>
      <ExternalReferralIdentifier>string</ExternalReferralIdentifier>
      <ReferralPriorityCode>string</ReferralPriorityCode>
      <ReferralPriorityDescription>string</ReferralPriorityDescription>
      <ReferralTypeCode>string</ReferralTypeCode>
      <ReferralTypeDescription>string</ReferralTypeDescription>
      <ReferralDispositionCode>string</ReferralDispositionCode>
      <ReferralDispositionDescription>string</ReferralDispositionDescription>
      <ReferralCategoryCode>string</ReferralCategoryCode>
      <ReferralCategoryDescription>string</ReferralCategoryDescription>
      <ExpirationDateTime>string</ExpirationDateTime>
      <ReferralReasonCode>string</ReferralReasonCode>
      <ReferralReasonDescription>string</ReferralReasonDescription>
      <Notes>
        <SetId>string</SetId>
        <SourceOfComment>string</SourceOfComment>
        <Comment>string</Comment>
        <CommentType>string</CommentType>
      </Notes>
      <TenancyDescription>string</TenancyDescription>
    </OutpatientReferralCollection>
    <TotalItemCount>0</TotalItemCount>
  </OutpatientReferrals>
  <InpatientAdmissions>
    <InpatientAdmissionCollection>
      <DateTime>string</DateTime>
      <WardCode>string</WardCode>
      <WardDescription>string</WardDescription>
      <BedCode>string</BedCode>
      <AdmissionTypeCode>string</AdmissionTypeCode>
      <AdmissionTypeDescription>string</AdmissionTypeDescription>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <ReadmissionCode>string</ReadmissionCode>
      <ReadmissionDescription>string</ReadmissionDescription>
      <AdmissionSourceCode>string</AdmissionSourceCode>
      <AdmissionSourceDescription>string</AdmissionSourceDescription>
      <AdmissionCategoryCode>string</AdmissionCategoryCode>
      <AdmissionCategoryDescription>string</AdmissionCategoryDescription>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </InpatientAdmissionCollection>
    <TotalItemCount>0</TotalItemCount>
  </InpatientAdmissions>
  <InpatientDischarges>
    <InpatientDischargeCollection>
      <DateTime>string</DateTime>
      <DischargeMethodCode>string</DischargeMethodCode>
      <DischargeMethodDescription>string</DischargeMethodDescription>
      <DischargeDestinationCode>string</DischargeDestinationCode>
      <DischargeDestinationDescription>string</DischargeDestinationDescription>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <DischargeWardCode>string</DischargeWardCode>
      <DischargeWardDescription>string</DischargeWardDescription>
      <DischargeBedCode>string</DischargeBedCode>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </InpatientDischargeCollection>
    <TotalItemCount>0</TotalItemCount>
  </InpatientDischarges>
  <InpatientWaitingLists>
    <InpatientWaitingListCollection>
      <DateTime>string</DateTime>
      <WardCode>string</WardCode>
      <WardDescription>string</WardDescription>
      <BedCode>string</BedCode>
      <AdmissionTypeCode>string</AdmissionTypeCode>
      <AdmissionTypeDescription>string</AdmissionTypeDescription>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <ReadmissionCode>string</ReadmissionCode>
      <ReadmissionDescription>string</ReadmissionDescription>
      <AdmissionSourceCode>string</AdmissionSourceCode>
      <AdmissionSourceDescription>string</AdmissionSourceDescription>
      <AdmissionCategoryCode>string</AdmissionCategoryCode>
      <AdmissionCategoryDescription>string</AdmissionCategoryDescription>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <ReferralOutcome>string</ReferralOutcome>
      <OriginatingReferralIdentifier>string</OriginatingReferralIdentifier>
      <EffectiveDateTime>string</EffectiveDateTime>
      <ProcessDateTime>string</ProcessDateTime>
      <ExternalReferralIdentifier>string</ExternalReferralIdentifier>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </InpatientWaitingListCollection>
    <TotalItemCount>0</TotalItemCount>
  </InpatientWaitingLists>
  <EmergencyAttendances>
    <EmergencyAttendanceCollection>
      <EmergencyAttendanceDischargeDate>string</EmergencyAttendanceDischargeDate>
      <EmergencyAttendanceDischargeCode>string</EmergencyAttendanceDischargeCode>
      <EmergencyAttendanceDischargeDescription>string</EmergencyAttendanceDischargeDescription>
      <EmergencyAttendanceDischargeDestinationCode>string</EmergencyAttendanceDischargeDestinationCode>
      <EmergencyAttendanceDischargeDestinationDescription>string</EmergencyAttendanceDischargeDestinationDescription>
      <EmergencyAttendanceDischargeLocationCode>string</EmergencyAttendanceDischargeLocationCode>
      <EmergencyAttendanceDischargeLocationDescription>string</EmergencyAttendanceDischargeLocationDescription>
      <EmergencyAttendanceDischargeBedCode>string</EmergencyAttendanceDischargeBedCode>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <AttendanceDateTime>string</AttendanceDateTime>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </EmergencyAttendanceCollection>
    <TotalItemCount>0</TotalItemCount>
  </EmergencyAttendances>
  <EmergencyDischarges>
    <EmergencyDischargeCollection>
      <DischargeDateTime>string</DischargeDateTime>
      <DischargeMethodCode>string</DischargeMethodCode>
      <DischargeMethodDescription>string</DischargeMethodDescription>
      <DischargeDestinationCode>string</DischargeDestinationCode>
      <DischargeDestinationDescription>string</DischargeDestinationDescription>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <DischargeLocationCode>string</DischargeLocationCode>
      <DischargeLocationDescription>string</DischargeLocationDescription>
      <DischargeBedCode>string</DischargeBedCode>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <AttendanceDateTime>string</AttendanceDateTime>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </EmergencyDischargeCollection>
    <TotalItemCount>0</TotalItemCount>
  </EmergencyDischarges>
  <OutpatientAppointments>
    <OutpatientAppointmentCollection>
      <OutpatientAttendanceDateTime>string</OutpatientAttendanceDateTime>
      <OutpatientClinicCode>string</OutpatientClinicCode>
      <OutpatientClinicDescription>string</OutpatientClinicDescription>
      <OutpatientBedCode>string</OutpatientBedCode>
      <OutpatientAttendanceCode>string</OutpatientAttendanceCode>
      <OutpatientAttendanceTypeDescription>string</OutpatientAttendanceTypeDescription>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <ReadmissionCode>string</ReadmissionCode>
      <ReadmissionDescription>string</ReadmissionDescription>
      <AdmissionSourceCode>string</AdmissionSourceCode>
      <AdmissionSourceDescription>string</AdmissionSourceDescription>
      <AdmissionCategoryCode>string</AdmissionCategoryCode>
      <AdmissionCategoryDescription>string</AdmissionCategoryDescription>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </OutpatientAppointmentCollection>
    <TotalItemCount>0</TotalItemCount>
  </OutpatientAppointments>
  <CheshireEmergencyAttendances>
    <CheshireEmergencyAttendanceCollection>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <ArrivalMethod>string</ArrivalMethod>
      <DischargeDescription>string</DischargeDescription>
      <DiagnosisDescription>string</DiagnosisDescription>
      <TreatmentDescription>string</TreatmentDescription>
      <InvestigationDescription>string</InvestigationDescription>
      <TenancyDescription>string</TenancyDescription>
    </CheshireEmergencyAttendanceCollection>
    <TotalItemCount>0</TotalItemCount>
  </CheshireEmergencyAttendances>
  <CheshireInpatientWaitingLists>
    <CheshireInpatientWaitingListCollection>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <AddedToWaitingListDateTime>string</AddedToWaitingListDateTime>
      <ConsultantName>string</ConsultantName>
      <WaitingListStatus>string</WaitingListStatus>
      <SpecialtyDescription>string</SpecialtyDescription>
      <StayType>string</StayType>
      <ProposedOperationName>string</ProposedOperationName>
      <WaitingListNotes>string</WaitingListNotes>
      <TenancyDescription>string</TenancyDescription>
    </CheshireInpatientWaitingListCollection>
    <TotalItemCount>0</TotalItemCount>
  </CheshireInpatientWaitingLists>
  <CheshireInpatientSpells>
    <CheshireInpatientSpellCollection>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <AdmissionDateTime>string</AdmissionDateTime>
      <DischargeDateTime>string</DischargeDateTime>
      <LengthOfStay>string</LengthOfStay>
      <SpecialtyDescription>string</SpecialtyDescription>
      <AdmissionTypeDescription>string</AdmissionTypeDescription>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ProcedureDescription>string</ProcedureDescription>
      <DiagnosisDescription>string</DiagnosisDescription>
      <TenancyDescription>string</TenancyDescription>
    </CheshireInpatientSpellCollection>
    <TotalItemCount>0</TotalItemCount>
  </CheshireInpatientSpells>
  <CheshireOutpatientAttendances>
    <CheshireOutpatientAttendances>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <AttendanceDateTime>string</AttendanceDateTime>
      <ClinicDescription>string</ClinicDescription>
      <SpecialtyDescription>string</SpecialtyDescription>
      <LocationDescription>string</LocationDescription>
      <AppointmentPriority>string</AppointmentPriority>
      <AttendanceType>string</AttendanceType>
      <AppointmentOutcome>string</AppointmentOutcome>
      <ClinicLead>string</ClinicLead>
      <TenancyDescription>string</TenancyDescription>
    </CheshireOutpatientAttendances>
    <TotalItemCount>0</TotalItemCount>
  </CheshireOutpatientAttendances>
  <CheshireOutpatientFutureAppointments>
    <CheshireOutpatientFutureAppointmentsCollection>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <FutureAppointmentDateTime>string</FutureAppointmentDateTime>
      <ClinicDescription>string</ClinicDescription>
      <LocationDescription>string</LocationDescription>
      <AppointmentPriority>string</AppointmentPriority>
      <SpecialtyDescription>string</SpecialtyDescription>
      <TenancyDescription>string</TenancyDescription>
    </CheshireOutpatientFutureAppointmentsCollection>
    <TotalItemCount>0</TotalItemCount>
  </CheshireOutpatientFutureAppointments>
  <CheshireOutpatientNonAttendances>
    <CheshireOutpatientNonAttendanceCollection>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <NonAttendanceReason>string</NonAttendanceReason>
      <NonAttendanceType>string</NonAttendanceType>
      <ClinicSpecialty>string</ClinicSpecialty>
      <LocationDescription>string</LocationDescription>
      <SpecialtyDescription>string</SpecialtyDescription>
      <TenancyDescription>string</TenancyDescription>
    </CheshireOutpatientNonAttendanceCollection>
    <TotalItemCount>0</TotalItemCount>
  </CheshireOutpatientNonAttendances>
  <CheshireOutpatientReferrals>
    <CheshireOutpatientReferrals>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <OriginatingReferralIdentifier>string</OriginatingReferralIdentifier>
      <NextAppointmentDateTime>string</NextAppointmentDateTime>
      <NextClinicDescription>string</NextClinicDescription>
      <NextLocationDescription>string</NextLocationDescription>
      <ReferringDoctorName>string</ReferringDoctorName>
      <ReferralStatus>string</ReferralStatus>
      <ConsultantName>string</ConsultantName>
      <TenancyDescription>string</TenancyDescription>
    </CheshireOutpatientReferrals>
    <TotalItemCount>0</TotalItemCount>
  </CheshireOutpatientReferrals>
  <CheshireTheatres>
    <CheshireTheatresCollection>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <OperationName>string</OperationName>
      <Anesthetic>string</Anesthetic>
      <SurgeryType>string</SurgeryType>
      <SurgeonName>string</SurgeonName>
      <TenancyDescription>string</TenancyDescription>
    </CheshireTheatresCollection>
    <TotalItemCount>0</TotalItemCount>
  </CheshireTheatres>
</HospitalActivitySummary.Models.HospitalActivitySummaryResult>
{
  "description": "HospitalActivitySummaryResult information.",
  "type": "object",
  "properties": {
    "InpatientTransfers": {
      "description": "Gets or sets the inpatient transfers.",
      "type": "object",
      "properties": {
        "InpatientTransferCollection": {
          "description": "Gets or sets the inpatient transfer collection.",
          "type": "array",
          "items": {
            "description": "InpatientTransferResults information.",
            "type": "object",
            "properties": {
              "TransferDateTime": {
                "format": "date-time",
                "description": "Gets or sets the transfer date time.",
                "type": "string"
              },
              "TransferDateRecorded": {
                "format": "date-time",
                "description": "Gets or sets the transfer date recorded.",
                "type": "string"
              },
              "TransferReasonCode": {
                "description": "Gets or sets the transfer reason code.",
                "type": "string"
              },
              "TransferReasonDescription": {
                "description": "Gets or sets the transfer reason description.",
                "type": "string"
              },
              "TransferWardCode": {
                "description": "Gets or sets the transfer ward code.",
                "type": "string"
              },
              "TransferWardDescription": {
                "description": "Gets or sets the transfer ward description.",
                "type": "string"
              },
              "TransferBedCode": {
                "description": "Gets or sets the transfer bed code.",
                "type": "string"
              },
              "TransferConsultantCode": {
                "description": "Gets or sets the transfer consultant code.",
                "type": "string"
              },
              "TransferConsultantTitle": {
                "description": "Gets or sets the transfer consultant title.",
                "type": "string"
              },
              "TransferConsultantInitials": {
                "description": "Gets or sets the transfer consultant initials.",
                "type": "string"
              },
              "TransferConsultantSurname": {
                "description": "Gets or sets the transfer consultant surname.",
                "type": "string"
              },
              "TransferSpecialtyCode": {
                "description": "Gets or sets the transfer specialty code.",
                "type": "string"
              },
              "TransferSpecialtyDescription": {
                "description": "Gets or sets the transfer specialty description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientDischarges": {
      "description": "Gets or sets the outpatient discharges.",
      "type": "object",
      "properties": {
        "OutpatientDischargeCollection": {
          "description": "Gets or sets the outpatient discharge collection.",
          "type": "array",
          "items": {
            "description": "OutpatientDischarge information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "DischargeMethodCode": {
                "description": "Gets or sets the discharge method code.",
                "type": "string"
              },
              "DischargeMethodDescription": {
                "description": "Gets or sets the discharge method description.",
                "type": "string"
              },
              "DischargeDestinationCode": {
                "description": "Gets or sets the discharge destination code.",
                "type": "string"
              },
              "DischargeDestinationDescription": {
                "description": "Gets or sets the discharge destination description.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "LocationCode": {
                "description": "Gets or sets the discharge ward code.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the discharge ward description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientAttendances": {
      "description": "Gets or sets the outpatient attendances.",
      "type": "object",
      "properties": {
        "OutpatientAttendanceCollection": {
          "description": "Gets or sets the outpatient attendance collection.",
          "type": "array",
          "items": {
            "description": "OutpatientAttendance information.",
            "type": "object",
            "properties": {
              "UniqueIdentifier": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "LocationCode": {
                "description": "Gets or sets the location code.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "OutpatientAttendanceCode": {
                "description": "Gets or sets the outpatient attendance code.",
                "type": "string"
              },
              "OutpatientAttendanceTypeDescription": {
                "description": "Gets or sets the outpatient attendance type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientReferrals": {
      "description": "Gets or sets the outpatient referrals.",
      "type": "object",
      "properties": {
        "OutpatientReferralCollection": {
          "description": "Gets or sets the outpatient referral collection.",
          "type": "array",
          "items": {
            "description": "OutpatientReferral information.",
            "type": "object",
            "properties": {
              "ExpectedAttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the expected attendance date time.",
                "type": "string"
              },
              "LocationCode": {
                "description": "Gets or sets the location code.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "OutpatientAttendanceCode": {
                "description": "Gets or sets the outpatient attendance code.",
                "type": "string"
              },
              "OutpatientAttendanceTypeDescription": {
                "description": "Gets or sets the outpatient attendance type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "ReferralOutcome": {
                "description": "Gets or sets the referral outcome.",
                "type": "string"
              },
              "OriginatingReferralIdentifier": {
                "description": "Gets or sets the originating referral identifier.",
                "type": "string"
              },
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "ProcessDateTime": {
                "format": "date-time",
                "description": "Gets or sets the process date time.",
                "type": "string"
              },
              "ExternalReferralIdentifier": {
                "description": "Gets or sets the external referral identifier.",
                "type": "string"
              },
              "ReferralPriorityCode": {
                "description": "Gets or sets the referral priority code.",
                "type": "string"
              },
              "ReferralPriorityDescription": {
                "description": "Gets or sets the referral priority description.",
                "type": "string"
              },
              "ReferralTypeCode": {
                "description": "Gets or sets the referral type code.",
                "type": "string"
              },
              "ReferralTypeDescription": {
                "description": "Gets or sets the referral type description.",
                "type": "string"
              },
              "ReferralDispositionCode": {
                "description": "Gets or sets the referral disposition code.",
                "type": "string"
              },
              "ReferralDispositionDescription": {
                "description": "Gets or sets the referral disposition description.",
                "type": "string"
              },
              "ReferralCategoryCode": {
                "description": "Gets or sets the referral category code.",
                "type": "string"
              },
              "ReferralCategoryDescription": {
                "description": "Gets or sets the referral category description.",
                "type": "string"
              },
              "ExpirationDateTime": {
                "format": "date-time",
                "description": "Gets or sets the expiration date time.",
                "type": "string"
              },
              "ReferralReasonCode": {
                "description": "Gets or sets the referral reason code.",
                "type": "string"
              },
              "ReferralReasonDescription": {
                "description": "Gets or sets the referral reason description.",
                "type": "string"
              },
              "Notes": {
                "description": "Gets or sets the notes.",
                "type": "array",
                "items": {
                  "description": "A single note.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set id.",
                      "type": "string"
                    },
                    "SourceOfComment": {
                      "description": "Gets or sets the source of comment.",
                      "type": "string"
                    },
                    "Comment": {
                      "description": "Gets or sets the comment.",
                      "type": "string"
                    },
                    "CommentType": {
                      "description": "Gets or sets the comment type.",
                      "type": "string"
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "InpatientAdmissions": {
      "description": "Gets or sets the inpatient admissions.",
      "type": "object",
      "properties": {
        "InpatientAdmissionCollection": {
          "description": "Gets or sets the inpatient admission collection.",
          "type": "array",
          "items": {
            "description": "InpatientAdmission information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "WardCode": {
                "description": "Gets or sets the ward code.",
                "type": "string"
              },
              "WardDescription": {
                "description": "Gets or sets the ward description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "AdmissionTypeCode": {
                "description": "Gets or sets the admission type code.",
                "type": "string"
              },
              "AdmissionTypeDescription": {
                "description": "Gets or sets the admission type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "InpatientDischarges": {
      "description": "Gets or sets the inpatient discharges.",
      "type": "object",
      "properties": {
        "InpatientDischargeCollection": {
          "description": "Gets or sets the inpatient discharge collection.",
          "type": "array",
          "items": {
            "description": "InpatientDischarge information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "DischargeMethodCode": {
                "description": "Gets or sets the discharge method code.",
                "type": "string"
              },
              "DischargeMethodDescription": {
                "description": "Gets or sets the discharge method description.",
                "type": "string"
              },
              "DischargeDestinationCode": {
                "description": "Gets or sets the discharge destination code.",
                "type": "string"
              },
              "DischargeDestinationDescription": {
                "description": "Gets or sets the discharge destination description.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "DischargeWardCode": {
                "description": "Gets or sets the discharge ward code.",
                "type": "string"
              },
              "DischargeWardDescription": {
                "description": "Gets or sets the discharge ward description.",
                "type": "string"
              },
              "DischargeBedCode": {
                "description": "Gets or sets the discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "InpatientWaitingLists": {
      "description": "Gets or sets the inpatient waiting lists.",
      "type": "object",
      "properties": {
        "InpatientWaitingListCollection": {
          "description": "Gets or sets the inpatient waiting list collection.",
          "type": "array",
          "items": {
            "description": "InpatientWaitingList information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "WardCode": {
                "description": "Gets or sets the ward code.",
                "type": "string"
              },
              "WardDescription": {
                "description": "Gets or sets the ward description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "AdmissionTypeCode": {
                "description": "Gets or sets the admission type code.",
                "type": "string"
              },
              "AdmissionTypeDescription": {
                "description": "Gets or sets the admission type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "ReferralOutcome": {
                "description": "Gets or sets the referral outcome.",
                "type": "string"
              },
              "OriginatingReferralIdentifier": {
                "description": "Gets or sets the originating referral identifier.",
                "type": "string"
              },
              "EffectiveDateTime": {
                "format": "date-time",
                "description": "Gets or sets the effective date time.",
                "type": "string"
              },
              "ProcessDateTime": {
                "format": "date-time",
                "description": "Gets or sets the process date time.",
                "type": "string"
              },
              "ExternalReferralIdentifier": {
                "description": "Gets or sets the external referral identifier.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "EmergencyAttendances": {
      "description": "Gets or sets the emergency attendances.",
      "type": "object",
      "properties": {
        "EmergencyAttendanceCollection": {
          "description": "Gets or sets the emergency attendance collection.",
          "type": "array",
          "items": {
            "description": "EmergencyAttendance information.",
            "type": "object",
            "properties": {
              "EmergencyAttendanceDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the emergency attendance discharge date.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeCode": {
                "description": "Gets or sets the emergency attendance discharge code.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeDescription": {
                "description": "Gets or sets the emergency attendance discharge description.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeDestinationCode": {
                "description": "Gets or sets the emergency attendance discharge destination code.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeDestinationDescription": {
                "description": "Gets or sets the emergency attendance discharge destination description.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeLocationCode": {
                "description": "Gets or sets the emergency attendance discharge location code.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeLocationDescription": {
                "description": "Gets or sets the emergency attendance discharge location description.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeBedCode": {
                "description": "Gets or sets the emergency attendance discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "AttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the attendance date time.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "EmergencyDischarges": {
      "description": "Gets or sets the emergency discharges.",
      "type": "object",
      "properties": {
        "EmergencyDischargeCollection": {
          "description": "Gets or sets the emergency discharge collection.",
          "type": "array",
          "items": {
            "description": "EmergencyDischarge information.",
            "type": "object",
            "properties": {
              "DischargeDateTime": {
                "format": "date-time",
                "description": "Gets or sets the discharge date time.",
                "type": "string"
              },
              "DischargeMethodCode": {
                "description": "Gets or sets the discharge method code.",
                "type": "string"
              },
              "DischargeMethodDescription": {
                "description": "Gets or sets the discharge method description.",
                "type": "string"
              },
              "DischargeDestinationCode": {
                "description": "Gets or sets the discharge destination code.",
                "type": "string"
              },
              "DischargeDestinationDescription": {
                "description": "Gets or sets the discharge destination description.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "DischargeLocationCode": {
                "description": "Gets or sets the discharge location code.",
                "type": "string"
              },
              "DischargeLocationDescription": {
                "description": "Gets or sets the discharge location description.",
                "type": "string"
              },
              "DischargeBedCode": {
                "description": "Gets or sets the discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "AttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the attendance date time.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientAppointments": {
      "description": "Gets or sets the outpatient appointments.",
      "type": "object",
      "properties": {
        "OutpatientAppointmentCollection": {
          "description": "Gets or sets the outpatient appointment collection.",
          "type": "array",
          "items": {
            "description": "OutpatientAppointment information.",
            "type": "object",
            "properties": {
              "OutpatientAttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the outpatient attendance date time.",
                "type": "string"
              },
              "OutpatientClinicCode": {
                "description": "Gets or sets the outpatient clinic code.",
                "type": "string"
              },
              "OutpatientClinicDescription": {
                "description": "Gets or sets the outpatient clinic description.",
                "type": "string"
              },
              "OutpatientBedCode": {
                "description": "Gets or sets the outpatient bed code.",
                "type": "string"
              },
              "OutpatientAttendanceCode": {
                "description": "Gets or sets the outpatient attendance code.",
                "type": "string"
              },
              "OutpatientAttendanceTypeDescription": {
                "description": "Gets or sets the outpatient attendance type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireEmergencyAttendances": {
      "description": "Gets or sets the cheshire emergency attendances.",
      "type": "object",
      "properties": {
        "CheshireEmergencyAttendanceCollection": {
          "description": "Gets or sets the cheshire emergency attendance collection.",
          "type": "array",
          "items": {
            "description": "CheshireEmergencyAttendance information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "ArrivalMethod": {
                "description": "Gets or sets the arrival method.",
                "type": "string"
              },
              "DischargeDescription": {
                "description": "Gets or sets the discharge description.",
                "type": "string"
              },
              "DiagnosisDescription": {
                "description": "Gets or sets the diagnosis description.",
                "type": "string"
              },
              "TreatmentDescription": {
                "description": "Gets or sets the treatment description.",
                "type": "string"
              },
              "InvestigationDescription": {
                "description": "Gets or sets the investigation description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireInpatientWaitingLists": {
      "description": "Gets or sets the cheshire inpatient waiting lists.",
      "type": "object",
      "properties": {
        "CheshireInpatientWaitingListCollection": {
          "description": "Gets or sets the cheshire inpatient waiting list collection.",
          "type": "array",
          "items": {
            "description": "CheshireInpatientWaitingList information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "AddedToWaitingListDateTime": {
                "format": "date-time",
                "description": "Gets or sets the added to waiting list date time.",
                "type": "string"
              },
              "ConsultantName": {
                "description": "Gets or sets the name of the consultant.",
                "type": "string"
              },
              "WaitingListStatus": {
                "description": "Gets or sets the waiting list status.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "StayType": {
                "description": "Gets or sets the stay type.",
                "type": "string"
              },
              "ProposedOperationName": {
                "description": "Gets or sets the name of the proposed operation.",
                "type": "string"
              },
              "WaitingListNotes": {
                "description": "Gets or sets the waiting list notes.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireInpatientSpells": {
      "description": "Gets or sets the cheshire inpatient spells.",
      "type": "object",
      "properties": {
        "CheshireInpatientSpellCollection": {
          "description": "Gets or sets the cheshire inpatient spell collection.",
          "type": "array",
          "items": {
            "description": "CheshireInpatientSpell information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "AdmissionDateTime": {
                "format": "date-time",
                "description": "Gets or sets the admission date time.",
                "type": "string"
              },
              "DischargeDateTime": {
                "format": "date-time",
                "description": "Gets or sets the discharge date time.",
                "type": "string"
              },
              "LengthOfStay": {
                "description": "Gets or sets the length of stay.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "AdmissionTypeDescription": {
                "description": "Gets or sets the admission type description.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ProcedureDescription": {
                "description": "Gets or sets the procedure description.",
                "type": "string"
              },
              "DiagnosisDescription": {
                "description": "Gets or sets the diagnosis description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientAttendances": {
      "description": "Gets or sets the cheshire outpatient attendances.",
      "type": "object",
      "properties": {
        "CheshireOutpatientAttendances": {
          "description": "Gets or sets the cheshire outpatient attendances.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientAttendance information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "AttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the attendance date time.",
                "type": "string"
              },
              "ClinicDescription": {
                "description": "Gets or sets the clinic description.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "AppointmentPriority": {
                "description": "Gets or sets the appointment priority.",
                "type": "string"
              },
              "AttendanceType": {
                "description": "Gets or sets the type of the attendance.",
                "type": "string"
              },
              "AppointmentOutcome": {
                "description": "Gets or sets the appointment outcome.",
                "type": "string"
              },
              "ClinicLead": {
                "description": "Gets or sets the clinic lead.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientFutureAppointments": {
      "description": "Gets or sets the cheshire outpatient future appointments.",
      "type": "object",
      "properties": {
        "CheshireOutpatientFutureAppointmentsCollection": {
          "description": "Gets or sets the cheshire outpatient future appointments collection.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientFutureAppointment information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "FutureAppointmentDateTime": {
                "format": "date-time",
                "description": "Gets or sets the future appointment date time.",
                "type": "string"
              },
              "ClinicDescription": {
                "description": "Gets or sets the clinic description.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "AppointmentPriority": {
                "description": "Gets or sets the appointment priority.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientNonAttendances": {
      "description": "Gets or sets the cheshire outpatient non attendances.",
      "type": "object",
      "properties": {
        "CheshireOutpatientNonAttendanceCollection": {
          "description": "Gets or sets the cheshire outpatient non attendance collection.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientNonAttendance information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "NonAttendanceReason": {
                "description": "Gets or sets the non attendance reason.",
                "type": "string"
              },
              "NonAttendanceType": {
                "description": "Gets or sets the type of the non attendance.",
                "type": "string"
              },
              "ClinicSpecialty": {
                "description": "Gets or sets the clinic specialty.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientReferrals": {
      "description": "Gets or sets the cheshire outpatient referrals.",
      "type": "object",
      "properties": {
        "CheshireOutpatientReferrals": {
          "description": "Gets or sets the cheshire outpatient referrals.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientReferral information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "OriginatingReferralIdentifier": {
                "description": "Gets or sets the originating referral identifier.",
                "type": "string"
              },
              "NextAppointmentDateTime": {
                "format": "date-time",
                "description": "Gets or sets the next appointment date time.",
                "type": "string"
              },
              "NextClinicDescription": {
                "description": "Gets or sets the next clinic description.",
                "type": "string"
              },
              "NextLocationDescription": {
                "description": "Gets or sets the next location description.",
                "type": "string"
              },
              "ReferringDoctorName": {
                "description": "Gets or sets the name of the referring doctor.",
                "type": "string"
              },
              "ReferralStatus": {
                "description": "Gets or sets the referral status.",
                "type": "string"
              },
              "ConsultantName": {
                "description": "Gets or sets the name of the consultant.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireTheatres": {
      "description": "Gets or sets the cheshire theatres.",
      "type": "object",
      "properties": {
        "CheshireTheatresCollection": {
          "description": "Gets or sets the cheshire theatres collection.",
          "type": "array",
          "items": {
            "description": "CheshireTheatres information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "OperationName": {
                "description": "Gets or sets the name of the operation.",
                "type": "string"
              },
              "Anesthetic": {
                "description": "Gets or sets the anesthetic.",
                "type": "string"
              },
              "SurgeryType": {
                "description": "Gets or sets the type of the surgery.",
                "type": "string"
              },
              "SurgeonName": {
                "description": "Gets or sets the name of the surgeon.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    }
  }
}
<HospitalActivitySummary.Models.HospitalActivitySummaryResult>
  <InpatientTransfers>
    <InpatientTransferCollection>
      <TransferDateTime>string</TransferDateTime>
      <TransferDateRecorded>string</TransferDateRecorded>
      <TransferReasonCode>string</TransferReasonCode>
      <TransferReasonDescription>string</TransferReasonDescription>
      <TransferWardCode>string</TransferWardCode>
      <TransferWardDescription>string</TransferWardDescription>
      <TransferBedCode>string</TransferBedCode>
      <TransferConsultantCode>string</TransferConsultantCode>
      <TransferConsultantTitle>string</TransferConsultantTitle>
      <TransferConsultantInitials>string</TransferConsultantInitials>
      <TransferConsultantSurname>string</TransferConsultantSurname>
      <TransferSpecialtyCode>string</TransferSpecialtyCode>
      <TransferSpecialtyDescription>string</TransferSpecialtyDescription>
      <TenancyDescription>string</TenancyDescription>
    </InpatientTransferCollection>
    <TotalItemCount>0</TotalItemCount>
  </InpatientTransfers>
  <OutpatientDischarges>
    <OutpatientDischargeCollection>
      <DateTime>string</DateTime>
      <DischargeMethodCode>string</DischargeMethodCode>
      <DischargeMethodDescription>string</DischargeMethodDescription>
      <DischargeDestinationCode>string</DischargeDestinationCode>
      <DischargeDestinationDescription>string</DischargeDestinationDescription>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <LocationCode>string</LocationCode>
      <LocationDescription>string</LocationDescription>
      <BedCode>string</BedCode>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </OutpatientDischargeCollection>
    <TotalItemCount>0</TotalItemCount>
  </OutpatientDischarges>
  <OutpatientAttendances>
    <OutpatientAttendanceCollection>
      <UniqueIdentifier>string</UniqueIdentifier>
      <DateTime>string</DateTime>
      <LocationCode>string</LocationCode>
      <LocationDescription>string</LocationDescription>
      <BedCode>string</BedCode>
      <OutpatientAttendanceCode>string</OutpatientAttendanceCode>
      <OutpatientAttendanceTypeDescription>string</OutpatientAttendanceTypeDescription>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <ReadmissionCode>string</ReadmissionCode>
      <ReadmissionDescription>string</ReadmissionDescription>
      <AdmissionSourceCode>string</AdmissionSourceCode>
      <AdmissionSourceDescription>string</AdmissionSourceDescription>
      <AdmissionCategoryCode>string</AdmissionCategoryCode>
      <AdmissionCategoryDescription>string</AdmissionCategoryDescription>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </OutpatientAttendanceCollection>
    <TotalItemCount>0</TotalItemCount>
  </OutpatientAttendances>
  <OutpatientReferrals>
    <OutpatientReferralCollection>
      <ExpectedAttendanceDateTime>string</ExpectedAttendanceDateTime>
      <LocationCode>string</LocationCode>
      <LocationDescription>string</LocationDescription>
      <BedCode>string</BedCode>
      <OutpatientAttendanceCode>string</OutpatientAttendanceCode>
      <OutpatientAttendanceTypeDescription>string</OutpatientAttendanceTypeDescription>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <ReadmissionCode>string</ReadmissionCode>
      <ReadmissionDescription>string</ReadmissionDescription>
      <AdmissionSourceCode>string</AdmissionSourceCode>
      <AdmissionSourceDescription>string</AdmissionSourceDescription>
      <AdmissionCategoryCode>string</AdmissionCategoryCode>
      <AdmissionCategoryDescription>string</AdmissionCategoryDescription>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <ReferralOutcome>string</ReferralOutcome>
      <OriginatingReferralIdentifier>string</OriginatingReferralIdentifier>
      <DateTime>string</DateTime>
      <ProcessDateTime>string</ProcessDateTime>
      <ExternalReferralIdentifier>string</ExternalReferralIdentifier>
      <ReferralPriorityCode>string</ReferralPriorityCode>
      <ReferralPriorityDescription>string</ReferralPriorityDescription>
      <ReferralTypeCode>string</ReferralTypeCode>
      <ReferralTypeDescription>string</ReferralTypeDescription>
      <ReferralDispositionCode>string</ReferralDispositionCode>
      <ReferralDispositionDescription>string</ReferralDispositionDescription>
      <ReferralCategoryCode>string</ReferralCategoryCode>
      <ReferralCategoryDescription>string</ReferralCategoryDescription>
      <ExpirationDateTime>string</ExpirationDateTime>
      <ReferralReasonCode>string</ReferralReasonCode>
      <ReferralReasonDescription>string</ReferralReasonDescription>
      <Notes>
        <SetId>string</SetId>
        <SourceOfComment>string</SourceOfComment>
        <Comment>string</Comment>
        <CommentType>string</CommentType>
      </Notes>
      <TenancyDescription>string</TenancyDescription>
    </OutpatientReferralCollection>
    <TotalItemCount>0</TotalItemCount>
  </OutpatientReferrals>
  <InpatientAdmissions>
    <InpatientAdmissionCollection>
      <DateTime>string</DateTime>
      <WardCode>string</WardCode>
      <WardDescription>string</WardDescription>
      <BedCode>string</BedCode>
      <AdmissionTypeCode>string</AdmissionTypeCode>
      <AdmissionTypeDescription>string</AdmissionTypeDescription>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <ReadmissionCode>string</ReadmissionCode>
      <ReadmissionDescription>string</ReadmissionDescription>
      <AdmissionSourceCode>string</AdmissionSourceCode>
      <AdmissionSourceDescription>string</AdmissionSourceDescription>
      <AdmissionCategoryCode>string</AdmissionCategoryCode>
      <AdmissionCategoryDescription>string</AdmissionCategoryDescription>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </InpatientAdmissionCollection>
    <TotalItemCount>0</TotalItemCount>
  </InpatientAdmissions>
  <InpatientDischarges>
    <InpatientDischargeCollection>
      <DateTime>string</DateTime>
      <DischargeMethodCode>string</DischargeMethodCode>
      <DischargeMethodDescription>string</DischargeMethodDescription>
      <DischargeDestinationCode>string</DischargeDestinationCode>
      <DischargeDestinationDescription>string</DischargeDestinationDescription>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <DischargeWardCode>string</DischargeWardCode>
      <DischargeWardDescription>string</DischargeWardDescription>
      <DischargeBedCode>string</DischargeBedCode>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </InpatientDischargeCollection>
    <TotalItemCount>0</TotalItemCount>
  </InpatientDischarges>
  <InpatientWaitingLists>
    <InpatientWaitingListCollection>
      <DateTime>string</DateTime>
      <WardCode>string</WardCode>
      <WardDescription>string</WardDescription>
      <BedCode>string</BedCode>
      <AdmissionTypeCode>string</AdmissionTypeCode>
      <AdmissionTypeDescription>string</AdmissionTypeDescription>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <ReadmissionCode>string</ReadmissionCode>
      <ReadmissionDescription>string</ReadmissionDescription>
      <AdmissionSourceCode>string</AdmissionSourceCode>
      <AdmissionSourceDescription>string</AdmissionSourceDescription>
      <AdmissionCategoryCode>string</AdmissionCategoryCode>
      <AdmissionCategoryDescription>string</AdmissionCategoryDescription>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <ReferralOutcome>string</ReferralOutcome>
      <OriginatingReferralIdentifier>string</OriginatingReferralIdentifier>
      <EffectiveDateTime>string</EffectiveDateTime>
      <ProcessDateTime>string</ProcessDateTime>
      <ExternalReferralIdentifier>string</ExternalReferralIdentifier>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </InpatientWaitingListCollection>
    <TotalItemCount>0</TotalItemCount>
  </InpatientWaitingLists>
  <EmergencyAttendances>
    <EmergencyAttendanceCollection>
      <EmergencyAttendanceDischargeDate>string</EmergencyAttendanceDischargeDate>
      <EmergencyAttendanceDischargeCode>string</EmergencyAttendanceDischargeCode>
      <EmergencyAttendanceDischargeDescription>string</EmergencyAttendanceDischargeDescription>
      <EmergencyAttendanceDischargeDestinationCode>string</EmergencyAttendanceDischargeDestinationCode>
      <EmergencyAttendanceDischargeDestinationDescription>string</EmergencyAttendanceDischargeDestinationDescription>
      <EmergencyAttendanceDischargeLocationCode>string</EmergencyAttendanceDischargeLocationCode>
      <EmergencyAttendanceDischargeLocationDescription>string</EmergencyAttendanceDischargeLocationDescription>
      <EmergencyAttendanceDischargeBedCode>string</EmergencyAttendanceDischargeBedCode>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <AttendanceDateTime>string</AttendanceDateTime>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </EmergencyAttendanceCollection>
    <TotalItemCount>0</TotalItemCount>
  </EmergencyAttendances>
  <EmergencyDischarges>
    <EmergencyDischargeCollection>
      <DischargeDateTime>string</DischargeDateTime>
      <DischargeMethodCode>string</DischargeMethodCode>
      <DischargeMethodDescription>string</DischargeMethodDescription>
      <DischargeDestinationCode>string</DischargeDestinationCode>
      <DischargeDestinationDescription>string</DischargeDestinationDescription>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <DischargeLocationCode>string</DischargeLocationCode>
      <DischargeLocationDescription>string</DischargeLocationDescription>
      <DischargeBedCode>string</DischargeBedCode>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <AttendanceDateTime>string</AttendanceDateTime>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </EmergencyDischargeCollection>
    <TotalItemCount>0</TotalItemCount>
  </EmergencyDischarges>
  <OutpatientAppointments>
    <OutpatientAppointmentCollection>
      <OutpatientAttendanceDateTime>string</OutpatientAttendanceDateTime>
      <OutpatientClinicCode>string</OutpatientClinicCode>
      <OutpatientClinicDescription>string</OutpatientClinicDescription>
      <OutpatientBedCode>string</OutpatientBedCode>
      <OutpatientAttendanceCode>string</OutpatientAttendanceCode>
      <OutpatientAttendanceTypeDescription>string</OutpatientAttendanceTypeDescription>
      <ReferringDoctorCode>string</ReferringDoctorCode>
      <ReferringDoctorTitle>string</ReferringDoctorTitle>
      <ReferringDoctorInitials>string</ReferringDoctorInitials>
      <ReferringDoctorSurname>string</ReferringDoctorSurname>
      <AdmittingDoctorCode>string</AdmittingDoctorCode>
      <AdmittingDoctorTitle>string</AdmittingDoctorTitle>
      <AdmittingDoctorInitials>string</AdmittingDoctorInitials>
      <AdmittingDoctorSurname>string</AdmittingDoctorSurname>
      <AttendingDoctorCode>string</AttendingDoctorCode>
      <AttendingDoctorTitle>string</AttendingDoctorTitle>
      <AttendingDoctorInitials>string</AttendingDoctorInitials>
      <AttendingDoctorSurname>string</AttendingDoctorSurname>
      <ConsultantCode>string</ConsultantCode>
      <ConsultantTitle>string</ConsultantTitle>
      <ConsultantInitials>string</ConsultantInitials>
      <ConsultantSurname>string</ConsultantSurname>
      <SpecialtyCode>string</SpecialtyCode>
      <SpecialtyDescription>string</SpecialtyDescription>
      <ReadmissionCode>string</ReadmissionCode>
      <ReadmissionDescription>string</ReadmissionDescription>
      <AdmissionSourceCode>string</AdmissionSourceCode>
      <AdmissionSourceDescription>string</AdmissionSourceDescription>
      <AdmissionCategoryCode>string</AdmissionCategoryCode>
      <AdmissionCategoryDescription>string</AdmissionCategoryDescription>
      <AdmissionReasonCode>string</AdmissionReasonCode>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ExpectedDischargeDate>string</ExpectedDischargeDate>
      <Diagnoses>
        <SetId>string</SetId>
        <Code>string</Code>
        <Description>string</Description>
        <DateTime>string</DateTime>
        <Clinicians>
          <Id>string</Id>
          <Forename>string</Forename>
          <Surname>string</Surname>
          <Title>string</Title>
        </Clinicians>
        <Procedures>
          <SetId>string</SetId>
          <Code>string</Code>
          <Description>string</Description>
          <DateTime>string</DateTime>
          <Practitioners>
            <Id>string</Id>
            <Forename>string</Forename>
            <Surname>string</Surname>
            <Title>string</Title>
          </Practitioners>
        </Procedures>
      </Diagnoses>
      <TenancyDescription>string</TenancyDescription>
    </OutpatientAppointmentCollection>
    <TotalItemCount>0</TotalItemCount>
  </OutpatientAppointments>
  <CheshireEmergencyAttendances>
    <CheshireEmergencyAttendanceCollection>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <ArrivalMethod>string</ArrivalMethod>
      <DischargeDescription>string</DischargeDescription>
      <DiagnosisDescription>string</DiagnosisDescription>
      <TreatmentDescription>string</TreatmentDescription>
      <InvestigationDescription>string</InvestigationDescription>
      <TenancyDescription>string</TenancyDescription>
    </CheshireEmergencyAttendanceCollection>
    <TotalItemCount>0</TotalItemCount>
  </CheshireEmergencyAttendances>
  <CheshireInpatientWaitingLists>
    <CheshireInpatientWaitingListCollection>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <AddedToWaitingListDateTime>string</AddedToWaitingListDateTime>
      <ConsultantName>string</ConsultantName>
      <WaitingListStatus>string</WaitingListStatus>
      <SpecialtyDescription>string</SpecialtyDescription>
      <StayType>string</StayType>
      <ProposedOperationName>string</ProposedOperationName>
      <WaitingListNotes>string</WaitingListNotes>
      <TenancyDescription>string</TenancyDescription>
    </CheshireInpatientWaitingListCollection>
    <TotalItemCount>0</TotalItemCount>
  </CheshireInpatientWaitingLists>
  <CheshireInpatientSpells>
    <CheshireInpatientSpellCollection>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <AdmissionDateTime>string</AdmissionDateTime>
      <DischargeDateTime>string</DischargeDateTime>
      <LengthOfStay>string</LengthOfStay>
      <SpecialtyDescription>string</SpecialtyDescription>
      <AdmissionTypeDescription>string</AdmissionTypeDescription>
      <AdmissionReasonDescription>string</AdmissionReasonDescription>
      <ProcedureDescription>string</ProcedureDescription>
      <DiagnosisDescription>string</DiagnosisDescription>
      <TenancyDescription>string</TenancyDescription>
    </CheshireInpatientSpellCollection>
    <TotalItemCount>0</TotalItemCount>
  </CheshireInpatientSpells>
  <CheshireOutpatientAttendances>
    <CheshireOutpatientAttendances>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <AttendanceDateTime>string</AttendanceDateTime>
      <ClinicDescription>string</ClinicDescription>
      <SpecialtyDescription>string</SpecialtyDescription>
      <LocationDescription>string</LocationDescription>
      <AppointmentPriority>string</AppointmentPriority>
      <AttendanceType>string</AttendanceType>
      <AppointmentOutcome>string</AppointmentOutcome>
      <ClinicLead>string</ClinicLead>
      <TenancyDescription>string</TenancyDescription>
    </CheshireOutpatientAttendances>
    <TotalItemCount>0</TotalItemCount>
  </CheshireOutpatientAttendances>
  <CheshireOutpatientFutureAppointments>
    <CheshireOutpatientFutureAppointmentsCollection>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <FutureAppointmentDateTime>string</FutureAppointmentDateTime>
      <ClinicDescription>string</ClinicDescription>
      <LocationDescription>string</LocationDescription>
      <AppointmentPriority>string</AppointmentPriority>
      <SpecialtyDescription>string</SpecialtyDescription>
      <TenancyDescription>string</TenancyDescription>
    </CheshireOutpatientFutureAppointmentsCollection>
    <TotalItemCount>0</TotalItemCount>
  </CheshireOutpatientFutureAppointments>
  <CheshireOutpatientNonAttendances>
    <CheshireOutpatientNonAttendanceCollection>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <NonAttendanceReason>string</NonAttendanceReason>
      <NonAttendanceType>string</NonAttendanceType>
      <ClinicSpecialty>string</ClinicSpecialty>
      <LocationDescription>string</LocationDescription>
      <SpecialtyDescription>string</SpecialtyDescription>
      <TenancyDescription>string</TenancyDescription>
    </CheshireOutpatientNonAttendanceCollection>
    <TotalItemCount>0</TotalItemCount>
  </CheshireOutpatientNonAttendances>
  <CheshireOutpatientReferrals>
    <CheshireOutpatientReferrals>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <OriginatingReferralIdentifier>string</OriginatingReferralIdentifier>
      <NextAppointmentDateTime>string</NextAppointmentDateTime>
      <NextClinicDescription>string</NextClinicDescription>
      <NextLocationDescription>string</NextLocationDescription>
      <ReferringDoctorName>string</ReferringDoctorName>
      <ReferralStatus>string</ReferralStatus>
      <ConsultantName>string</ConsultantName>
      <TenancyDescription>string</TenancyDescription>
    </CheshireOutpatientReferrals>
    <TotalItemCount>0</TotalItemCount>
  </CheshireOutpatientReferrals>
  <CheshireTheatres>
    <CheshireTheatresCollection>
      <UniqueId>string</UniqueId>
      <ActivityId>string</ActivityId>
      <ActivityDateTime>string</ActivityDateTime>
      <OperationName>string</OperationName>
      <Anesthetic>string</Anesthetic>
      <SurgeryType>string</SurgeryType>
      <SurgeonName>string</SurgeonName>
      <TenancyDescription>string</TenancyDescription>
    </CheshireTheatresCollection>
    <TotalItemCount>0</TotalItemCount>
  </CheshireTheatres>
</HospitalActivitySummary.Models.HospitalActivitySummaryResult>
{
  "description": "HospitalActivitySummaryResult information.",
  "type": "object",
  "properties": {
    "InpatientTransfers": {
      "description": "Gets or sets the inpatient transfers.",
      "type": "object",
      "properties": {
        "InpatientTransferCollection": {
          "description": "Gets or sets the inpatient transfer collection.",
          "type": "array",
          "items": {
            "description": "InpatientTransferResults information.",
            "type": "object",
            "properties": {
              "TransferDateTime": {
                "format": "date-time",
                "description": "Gets or sets the transfer date time.",
                "type": "string"
              },
              "TransferDateRecorded": {
                "format": "date-time",
                "description": "Gets or sets the transfer date recorded.",
                "type": "string"
              },
              "TransferReasonCode": {
                "description": "Gets or sets the transfer reason code.",
                "type": "string"
              },
              "TransferReasonDescription": {
                "description": "Gets or sets the transfer reason description.",
                "type": "string"
              },
              "TransferWardCode": {
                "description": "Gets or sets the transfer ward code.",
                "type": "string"
              },
              "TransferWardDescription": {
                "description": "Gets or sets the transfer ward description.",
                "type": "string"
              },
              "TransferBedCode": {
                "description": "Gets or sets the transfer bed code.",
                "type": "string"
              },
              "TransferConsultantCode": {
                "description": "Gets or sets the transfer consultant code.",
                "type": "string"
              },
              "TransferConsultantTitle": {
                "description": "Gets or sets the transfer consultant title.",
                "type": "string"
              },
              "TransferConsultantInitials": {
                "description": "Gets or sets the transfer consultant initials.",
                "type": "string"
              },
              "TransferConsultantSurname": {
                "description": "Gets or sets the transfer consultant surname.",
                "type": "string"
              },
              "TransferSpecialtyCode": {
                "description": "Gets or sets the transfer specialty code.",
                "type": "string"
              },
              "TransferSpecialtyDescription": {
                "description": "Gets or sets the transfer specialty description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientDischarges": {
      "description": "Gets or sets the outpatient discharges.",
      "type": "object",
      "properties": {
        "OutpatientDischargeCollection": {
          "description": "Gets or sets the outpatient discharge collection.",
          "type": "array",
          "items": {
            "description": "OutpatientDischarge information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "DischargeMethodCode": {
                "description": "Gets or sets the discharge method code.",
                "type": "string"
              },
              "DischargeMethodDescription": {
                "description": "Gets or sets the discharge method description.",
                "type": "string"
              },
              "DischargeDestinationCode": {
                "description": "Gets or sets the discharge destination code.",
                "type": "string"
              },
              "DischargeDestinationDescription": {
                "description": "Gets or sets the discharge destination description.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "LocationCode": {
                "description": "Gets or sets the discharge ward code.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the discharge ward description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientAttendances": {
      "description": "Gets or sets the outpatient attendances.",
      "type": "object",
      "properties": {
        "OutpatientAttendanceCollection": {
          "description": "Gets or sets the outpatient attendance collection.",
          "type": "array",
          "items": {
            "description": "OutpatientAttendance information.",
            "type": "object",
            "properties": {
              "UniqueIdentifier": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "LocationCode": {
                "description": "Gets or sets the location code.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "OutpatientAttendanceCode": {
                "description": "Gets or sets the outpatient attendance code.",
                "type": "string"
              },
              "OutpatientAttendanceTypeDescription": {
                "description": "Gets or sets the outpatient attendance type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientReferrals": {
      "description": "Gets or sets the outpatient referrals.",
      "type": "object",
      "properties": {
        "OutpatientReferralCollection": {
          "description": "Gets or sets the outpatient referral collection.",
          "type": "array",
          "items": {
            "description": "OutpatientReferral information.",
            "type": "object",
            "properties": {
              "ExpectedAttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the expected attendance date time.",
                "type": "string"
              },
              "LocationCode": {
                "description": "Gets or sets the location code.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "OutpatientAttendanceCode": {
                "description": "Gets or sets the outpatient attendance code.",
                "type": "string"
              },
              "OutpatientAttendanceTypeDescription": {
                "description": "Gets or sets the outpatient attendance type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "ReferralOutcome": {
                "description": "Gets or sets the referral outcome.",
                "type": "string"
              },
              "OriginatingReferralIdentifier": {
                "description": "Gets or sets the originating referral identifier.",
                "type": "string"
              },
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "ProcessDateTime": {
                "format": "date-time",
                "description": "Gets or sets the process date time.",
                "type": "string"
              },
              "ExternalReferralIdentifier": {
                "description": "Gets or sets the external referral identifier.",
                "type": "string"
              },
              "ReferralPriorityCode": {
                "description": "Gets or sets the referral priority code.",
                "type": "string"
              },
              "ReferralPriorityDescription": {
                "description": "Gets or sets the referral priority description.",
                "type": "string"
              },
              "ReferralTypeCode": {
                "description": "Gets or sets the referral type code.",
                "type": "string"
              },
              "ReferralTypeDescription": {
                "description": "Gets or sets the referral type description.",
                "type": "string"
              },
              "ReferralDispositionCode": {
                "description": "Gets or sets the referral disposition code.",
                "type": "string"
              },
              "ReferralDispositionDescription": {
                "description": "Gets or sets the referral disposition description.",
                "type": "string"
              },
              "ReferralCategoryCode": {
                "description": "Gets or sets the referral category code.",
                "type": "string"
              },
              "ReferralCategoryDescription": {
                "description": "Gets or sets the referral category description.",
                "type": "string"
              },
              "ExpirationDateTime": {
                "format": "date-time",
                "description": "Gets or sets the expiration date time.",
                "type": "string"
              },
              "ReferralReasonCode": {
                "description": "Gets or sets the referral reason code.",
                "type": "string"
              },
              "ReferralReasonDescription": {
                "description": "Gets or sets the referral reason description.",
                "type": "string"
              },
              "Notes": {
                "description": "Gets or sets the notes.",
                "type": "array",
                "items": {
                  "description": "A single note.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set id.",
                      "type": "string"
                    },
                    "SourceOfComment": {
                      "description": "Gets or sets the source of comment.",
                      "type": "string"
                    },
                    "Comment": {
                      "description": "Gets or sets the comment.",
                      "type": "string"
                    },
                    "CommentType": {
                      "description": "Gets or sets the comment type.",
                      "type": "string"
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "InpatientAdmissions": {
      "description": "Gets or sets the inpatient admissions.",
      "type": "object",
      "properties": {
        "InpatientAdmissionCollection": {
          "description": "Gets or sets the inpatient admission collection.",
          "type": "array",
          "items": {
            "description": "InpatientAdmission information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "WardCode": {
                "description": "Gets or sets the ward code.",
                "type": "string"
              },
              "WardDescription": {
                "description": "Gets or sets the ward description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "AdmissionTypeCode": {
                "description": "Gets or sets the admission type code.",
                "type": "string"
              },
              "AdmissionTypeDescription": {
                "description": "Gets or sets the admission type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "InpatientDischarges": {
      "description": "Gets or sets the inpatient discharges.",
      "type": "object",
      "properties": {
        "InpatientDischargeCollection": {
          "description": "Gets or sets the inpatient discharge collection.",
          "type": "array",
          "items": {
            "description": "InpatientDischarge information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "DischargeMethodCode": {
                "description": "Gets or sets the discharge method code.",
                "type": "string"
              },
              "DischargeMethodDescription": {
                "description": "Gets or sets the discharge method description.",
                "type": "string"
              },
              "DischargeDestinationCode": {
                "description": "Gets or sets the discharge destination code.",
                "type": "string"
              },
              "DischargeDestinationDescription": {
                "description": "Gets or sets the discharge destination description.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "DischargeWardCode": {
                "description": "Gets or sets the discharge ward code.",
                "type": "string"
              },
              "DischargeWardDescription": {
                "description": "Gets or sets the discharge ward description.",
                "type": "string"
              },
              "DischargeBedCode": {
                "description": "Gets or sets the discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "InpatientWaitingLists": {
      "description": "Gets or sets the inpatient waiting lists.",
      "type": "object",
      "properties": {
        "InpatientWaitingListCollection": {
          "description": "Gets or sets the inpatient waiting list collection.",
          "type": "array",
          "items": {
            "description": "InpatientWaitingList information.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date time.",
                "type": "string"
              },
              "WardCode": {
                "description": "Gets or sets the ward code.",
                "type": "string"
              },
              "WardDescription": {
                "description": "Gets or sets the ward description.",
                "type": "string"
              },
              "BedCode": {
                "description": "Gets or sets the bed code.",
                "type": "string"
              },
              "AdmissionTypeCode": {
                "description": "Gets or sets the admission type code.",
                "type": "string"
              },
              "AdmissionTypeDescription": {
                "description": "Gets or sets the admission type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "ReferralOutcome": {
                "description": "Gets or sets the referral outcome.",
                "type": "string"
              },
              "OriginatingReferralIdentifier": {
                "description": "Gets or sets the originating referral identifier.",
                "type": "string"
              },
              "EffectiveDateTime": {
                "format": "date-time",
                "description": "Gets or sets the effective date time.",
                "type": "string"
              },
              "ProcessDateTime": {
                "format": "date-time",
                "description": "Gets or sets the process date time.",
                "type": "string"
              },
              "ExternalReferralIdentifier": {
                "description": "Gets or sets the external referral identifier.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "EmergencyAttendances": {
      "description": "Gets or sets the emergency attendances.",
      "type": "object",
      "properties": {
        "EmergencyAttendanceCollection": {
          "description": "Gets or sets the emergency attendance collection.",
          "type": "array",
          "items": {
            "description": "EmergencyAttendance information.",
            "type": "object",
            "properties": {
              "EmergencyAttendanceDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the emergency attendance discharge date.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeCode": {
                "description": "Gets or sets the emergency attendance discharge code.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeDescription": {
                "description": "Gets or sets the emergency attendance discharge description.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeDestinationCode": {
                "description": "Gets or sets the emergency attendance discharge destination code.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeDestinationDescription": {
                "description": "Gets or sets the emergency attendance discharge destination description.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeLocationCode": {
                "description": "Gets or sets the emergency attendance discharge location code.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeLocationDescription": {
                "description": "Gets or sets the emergency attendance discharge location description.",
                "type": "string"
              },
              "EmergencyAttendanceDischargeBedCode": {
                "description": "Gets or sets the emergency attendance discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "AttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the attendance date time.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "EmergencyDischarges": {
      "description": "Gets or sets the emergency discharges.",
      "type": "object",
      "properties": {
        "EmergencyDischargeCollection": {
          "description": "Gets or sets the emergency discharge collection.",
          "type": "array",
          "items": {
            "description": "EmergencyDischarge information.",
            "type": "object",
            "properties": {
              "DischargeDateTime": {
                "format": "date-time",
                "description": "Gets or sets the discharge date time.",
                "type": "string"
              },
              "DischargeMethodCode": {
                "description": "Gets or sets the discharge method code.",
                "type": "string"
              },
              "DischargeMethodDescription": {
                "description": "Gets or sets the discharge method description.",
                "type": "string"
              },
              "DischargeDestinationCode": {
                "description": "Gets or sets the discharge destination code.",
                "type": "string"
              },
              "DischargeDestinationDescription": {
                "description": "Gets or sets the discharge destination description.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "DischargeLocationCode": {
                "description": "Gets or sets the discharge location code.",
                "type": "string"
              },
              "DischargeLocationDescription": {
                "description": "Gets or sets the discharge location description.",
                "type": "string"
              },
              "DischargeBedCode": {
                "description": "Gets or sets the discharge bed code.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "AttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the attendance date time.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "OutpatientAppointments": {
      "description": "Gets or sets the outpatient appointments.",
      "type": "object",
      "properties": {
        "OutpatientAppointmentCollection": {
          "description": "Gets or sets the outpatient appointment collection.",
          "type": "array",
          "items": {
            "description": "OutpatientAppointment information.",
            "type": "object",
            "properties": {
              "OutpatientAttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the outpatient attendance date time.",
                "type": "string"
              },
              "OutpatientClinicCode": {
                "description": "Gets or sets the outpatient clinic code.",
                "type": "string"
              },
              "OutpatientClinicDescription": {
                "description": "Gets or sets the outpatient clinic description.",
                "type": "string"
              },
              "OutpatientBedCode": {
                "description": "Gets or sets the outpatient bed code.",
                "type": "string"
              },
              "OutpatientAttendanceCode": {
                "description": "Gets or sets the outpatient attendance code.",
                "type": "string"
              },
              "OutpatientAttendanceTypeDescription": {
                "description": "Gets or sets the outpatient attendance type description.",
                "type": "string"
              },
              "ReferringDoctorCode": {
                "description": "Gets or sets the referring doctor code.",
                "type": "string"
              },
              "ReferringDoctorTitle": {
                "description": "Gets or sets the referring doctor title.",
                "type": "string"
              },
              "ReferringDoctorInitials": {
                "description": "Gets or sets the referring doctor initials.",
                "type": "string"
              },
              "ReferringDoctorSurname": {
                "description": "Gets or sets the referring doctor surname.",
                "type": "string"
              },
              "AdmittingDoctorCode": {
                "description": "Gets or sets the admitting doctor code.",
                "type": "string"
              },
              "AdmittingDoctorTitle": {
                "description": "Gets or sets the admitting doctor title.",
                "type": "string"
              },
              "AdmittingDoctorInitials": {
                "description": "Gets or sets the admitting doctor initials.",
                "type": "string"
              },
              "AdmittingDoctorSurname": {
                "description": "Gets or sets the admitting doctor surname.",
                "type": "string"
              },
              "AttendingDoctorCode": {
                "description": "Gets or sets the attending doctor code.",
                "type": "string"
              },
              "AttendingDoctorTitle": {
                "description": "Gets or sets the attending doctor title.",
                "type": "string"
              },
              "AttendingDoctorInitials": {
                "description": "Gets or sets the attending doctor initials.",
                "type": "string"
              },
              "AttendingDoctorSurname": {
                "description": "Gets or sets the attending doctor surname.",
                "type": "string"
              },
              "ConsultantCode": {
                "description": "Gets or sets the consultant code.",
                "type": "string"
              },
              "ConsultantTitle": {
                "description": "Gets or sets the consultant title.",
                "type": "string"
              },
              "ConsultantInitials": {
                "description": "Gets or sets the consultant initials.",
                "type": "string"
              },
              "ConsultantSurname": {
                "description": "Gets or sets the consultant surname.",
                "type": "string"
              },
              "SpecialtyCode": {
                "description": "Gets or sets the specialty code.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "ReadmissionCode": {
                "description": "Gets or sets the readmission code.",
                "type": "string"
              },
              "ReadmissionDescription": {
                "description": "Gets or sets the readmission description.",
                "type": "string"
              },
              "AdmissionSourceCode": {
                "description": "Gets or sets the admission source code.",
                "type": "string"
              },
              "AdmissionSourceDescription": {
                "description": "Gets or sets the admission source description.",
                "type": "string"
              },
              "AdmissionCategoryCode": {
                "description": "Gets or sets the admission category code.",
                "type": "string"
              },
              "AdmissionCategoryDescription": {
                "description": "Gets or sets the admission category description.",
                "type": "string"
              },
              "AdmissionReasonCode": {
                "description": "Gets or sets the admission reason code.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ExpectedDischargeDate": {
                "format": "date-time",
                "description": "Gets or sets the expected discharge date.",
                "type": "string"
              },
              "Diagnoses": {
                "description": "Gets or sets the diagnoses.",
                "type": "array",
                "items": {
                  "description": "The discharge diagnosis.",
                  "type": "object",
                  "properties": {
                    "SetId": {
                      "description": "Gets or sets the set identifier.",
                      "type": "string"
                    },
                    "Code": {
                      "description": "Gets or sets the code.",
                      "type": "string"
                    },
                    "Description": {
                      "description": "Gets or sets the description.",
                      "type": "string"
                    },
                    "DateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date time.",
                      "type": "string"
                    },
                    "Clinicians": {
                      "description": "Gets or sets the clinicians.",
                      "type": "array",
                      "items": {
                        "description": "The clinician.",
                        "type": "object",
                        "properties": {
                          "Id": {
                            "description": "Gets or sets the identifier.",
                            "type": "string"
                          },
                          "Forename": {
                            "description": "Gets or sets the forename.",
                            "type": "string"
                          },
                          "Surname": {
                            "description": "Gets or sets the surname.",
                            "type": "string"
                          },
                          "Title": {
                            "description": "Gets or sets the title.",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "Procedures": {
                      "description": "Gets or sets the procedures.",
                      "type": "array",
                      "items": {
                        "description": "The procedure.",
                        "type": "object",
                        "properties": {
                          "SetId": {
                            "description": "Gets or sets the set identifier.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description.",
                            "type": "string"
                          },
                          "DateTime": {
                            "format": "date-time",
                            "description": "Gets or sets the date time.",
                            "type": "string"
                          },
                          "Practitioners": {
                            "description": "Gets or sets the practitioners.",
                            "type": "array",
                            "items": {
                              "description": "The practitioner.",
                              "type": "object",
                              "properties": {
                                "Id": {
                                  "description": "Gets or sets the identifier.",
                                  "type": "string"
                                },
                                "Forename": {
                                  "description": "Gets or sets the forename.",
                                  "type": "string"
                                },
                                "Surname": {
                                  "description": "Gets or sets the surname.",
                                  "type": "string"
                                },
                                "Title": {
                                  "description": "Gets or sets the title.",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireEmergencyAttendances": {
      "description": "Gets or sets the cheshire emergency attendances.",
      "type": "object",
      "properties": {
        "CheshireEmergencyAttendanceCollection": {
          "description": "Gets or sets the cheshire emergency attendance collection.",
          "type": "array",
          "items": {
            "description": "CheshireEmergencyAttendance information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "ArrivalMethod": {
                "description": "Gets or sets the arrival method.",
                "type": "string"
              },
              "DischargeDescription": {
                "description": "Gets or sets the discharge description.",
                "type": "string"
              },
              "DiagnosisDescription": {
                "description": "Gets or sets the diagnosis description.",
                "type": "string"
              },
              "TreatmentDescription": {
                "description": "Gets or sets the treatment description.",
                "type": "string"
              },
              "InvestigationDescription": {
                "description": "Gets or sets the investigation description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireInpatientWaitingLists": {
      "description": "Gets or sets the cheshire inpatient waiting lists.",
      "type": "object",
      "properties": {
        "CheshireInpatientWaitingListCollection": {
          "description": "Gets or sets the cheshire inpatient waiting list collection.",
          "type": "array",
          "items": {
            "description": "CheshireInpatientWaitingList information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "AddedToWaitingListDateTime": {
                "format": "date-time",
                "description": "Gets or sets the added to waiting list date time.",
                "type": "string"
              },
              "ConsultantName": {
                "description": "Gets or sets the name of the consultant.",
                "type": "string"
              },
              "WaitingListStatus": {
                "description": "Gets or sets the waiting list status.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "StayType": {
                "description": "Gets or sets the stay type.",
                "type": "string"
              },
              "ProposedOperationName": {
                "description": "Gets or sets the name of the proposed operation.",
                "type": "string"
              },
              "WaitingListNotes": {
                "description": "Gets or sets the waiting list notes.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireInpatientSpells": {
      "description": "Gets or sets the cheshire inpatient spells.",
      "type": "object",
      "properties": {
        "CheshireInpatientSpellCollection": {
          "description": "Gets or sets the cheshire inpatient spell collection.",
          "type": "array",
          "items": {
            "description": "CheshireInpatientSpell information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "AdmissionDateTime": {
                "format": "date-time",
                "description": "Gets or sets the admission date time.",
                "type": "string"
              },
              "DischargeDateTime": {
                "format": "date-time",
                "description": "Gets or sets the discharge date time.",
                "type": "string"
              },
              "LengthOfStay": {
                "description": "Gets or sets the length of stay.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "AdmissionTypeDescription": {
                "description": "Gets or sets the admission type description.",
                "type": "string"
              },
              "AdmissionReasonDescription": {
                "description": "Gets or sets the admission reason description.",
                "type": "string"
              },
              "ProcedureDescription": {
                "description": "Gets or sets the procedure description.",
                "type": "string"
              },
              "DiagnosisDescription": {
                "description": "Gets or sets the diagnosis description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientAttendances": {
      "description": "Gets or sets the cheshire outpatient attendances.",
      "type": "object",
      "properties": {
        "CheshireOutpatientAttendances": {
          "description": "Gets or sets the cheshire outpatient attendances.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientAttendance information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "AttendanceDateTime": {
                "format": "date-time",
                "description": "Gets or sets the attendance date time.",
                "type": "string"
              },
              "ClinicDescription": {
                "description": "Gets or sets the clinic description.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "AppointmentPriority": {
                "description": "Gets or sets the appointment priority.",
                "type": "string"
              },
              "AttendanceType": {
                "description": "Gets or sets the type of the attendance.",
                "type": "string"
              },
              "AppointmentOutcome": {
                "description": "Gets or sets the appointment outcome.",
                "type": "string"
              },
              "ClinicLead": {
                "description": "Gets or sets the clinic lead.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientFutureAppointments": {
      "description": "Gets or sets the cheshire outpatient future appointments.",
      "type": "object",
      "properties": {
        "CheshireOutpatientFutureAppointmentsCollection": {
          "description": "Gets or sets the cheshire outpatient future appointments collection.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientFutureAppointment information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "FutureAppointmentDateTime": {
                "format": "date-time",
                "description": "Gets or sets the future appointment date time.",
                "type": "string"
              },
              "ClinicDescription": {
                "description": "Gets or sets the clinic description.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "AppointmentPriority": {
                "description": "Gets or sets the appointment priority.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientNonAttendances": {
      "description": "Gets or sets the cheshire outpatient non attendances.",
      "type": "object",
      "properties": {
        "CheshireOutpatientNonAttendanceCollection": {
          "description": "Gets or sets the cheshire outpatient non attendance collection.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientNonAttendance information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "NonAttendanceReason": {
                "description": "Gets or sets the non attendance reason.",
                "type": "string"
              },
              "NonAttendanceType": {
                "description": "Gets or sets the type of the non attendance.",
                "type": "string"
              },
              "ClinicSpecialty": {
                "description": "Gets or sets the clinic specialty.",
                "type": "string"
              },
              "LocationDescription": {
                "description": "Gets or sets the location description.",
                "type": "string"
              },
              "SpecialtyDescription": {
                "description": "Gets or sets the specialty description.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireOutpatientReferrals": {
      "description": "Gets or sets the cheshire outpatient referrals.",
      "type": "object",
      "properties": {
        "CheshireOutpatientReferrals": {
          "description": "Gets or sets the cheshire outpatient referrals.",
          "type": "array",
          "items": {
            "description": "CheshireOutpatientReferral information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "OriginatingReferralIdentifier": {
                "description": "Gets or sets the originating referral identifier.",
                "type": "string"
              },
              "NextAppointmentDateTime": {
                "format": "date-time",
                "description": "Gets or sets the next appointment date time.",
                "type": "string"
              },
              "NextClinicDescription": {
                "description": "Gets or sets the next clinic description.",
                "type": "string"
              },
              "NextLocationDescription": {
                "description": "Gets or sets the next location description.",
                "type": "string"
              },
              "ReferringDoctorName": {
                "description": "Gets or sets the name of the referring doctor.",
                "type": "string"
              },
              "ReferralStatus": {
                "description": "Gets or sets the referral status.",
                "type": "string"
              },
              "ConsultantName": {
                "description": "Gets or sets the name of the consultant.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    },
    "CheshireTheatres": {
      "description": "Gets or sets the cheshire theatres.",
      "type": "object",
      "properties": {
        "CheshireTheatresCollection": {
          "description": "Gets or sets the cheshire theatres collection.",
          "type": "array",
          "items": {
            "description": "CheshireTheatres information.",
            "type": "object",
            "properties": {
              "UniqueId": {
                "description": "Gets or sets the unique identifier.",
                "type": "string"
              },
              "ActivityId": {
                "description": "Gets or sets the activity identifier.",
                "type": "string"
              },
              "ActivityDateTime": {
                "format": "date-time",
                "description": "Gets or sets the activity date time.",
                "type": "string"
              },
              "OperationName": {
                "description": "Gets or sets the name of the operation.",
                "type": "string"
              },
              "Anesthetic": {
                "description": "Gets or sets the anesthetic.",
                "type": "string"
              },
              "SurgeryType": {
                "description": "Gets or sets the type of the surgery.",
                "type": "string"
              },
              "SurgeonName": {
                "description": "Gets or sets the name of the surgeon.",
                "type": "string"
              },
              "TenancyDescription": {
                "description": "Gets or sets the tenancy description.",
                "type": "string"
              }
            }
          }
        },
        "TotalItemCount": {
          "format": "int32",
          "description": "Gets or sets the total item count.",
          "type": "integer"
        }
      }
    }
  }
}

400 Bad Request

Invalid parameter supplied

401 Unauthorized

Invalid credentials supplied

404 Not Found

Specified entity was not found or access denied

Code samples

@ECHO OFF

curl -v -X GET "https://graphnet-api-nonprod.azure-api.net/adt/patients/{patientDetailId}/hospital-activity"
-H "Ocp-Apim-Subscription-Key: {subscription key}"
-H "Authorization: {access token}"

--data-ascii "{body}" 
using System;
using System.Net.Http.Headers;
using System.Text;
using System.Net.Http;
using System.Web;

namespace CSHttpClientSample
{
    static class Program
    {
        static void Main()
        {
            MakeRequest();
            Console.WriteLine("Hit ENTER to exit...");
            Console.ReadLine();
        }
        
        static async void MakeRequest()
        {
            var client = new HttpClient();
            var queryString = HttpUtility.ParseQueryString(string.Empty);

            // Request headers
            client.DefaultRequestHeaders.Add("Ocp-Apim-Subscription-Key", "{subscription key}");
            client.DefaultRequestHeaders.Add("Authorization", "{access token}");

            var uri = "https://graphnet-api-nonprod.azure-api.net/adt/patients/{patientDetailId}/hospital-activity?" + queryString;

            var response = await client.GetAsync(uri);
        }
    }
}	
// // This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
import java.net.URI;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;

public class JavaSample 
{
    public static void main(String[] args) 
    {
        HttpClient httpclient = HttpClients.createDefault();

        try
        {
            URIBuilder builder = new URIBuilder("https://graphnet-api-nonprod.azure-api.net/adt/patients/{patientDetailId}/hospital-activity");


            URI uri = builder.build();
            HttpGet request = new HttpGet(uri);
            request.setHeader("Ocp-Apim-Subscription-Key", "{subscription key}");
            request.setHeader("Authorization", "{access token}");


            // Request body
            StringEntity reqEntity = new StringEntity("{body}");
            request.setEntity(reqEntity);

            HttpResponse response = httpclient.execute(request);
            HttpEntity entity = response.getEntity();

            if (entity != null) 
            {
                System.out.println(EntityUtils.toString(entity));
            }
        }
        catch (Exception e)
        {
            System.out.println(e.getMessage());
        }
    }
}

<!DOCTYPE html>
<html>
<head>
    <title>JSSample</title>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>

<script type="text/javascript">
    $(function() {
        var params = {
            // Request parameters
        };
      
        $.ajax({
            url: "https://graphnet-api-nonprod.azure-api.net/adt/patients/{patientDetailId}/hospital-activity?" + $.param(params),
            beforeSend: function(xhrObj){
                // Request headers
                xhrObj.setRequestHeader("Ocp-Apim-Subscription-Key","{subscription key}");
                xhrObj.setRequestHeader("Authorization","{access token}");
            },
            type: "GET",
            // Request body
            data: "{body}",
        })
        .done(function(data) {
            alert("success");
        })
        .fail(function() {
            alert("error");
        });
    });
</script>
</body>
</html>
#import <Foundation/Foundation.h>

int main(int argc, const char * argv[])
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    
    NSString* path = @"https://graphnet-api-nonprod.azure-api.net/adt/patients/{patientDetailId}/hospital-activity";
    NSArray* array = @[
                         // Request parameters
                         @"entities=true",
                      ];
    
    NSString* string = [array componentsJoinedByString:@"&"];
    path = [path stringByAppendingFormat:@"?%@", string];

    NSLog(@"%@", path);

    NSMutableURLRequest* _request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:path]];
    [_request setHTTPMethod:@"GET"];
    // Request headers
    [_request setValue:@"{subscription key}" forHTTPHeaderField:@"Ocp-Apim-Subscription-Key"];
    [_request setValue:@"{access token}" forHTTPHeaderField:@"Authorization"];
    // Request body
    [_request setHTTPBody:[@"{body}" dataUsingEncoding:NSUTF8StringEncoding]];
    
    NSURLResponse *response = nil;
    NSError *error = nil;
    NSData* _connectionData = [NSURLConnection sendSynchronousRequest:_request returningResponse:&response error:&error];

    if (nil != error)
    {
        NSLog(@"Error: %@", error);
    }
    else
    {
        NSError* error = nil;
        NSMutableDictionary* json = nil;
        NSString* dataString = [[NSString alloc] initWithData:_connectionData encoding:NSUTF8StringEncoding];
        NSLog(@"%@", dataString);
        
        if (nil != _connectionData)
        {
            json = [NSJSONSerialization JSONObjectWithData:_connectionData options:NSJSONReadingMutableContainers error:&error];
        }
        
        if (error || !json)
        {
            NSLog(@"Could not parse loaded json with error:%@", error);
        }
        
        NSLog(@"%@", json);
        _connectionData = nil;
    }
    
    [pool drain];

    return 0;
}
<?php
// This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
require_once 'HTTP/Request2.php';

$request = new Http_Request2('https://graphnet-api-nonprod.azure-api.net/adt/patients/{patientDetailId}/hospital-activity');
$url = $request->getUrl();

$headers = array(
    // Request headers
    'Ocp-Apim-Subscription-Key' => '{subscription key}',
    'Authorization' => '{access token}',
);

$request->setHeader($headers);

$parameters = array(
    // Request parameters
);

$url->setQueryVariables($parameters);

$request->setMethod(HTTP_Request2::METHOD_GET);

// Request body
$request->setBody("{body}");

try
{
    $response = $request->send();
    echo $response->getBody();
}
catch (HttpException $ex)
{
    echo $ex;
}

?>
########### Python 2.7 #############
import httplib, urllib, base64

headers = {
    # Request headers
    'Ocp-Apim-Subscription-Key': '{subscription key}',
    'Authorization': '{access token}',
}

params = urllib.urlencode({
})

try:
    conn = httplib.HTTPSConnection('graphnet-api-nonprod.azure-api.net')
    conn.request("GET", "/adt/patients/{patientDetailId}/hospital-activity?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################

########### Python 3.2 #############
import http.client, urllib.request, urllib.parse, urllib.error, base64

headers = {
    # Request headers
    'Ocp-Apim-Subscription-Key': '{subscription key}',
    'Authorization': '{access token}',
}

params = urllib.parse.urlencode({
})

try:
    conn = http.client.HTTPSConnection('graphnet-api-nonprod.azure-api.net')
    conn.request("GET", "/adt/patients/{patientDetailId}/hospital-activity?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################
require 'net/http'

uri = URI('https://graphnet-api-nonprod.azure-api.net/adt/patients/{patientDetailId}/hospital-activity')


request = Net::HTTP::Get.new(uri.request_uri)
# Request headers
request['Ocp-Apim-Subscription-Key'] = '{subscription key}'
# Request headers
request['Authorization'] = '{access token}'
# Request body
request.body = "{body}"

response = Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https') do |http|
    http.request(request)
end

puts response.body