ADT Bundle
API change historyAccess data about Admissions, Discharges and Transfers
Inpatient - Admission Details
Gets the Inpatient admission document details by patient detail identifier.
Try itRequest
Request URL
Request parameters
-
string
-
string
Request headers
-
stringOAuth 2.0 access token obtained from CareCentric System Authorisation. Supported grant types: Client credentials.
Request body
Responses
200 OK
Successful operation
Representations
{
"PatientClass": "string",
"EventRecordedDateTime": "string",
"EventOccurredDateTime": "string",
"PatientIdentifier": {
"PatientNumber": "string",
"NhsNumber": "string",
"Name": {
"Forenames": "string",
"Surname": "string"
},
"DateOfBirth": "string",
"Sex": {
"Code": "string"
}
},
"DistrictNumber": "string",
"UniqueIdentifier": "string",
"AdmissionDate": "string",
"Location": {
"Code": "string",
"Description": "string",
"Ward": {
"Code": "string",
"Description": "string"
},
"Bed": {
"Code": "string"
}
},
"AdmissionType": {
"Code": "string",
"Description": "string"
},
"ReferringDoctor": {
"Code": "string",
"Name": {
"Title": "string",
"Initials": "string",
"Surname": "string"
}
},
"AdmittingDoctor": {
"Code": "string",
"Name": {
"Title": "string",
"Initials": "string",
"Surname": "string"
}
},
"AttendingDoctor": {
"Code": "string",
"Name": {
"Title": "string",
"Initials": "string",
"Surname": "string"
}
},
"Consultant": {
"Code": "string",
"Name": {
"Title": "string",
"Initials": "string",
"Surname": "string"
}
},
"Specialty": {
"Code": "string",
"Description": "string"
},
"ReAdmission": {
"Code": "string",
"Description": "string"
},
"AdmissionSource": {
"Code": "string",
"Description": "string"
},
"AdmissionCategory": {
"Code": "string",
"Description": "string"
},
"ReasonForAdmission": {
"Code": "string",
"Description": "string"
},
"ExpectedDischargeDate": "string",
"DischargeDate": "string",
"Diagnoses": [
{
"SetId": "string",
"Code": "string",
"Description": "string",
"CodingSystem": "string",
"DateTime": "string",
"Type": "string",
"Priority": "string",
"IsPrimary": "string",
"Clinicians": [
{
"Id": "string",
"Forename": "string",
"Surname": "string",
"Title": "string",
"Source": "string",
"CheckDigit": "string"
}
]
}
],
"Procedures": [
{
"SetId": "string",
"Code": "string",
"Description": "string",
"CodingSystem": "string",
"DateTime": "string",
"Type": "string",
"Priority": "string",
"IsPrimary": "string",
"Practitioners": [
{
"Id": "string",
"Forename": "string",
"Surname": "string",
"Title": "string",
"Source": "string",
"CheckDigit": "string"
}
]
}
],
"PrimaryDiagnosisDetails": {
"Code": "string",
"Description": "string",
"CodingSystem": "string"
},
"PrimaryProcedureDetails": {
"Code": "string",
"Description": "string",
"CodingSystem": "string"
},
"LengthOfStay": "string",
"StayType": "string",
"DocumentInformation": {
"DocumentId": 0,
"TypeId": 0,
"CreationDate": "string",
"LastUpdatedDate": "string",
"DocumentDate": "string",
"IsMedway": true,
"OrganisationCode": "string",
"TenancyDescription": "string",
"ACRSCanCancel": true
}
}
{
"description": "The inpatient admission.",
"type": "object",
"properties": {
"PatientClass": {
"description": "Gets or sets the patient class.",
"type": "string"
},
"EventRecordedDateTime": {
"format": "date-time",
"description": "Gets or sets the event recorded date time.",
"type": "string"
},
"EventOccurredDateTime": {
"format": "date-time",
"description": "Gets or sets the event occurred date time.",
"type": "string"
},
"PatientIdentifier": {
"description": "Gets or sets the patient identifier.",
"type": "object",
"properties": {
"PatientNumber": {
"description": "Gets or sets the patient number.",
"type": "string"
},
"NhsNumber": {
"description": "Gets or sets the nhs number.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Forenames": {
"description": "Gets or sets the forenames.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
},
"DateOfBirth": {
"format": "date-time",
"description": "Gets or sets the date of birth.",
"type": "string"
},
"Sex": {
"description": "Gets or sets the sex.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
}
}
}
}
},
"DistrictNumber": {
"description": "Gets or sets the district number.",
"type": "string"
},
"UniqueIdentifier": {
"description": "Gets or sets the unique identifier.",
"type": "string"
},
"AdmissionDate": {
"format": "date-time",
"description": "Gets or sets the admission date.",
"type": "string"
},
"Location": {
"description": "Gets or sets the location.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the Description.",
"type": "string"
},
"Ward": {
"description": "Gets or sets the ward.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"Bed": {
"description": "Gets or sets the bed.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
}
}
}
}
},
"AdmissionType": {
"description": "Gets or sets the admission type.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ReferringDoctor": {
"description": "Gets or sets the referring doctor.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"AdmittingDoctor": {
"description": "Gets or sets the admitting doctor.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"AttendingDoctor": {
"description": "Gets or sets the attending doctor.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"Consultant": {
"description": "Gets or sets the consultant.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"Specialty": {
"description": "Gets or sets the specialty.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ReAdmission": {
"description": "Gets or sets the re admission.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"AdmissionSource": {
"description": "Gets or sets the admission source.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"AdmissionCategory": {
"description": "Gets or sets the admission category.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ReasonForAdmission": {
"description": "Gets or sets the reason for admission.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ExpectedDischargeDate": {
"format": "date-time",
"description": "Gets or sets the expected discharge date.",
"type": "string"
},
"DischargeDate": {
"format": "date-time",
"description": "Gets or sets the discharge date.",
"type": "string"
},
"Diagnoses": {
"description": "Gets or sets the diagnoses.",
"type": "array",
"items": {
"description": "The 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"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
},
"DateTime": {
"format": "date-time",
"description": "Gets or sets the date time.",
"type": "string"
},
"Type": {
"description": "Gets or sets the type.",
"type": "string"
},
"Priority": {
"description": "Gets or sets the priority.",
"type": "string"
},
"IsPrimary": {
"description": "Gets or sets the is primary.",
"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"
},
"Source": {
"description": "Gets or sets the source.",
"type": "string"
},
"CheckDigit": {
"description": "Gets or sets the check digit.",
"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"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
},
"DateTime": {
"format": "date-time",
"description": "Gets or sets the date time.",
"type": "string"
},
"Type": {
"description": "Gets or sets the type.",
"type": "string"
},
"Priority": {
"description": "Gets or sets the priority.",
"type": "string"
},
"IsPrimary": {
"description": "Gets or sets the is primary.",
"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"
},
"Source": {
"description": "Gets or sets the source.",
"type": "string"
},
"CheckDigit": {
"description": "Gets or sets the check digit.",
"type": "string"
}
}
}
}
}
}
},
"PrimaryDiagnosisDetails": {
"description": "Gets or sets the primary diagnosis details.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
}
}
},
"PrimaryProcedureDetails": {
"description": "Gets or sets the primary procedure details.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
}
}
},
"LengthOfStay": {
"description": "Gets or sets the length of stay.",
"type": "string"
},
"StayType": {
"description": "Gets or sets the stay type.",
"type": "string"
},
"DocumentInformation": {
"type": "object",
"properties": {
"DocumentId": {
"format": "int32",
"type": "integer"
},
"TypeId": {
"format": "int32",
"type": "integer"
},
"CreationDate": {
"format": "date-time",
"type": "string"
},
"LastUpdatedDate": {
"format": "date-time",
"type": "string"
},
"DocumentDate": {
"format": "date-time",
"type": "string"
},
"IsMedway": {
"type": "boolean"
},
"OrganisationCode": {
"type": "string"
},
"TenancyDescription": {
"type": "string"
},
"ACRSCanCancel": {
"type": "boolean"
}
}
}
}
}
{
"PatientClass": "string",
"EventRecordedDateTime": "string",
"EventOccurredDateTime": "string",
"PatientIdentifier": {
"PatientNumber": "string",
"NhsNumber": "string",
"Name": {
"Forenames": "string",
"Surname": "string"
},
"DateOfBirth": "string",
"Sex": {
"Code": "string"
}
},
"DistrictNumber": "string",
"UniqueIdentifier": "string",
"AdmissionDate": "string",
"Location": {
"Code": "string",
"Description": "string",
"Ward": {
"Code": "string",
"Description": "string"
},
"Bed": {
"Code": "string"
}
},
"AdmissionType": {
"Code": "string",
"Description": "string"
},
"ReferringDoctor": {
"Code": "string",
"Name": {
"Title": "string",
"Initials": "string",
"Surname": "string"
}
},
"AdmittingDoctor": {
"Code": "string",
"Name": {
"Title": "string",
"Initials": "string",
"Surname": "string"
}
},
"AttendingDoctor": {
"Code": "string",
"Name": {
"Title": "string",
"Initials": "string",
"Surname": "string"
}
},
"Consultant": {
"Code": "string",
"Name": {
"Title": "string",
"Initials": "string",
"Surname": "string"
}
},
"Specialty": {
"Code": "string",
"Description": "string"
},
"ReAdmission": {
"Code": "string",
"Description": "string"
},
"AdmissionSource": {
"Code": "string",
"Description": "string"
},
"AdmissionCategory": {
"Code": "string",
"Description": "string"
},
"ReasonForAdmission": {
"Code": "string",
"Description": "string"
},
"ExpectedDischargeDate": "string",
"DischargeDate": "string",
"Diagnoses": [
{
"SetId": "string",
"Code": "string",
"Description": "string",
"CodingSystem": "string",
"DateTime": "string",
"Type": "string",
"Priority": "string",
"IsPrimary": "string",
"Clinicians": [
{
"Id": "string",
"Forename": "string",
"Surname": "string",
"Title": "string",
"Source": "string",
"CheckDigit": "string"
}
]
}
],
"Procedures": [
{
"SetId": "string",
"Code": "string",
"Description": "string",
"CodingSystem": "string",
"DateTime": "string",
"Type": "string",
"Priority": "string",
"IsPrimary": "string",
"Practitioners": [
{
"Id": "string",
"Forename": "string",
"Surname": "string",
"Title": "string",
"Source": "string",
"CheckDigit": "string"
}
]
}
],
"PrimaryDiagnosisDetails": {
"Code": "string",
"Description": "string",
"CodingSystem": "string"
},
"PrimaryProcedureDetails": {
"Code": "string",
"Description": "string",
"CodingSystem": "string"
},
"LengthOfStay": "string",
"StayType": "string",
"DocumentInformation": {
"DocumentId": 0,
"TypeId": 0,
"CreationDate": "string",
"LastUpdatedDate": "string",
"DocumentDate": "string",
"IsMedway": true,
"OrganisationCode": "string",
"TenancyDescription": "string",
"ACRSCanCancel": true
}
}
{
"description": "The inpatient admission.",
"type": "object",
"properties": {
"PatientClass": {
"description": "Gets or sets the patient class.",
"type": "string"
},
"EventRecordedDateTime": {
"format": "date-time",
"description": "Gets or sets the event recorded date time.",
"type": "string"
},
"EventOccurredDateTime": {
"format": "date-time",
"description": "Gets or sets the event occurred date time.",
"type": "string"
},
"PatientIdentifier": {
"description": "Gets or sets the patient identifier.",
"type": "object",
"properties": {
"PatientNumber": {
"description": "Gets or sets the patient number.",
"type": "string"
},
"NhsNumber": {
"description": "Gets or sets the nhs number.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Forenames": {
"description": "Gets or sets the forenames.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
},
"DateOfBirth": {
"format": "date-time",
"description": "Gets or sets the date of birth.",
"type": "string"
},
"Sex": {
"description": "Gets or sets the sex.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
}
}
}
}
},
"DistrictNumber": {
"description": "Gets or sets the district number.",
"type": "string"
},
"UniqueIdentifier": {
"description": "Gets or sets the unique identifier.",
"type": "string"
},
"AdmissionDate": {
"format": "date-time",
"description": "Gets or sets the admission date.",
"type": "string"
},
"Location": {
"description": "Gets or sets the location.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the Description.",
"type": "string"
},
"Ward": {
"description": "Gets or sets the ward.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"Bed": {
"description": "Gets or sets the bed.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
}
}
}
}
},
"AdmissionType": {
"description": "Gets or sets the admission type.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ReferringDoctor": {
"description": "Gets or sets the referring doctor.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"AdmittingDoctor": {
"description": "Gets or sets the admitting doctor.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"AttendingDoctor": {
"description": "Gets or sets the attending doctor.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"Consultant": {
"description": "Gets or sets the consultant.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"Specialty": {
"description": "Gets or sets the specialty.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ReAdmission": {
"description": "Gets or sets the re admission.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"AdmissionSource": {
"description": "Gets or sets the admission source.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"AdmissionCategory": {
"description": "Gets or sets the admission category.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ReasonForAdmission": {
"description": "Gets or sets the reason for admission.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ExpectedDischargeDate": {
"format": "date-time",
"description": "Gets or sets the expected discharge date.",
"type": "string"
},
"DischargeDate": {
"format": "date-time",
"description": "Gets or sets the discharge date.",
"type": "string"
},
"Diagnoses": {
"description": "Gets or sets the diagnoses.",
"type": "array",
"items": {
"description": "The 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"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
},
"DateTime": {
"format": "date-time",
"description": "Gets or sets the date time.",
"type": "string"
},
"Type": {
"description": "Gets or sets the type.",
"type": "string"
},
"Priority": {
"description": "Gets or sets the priority.",
"type": "string"
},
"IsPrimary": {
"description": "Gets or sets the is primary.",
"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"
},
"Source": {
"description": "Gets or sets the source.",
"type": "string"
},
"CheckDigit": {
"description": "Gets or sets the check digit.",
"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"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
},
"DateTime": {
"format": "date-time",
"description": "Gets or sets the date time.",
"type": "string"
},
"Type": {
"description": "Gets or sets the type.",
"type": "string"
},
"Priority": {
"description": "Gets or sets the priority.",
"type": "string"
},
"IsPrimary": {
"description": "Gets or sets the is primary.",
"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"
},
"Source": {
"description": "Gets or sets the source.",
"type": "string"
},
"CheckDigit": {
"description": "Gets or sets the check digit.",
"type": "string"
}
}
}
}
}
}
},
"PrimaryDiagnosisDetails": {
"description": "Gets or sets the primary diagnosis details.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
}
}
},
"PrimaryProcedureDetails": {
"description": "Gets or sets the primary procedure details.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
}
}
},
"LengthOfStay": {
"description": "Gets or sets the length of stay.",
"type": "string"
},
"StayType": {
"description": "Gets or sets the stay type.",
"type": "string"
},
"DocumentInformation": {
"type": "object",
"properties": {
"DocumentId": {
"format": "int32",
"type": "integer"
},
"TypeId": {
"format": "int32",
"type": "integer"
},
"CreationDate": {
"format": "date-time",
"type": "string"
},
"LastUpdatedDate": {
"format": "date-time",
"type": "string"
},
"DocumentDate": {
"format": "date-time",
"type": "string"
},
"IsMedway": {
"type": "boolean"
},
"OrganisationCode": {
"type": "string"
},
"TenancyDescription": {
"type": "string"
},
"ACRSCanCancel": {
"type": "boolean"
}
}
}
}
}
<InpatientEmergency.Models.InpatientAdmission>
<PatientClass>string</PatientClass>
<EventRecordedDateTime>string</EventRecordedDateTime>
<EventOccurredDateTime>string</EventOccurredDateTime>
<PatientIdentifier>
<PatientNumber>string</PatientNumber>
<NhsNumber>string</NhsNumber>
<Name>
<Forenames>string</Forenames>
<Surname>string</Surname>
</Name>
<DateOfBirth>string</DateOfBirth>
<Sex>
<Code>string</Code>
</Sex>
</PatientIdentifier>
<DistrictNumber>string</DistrictNumber>
<UniqueIdentifier>string</UniqueIdentifier>
<AdmissionDate>string</AdmissionDate>
<Location>
<Code>string</Code>
<Description>string</Description>
<Ward>
<Code>string</Code>
<Description>string</Description>
</Ward>
<Bed>
<Code>string</Code>
</Bed>
</Location>
<AdmissionType>
<Code>string</Code>
<Description>string</Description>
</AdmissionType>
<ReferringDoctor>
<Code>string</Code>
<Name>
<Title>string</Title>
<Initials>string</Initials>
<Surname>string</Surname>
</Name>
</ReferringDoctor>
<AdmittingDoctor>
<Code>string</Code>
<Name>
<Title>string</Title>
<Initials>string</Initials>
<Surname>string</Surname>
</Name>
</AdmittingDoctor>
<AttendingDoctor>
<Code>string</Code>
<Name>
<Title>string</Title>
<Initials>string</Initials>
<Surname>string</Surname>
</Name>
</AttendingDoctor>
<Consultant>
<Code>string</Code>
<Name>
<Title>string</Title>
<Initials>string</Initials>
<Surname>string</Surname>
</Name>
</Consultant>
<Specialty>
<Code>string</Code>
<Description>string</Description>
</Specialty>
<ReAdmission>
<Code>string</Code>
<Description>string</Description>
</ReAdmission>
<AdmissionSource>
<Code>string</Code>
<Description>string</Description>
</AdmissionSource>
<AdmissionCategory>
<Code>string</Code>
<Description>string</Description>
</AdmissionCategory>
<ReasonForAdmission>
<Code>string</Code>
<Description>string</Description>
</ReasonForAdmission>
<ExpectedDischargeDate>string</ExpectedDischargeDate>
<DischargeDate>string</DischargeDate>
<Diagnoses>
<SetId>string</SetId>
<Code>string</Code>
<Description>string</Description>
<CodingSystem>string</CodingSystem>
<DateTime>string</DateTime>
<Type>string</Type>
<Priority>string</Priority>
<IsPrimary>string</IsPrimary>
<Clinicians>
<Id>string</Id>
<Forename>string</Forename>
<Surname>string</Surname>
<Title>string</Title>
<Source>string</Source>
<CheckDigit>string</CheckDigit>
</Clinicians>
</Diagnoses>
<Procedures>
<SetId>string</SetId>
<Code>string</Code>
<Description>string</Description>
<CodingSystem>string</CodingSystem>
<DateTime>string</DateTime>
<Type>string</Type>
<Priority>string</Priority>
<IsPrimary>string</IsPrimary>
<Practitioners>
<Id>string</Id>
<Forename>string</Forename>
<Surname>string</Surname>
<Title>string</Title>
<Source>string</Source>
<CheckDigit>string</CheckDigit>
</Practitioners>
</Procedures>
<PrimaryDiagnosisDetails>
<Code>string</Code>
<Description>string</Description>
<CodingSystem>string</CodingSystem>
</PrimaryDiagnosisDetails>
<PrimaryProcedureDetails>
<Code>string</Code>
<Description>string</Description>
<CodingSystem>string</CodingSystem>
</PrimaryProcedureDetails>
<LengthOfStay>string</LengthOfStay>
<StayType>string</StayType>
<DocumentInformation>
<DocumentId>0</DocumentId>
<TypeId>0</TypeId>
<CreationDate>string</CreationDate>
<LastUpdatedDate>string</LastUpdatedDate>
<DocumentDate>string</DocumentDate>
<IsMedway>true</IsMedway>
<OrganisationCode>string</OrganisationCode>
<TenancyDescription>string</TenancyDescription>
<ACRSCanCancel>true</ACRSCanCancel>
</DocumentInformation>
</InpatientEmergency.Models.InpatientAdmission>
{
"description": "The inpatient admission.",
"type": "object",
"properties": {
"PatientClass": {
"description": "Gets or sets the patient class.",
"type": "string"
},
"EventRecordedDateTime": {
"format": "date-time",
"description": "Gets or sets the event recorded date time.",
"type": "string"
},
"EventOccurredDateTime": {
"format": "date-time",
"description": "Gets or sets the event occurred date time.",
"type": "string"
},
"PatientIdentifier": {
"description": "Gets or sets the patient identifier.",
"type": "object",
"properties": {
"PatientNumber": {
"description": "Gets or sets the patient number.",
"type": "string"
},
"NhsNumber": {
"description": "Gets or sets the nhs number.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Forenames": {
"description": "Gets or sets the forenames.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
},
"DateOfBirth": {
"format": "date-time",
"description": "Gets or sets the date of birth.",
"type": "string"
},
"Sex": {
"description": "Gets or sets the sex.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
}
}
}
}
},
"DistrictNumber": {
"description": "Gets or sets the district number.",
"type": "string"
},
"UniqueIdentifier": {
"description": "Gets or sets the unique identifier.",
"type": "string"
},
"AdmissionDate": {
"format": "date-time",
"description": "Gets or sets the admission date.",
"type": "string"
},
"Location": {
"description": "Gets or sets the location.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the Description.",
"type": "string"
},
"Ward": {
"description": "Gets or sets the ward.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"Bed": {
"description": "Gets or sets the bed.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
}
}
}
}
},
"AdmissionType": {
"description": "Gets or sets the admission type.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ReferringDoctor": {
"description": "Gets or sets the referring doctor.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"AdmittingDoctor": {
"description": "Gets or sets the admitting doctor.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"AttendingDoctor": {
"description": "Gets or sets the attending doctor.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"Consultant": {
"description": "Gets or sets the consultant.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"Specialty": {
"description": "Gets or sets the specialty.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ReAdmission": {
"description": "Gets or sets the re admission.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"AdmissionSource": {
"description": "Gets or sets the admission source.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"AdmissionCategory": {
"description": "Gets or sets the admission category.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ReasonForAdmission": {
"description": "Gets or sets the reason for admission.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ExpectedDischargeDate": {
"format": "date-time",
"description": "Gets or sets the expected discharge date.",
"type": "string"
},
"DischargeDate": {
"format": "date-time",
"description": "Gets or sets the discharge date.",
"type": "string"
},
"Diagnoses": {
"description": "Gets or sets the diagnoses.",
"type": "array",
"items": {
"description": "The 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"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
},
"DateTime": {
"format": "date-time",
"description": "Gets or sets the date time.",
"type": "string"
},
"Type": {
"description": "Gets or sets the type.",
"type": "string"
},
"Priority": {
"description": "Gets or sets the priority.",
"type": "string"
},
"IsPrimary": {
"description": "Gets or sets the is primary.",
"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"
},
"Source": {
"description": "Gets or sets the source.",
"type": "string"
},
"CheckDigit": {
"description": "Gets or sets the check digit.",
"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"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
},
"DateTime": {
"format": "date-time",
"description": "Gets or sets the date time.",
"type": "string"
},
"Type": {
"description": "Gets or sets the type.",
"type": "string"
},
"Priority": {
"description": "Gets or sets the priority.",
"type": "string"
},
"IsPrimary": {
"description": "Gets or sets the is primary.",
"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"
},
"Source": {
"description": "Gets or sets the source.",
"type": "string"
},
"CheckDigit": {
"description": "Gets or sets the check digit.",
"type": "string"
}
}
}
}
}
}
},
"PrimaryDiagnosisDetails": {
"description": "Gets or sets the primary diagnosis details.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
}
}
},
"PrimaryProcedureDetails": {
"description": "Gets or sets the primary procedure details.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
}
}
},
"LengthOfStay": {
"description": "Gets or sets the length of stay.",
"type": "string"
},
"StayType": {
"description": "Gets or sets the stay type.",
"type": "string"
},
"DocumentInformation": {
"type": "object",
"properties": {
"DocumentId": {
"format": "int32",
"type": "integer"
},
"TypeId": {
"format": "int32",
"type": "integer"
},
"CreationDate": {
"format": "date-time",
"type": "string"
},
"LastUpdatedDate": {
"format": "date-time",
"type": "string"
},
"DocumentDate": {
"format": "date-time",
"type": "string"
},
"IsMedway": {
"type": "boolean"
},
"OrganisationCode": {
"type": "string"
},
"TenancyDescription": {
"type": "string"
},
"ACRSCanCancel": {
"type": "boolean"
}
}
}
}
}
<InpatientEmergency.Models.InpatientAdmission>
<PatientClass>string</PatientClass>
<EventRecordedDateTime>string</EventRecordedDateTime>
<EventOccurredDateTime>string</EventOccurredDateTime>
<PatientIdentifier>
<PatientNumber>string</PatientNumber>
<NhsNumber>string</NhsNumber>
<Name>
<Forenames>string</Forenames>
<Surname>string</Surname>
</Name>
<DateOfBirth>string</DateOfBirth>
<Sex>
<Code>string</Code>
</Sex>
</PatientIdentifier>
<DistrictNumber>string</DistrictNumber>
<UniqueIdentifier>string</UniqueIdentifier>
<AdmissionDate>string</AdmissionDate>
<Location>
<Code>string</Code>
<Description>string</Description>
<Ward>
<Code>string</Code>
<Description>string</Description>
</Ward>
<Bed>
<Code>string</Code>
</Bed>
</Location>
<AdmissionType>
<Code>string</Code>
<Description>string</Description>
</AdmissionType>
<ReferringDoctor>
<Code>string</Code>
<Name>
<Title>string</Title>
<Initials>string</Initials>
<Surname>string</Surname>
</Name>
</ReferringDoctor>
<AdmittingDoctor>
<Code>string</Code>
<Name>
<Title>string</Title>
<Initials>string</Initials>
<Surname>string</Surname>
</Name>
</AdmittingDoctor>
<AttendingDoctor>
<Code>string</Code>
<Name>
<Title>string</Title>
<Initials>string</Initials>
<Surname>string</Surname>
</Name>
</AttendingDoctor>
<Consultant>
<Code>string</Code>
<Name>
<Title>string</Title>
<Initials>string</Initials>
<Surname>string</Surname>
</Name>
</Consultant>
<Specialty>
<Code>string</Code>
<Description>string</Description>
</Specialty>
<ReAdmission>
<Code>string</Code>
<Description>string</Description>
</ReAdmission>
<AdmissionSource>
<Code>string</Code>
<Description>string</Description>
</AdmissionSource>
<AdmissionCategory>
<Code>string</Code>
<Description>string</Description>
</AdmissionCategory>
<ReasonForAdmission>
<Code>string</Code>
<Description>string</Description>
</ReasonForAdmission>
<ExpectedDischargeDate>string</ExpectedDischargeDate>
<DischargeDate>string</DischargeDate>
<Diagnoses>
<SetId>string</SetId>
<Code>string</Code>
<Description>string</Description>
<CodingSystem>string</CodingSystem>
<DateTime>string</DateTime>
<Type>string</Type>
<Priority>string</Priority>
<IsPrimary>string</IsPrimary>
<Clinicians>
<Id>string</Id>
<Forename>string</Forename>
<Surname>string</Surname>
<Title>string</Title>
<Source>string</Source>
<CheckDigit>string</CheckDigit>
</Clinicians>
</Diagnoses>
<Procedures>
<SetId>string</SetId>
<Code>string</Code>
<Description>string</Description>
<CodingSystem>string</CodingSystem>
<DateTime>string</DateTime>
<Type>string</Type>
<Priority>string</Priority>
<IsPrimary>string</IsPrimary>
<Practitioners>
<Id>string</Id>
<Forename>string</Forename>
<Surname>string</Surname>
<Title>string</Title>
<Source>string</Source>
<CheckDigit>string</CheckDigit>
</Practitioners>
</Procedures>
<PrimaryDiagnosisDetails>
<Code>string</Code>
<Description>string</Description>
<CodingSystem>string</CodingSystem>
</PrimaryDiagnosisDetails>
<PrimaryProcedureDetails>
<Code>string</Code>
<Description>string</Description>
<CodingSystem>string</CodingSystem>
</PrimaryProcedureDetails>
<LengthOfStay>string</LengthOfStay>
<StayType>string</StayType>
<DocumentInformation>
<DocumentId>0</DocumentId>
<TypeId>0</TypeId>
<CreationDate>string</CreationDate>
<LastUpdatedDate>string</LastUpdatedDate>
<DocumentDate>string</DocumentDate>
<IsMedway>true</IsMedway>
<OrganisationCode>string</OrganisationCode>
<TenancyDescription>string</TenancyDescription>
<ACRSCanCancel>true</ACRSCanCancel>
</DocumentInformation>
</InpatientEmergency.Models.InpatientAdmission>
{
"description": "The inpatient admission.",
"type": "object",
"properties": {
"PatientClass": {
"description": "Gets or sets the patient class.",
"type": "string"
},
"EventRecordedDateTime": {
"format": "date-time",
"description": "Gets or sets the event recorded date time.",
"type": "string"
},
"EventOccurredDateTime": {
"format": "date-time",
"description": "Gets or sets the event occurred date time.",
"type": "string"
},
"PatientIdentifier": {
"description": "Gets or sets the patient identifier.",
"type": "object",
"properties": {
"PatientNumber": {
"description": "Gets or sets the patient number.",
"type": "string"
},
"NhsNumber": {
"description": "Gets or sets the nhs number.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Forenames": {
"description": "Gets or sets the forenames.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
},
"DateOfBirth": {
"format": "date-time",
"description": "Gets or sets the date of birth.",
"type": "string"
},
"Sex": {
"description": "Gets or sets the sex.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
}
}
}
}
},
"DistrictNumber": {
"description": "Gets or sets the district number.",
"type": "string"
},
"UniqueIdentifier": {
"description": "Gets or sets the unique identifier.",
"type": "string"
},
"AdmissionDate": {
"format": "date-time",
"description": "Gets or sets the admission date.",
"type": "string"
},
"Location": {
"description": "Gets or sets the location.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the Description.",
"type": "string"
},
"Ward": {
"description": "Gets or sets the ward.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"Bed": {
"description": "Gets or sets the bed.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
}
}
}
}
},
"AdmissionType": {
"description": "Gets or sets the admission type.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ReferringDoctor": {
"description": "Gets or sets the referring doctor.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"AdmittingDoctor": {
"description": "Gets or sets the admitting doctor.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"AttendingDoctor": {
"description": "Gets or sets the attending doctor.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"Consultant": {
"description": "Gets or sets the consultant.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Name": {
"description": "Gets or sets the name.",
"type": "object",
"properties": {
"Title": {
"description": "Gets or sets the title.",
"type": "string"
},
"Initials": {
"description": "Gets or sets the initials.",
"type": "string"
},
"Surname": {
"description": "Gets or sets the surname.",
"type": "string"
}
}
}
}
},
"Specialty": {
"description": "Gets or sets the specialty.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ReAdmission": {
"description": "Gets or sets the re admission.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"AdmissionSource": {
"description": "Gets or sets the admission source.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"AdmissionCategory": {
"description": "Gets or sets the admission category.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ReasonForAdmission": {
"description": "Gets or sets the reason for admission.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
}
}
},
"ExpectedDischargeDate": {
"format": "date-time",
"description": "Gets or sets the expected discharge date.",
"type": "string"
},
"DischargeDate": {
"format": "date-time",
"description": "Gets or sets the discharge date.",
"type": "string"
},
"Diagnoses": {
"description": "Gets or sets the diagnoses.",
"type": "array",
"items": {
"description": "The 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"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
},
"DateTime": {
"format": "date-time",
"description": "Gets or sets the date time.",
"type": "string"
},
"Type": {
"description": "Gets or sets the type.",
"type": "string"
},
"Priority": {
"description": "Gets or sets the priority.",
"type": "string"
},
"IsPrimary": {
"description": "Gets or sets the is primary.",
"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"
},
"Source": {
"description": "Gets or sets the source.",
"type": "string"
},
"CheckDigit": {
"description": "Gets or sets the check digit.",
"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"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
},
"DateTime": {
"format": "date-time",
"description": "Gets or sets the date time.",
"type": "string"
},
"Type": {
"description": "Gets or sets the type.",
"type": "string"
},
"Priority": {
"description": "Gets or sets the priority.",
"type": "string"
},
"IsPrimary": {
"description": "Gets or sets the is primary.",
"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"
},
"Source": {
"description": "Gets or sets the source.",
"type": "string"
},
"CheckDigit": {
"description": "Gets or sets the check digit.",
"type": "string"
}
}
}
}
}
}
},
"PrimaryDiagnosisDetails": {
"description": "Gets or sets the primary diagnosis details.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
}
}
},
"PrimaryProcedureDetails": {
"description": "Gets or sets the primary procedure details.",
"type": "object",
"properties": {
"Code": {
"description": "Gets or sets the code.",
"type": "string"
},
"Description": {
"description": "Gets or sets the description.",
"type": "string"
},
"CodingSystem": {
"description": "Gets or sets the coding system.",
"type": "string"
}
}
},
"LengthOfStay": {
"description": "Gets or sets the length of stay.",
"type": "string"
},
"StayType": {
"description": "Gets or sets the stay type.",
"type": "string"
},
"DocumentInformation": {
"type": "object",
"properties": {
"DocumentId": {
"format": "int32",
"type": "integer"
},
"TypeId": {
"format": "int32",
"type": "integer"
},
"CreationDate": {
"format": "date-time",
"type": "string"
},
"LastUpdatedDate": {
"format": "date-time",
"type": "string"
},
"DocumentDate": {
"format": "date-time",
"type": "string"
},
"IsMedway": {
"type": "boolean"
},
"OrganisationCode": {
"type": "string"
},
"TenancyDescription": {
"type": "string"
},
"ACRSCanCancel": {
"type": "boolean"
}
}
}
}
}
400 Bad Request
Invalid parameter supplied
Representations
401 Unauthorized
Invalid credentials supplied
Representations
404 Not Found
Specified entity was not found or access denied
Representations
Code samples
@ECHO OFF
curl -v -X GET "https://graphnet-api-nonprod.azure-api.net/adt/patients/{patientDetailId}/hospital-activity/inpatients-and-emergency/inpatient-admission/{admissionId}"
-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/inpatients-and-emergency/inpatient-admission/{admissionId}?" + 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/inpatients-and-emergency/inpatient-admission/{admissionId}");
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/inpatients-and-emergency/inpatient-admission/{admissionId}?" + $.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/inpatients-and-emergency/inpatient-admission/{admissionId}";
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/inpatients-and-emergency/inpatient-admission/{admissionId}');
$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/inpatients-and-emergency/inpatient-admission/{admissionId}?%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/inpatients-and-emergency/inpatient-admission/{admissionId}?%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/inpatients-and-emergency/inpatient-admission/{admissionId}')
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