Pathology Bundle

API change history

Access details of orders and pathology results

Pathology - Results

Returns pathology 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

{
  "PathologyResults": [
    {
      "ResultTypeIdentifier": {
        "Type": "string",
        "Code": "string",
        "Description": "string"
      },
      "PatientIdentifier": {
        "PatientNumber": "string",
        "NhsNumber": "string",
        "Name": {
          "Forenames": "string",
          "Surname": "string"
        },
        "DateOfBirth": "string",
        "Sex": {
          "Code": "string"
        }
      },
      "DistrictNumber": "string",
      "OrderingParty": {
        "Name": "string",
        "Ward": "string",
        "Site": "string"
      },
      "Provider": {
        "Department": {
          "CodeDescription": "string"
        }
      },
      "Report": {
        "DateTime": "string",
        "ReportedBy": {
          "Description": "string"
        },
        "TypedBy": "string",
        "Status": "string",
        "ReportComments": "string"
      },
      "Specimen": {
        "SpecimenComments": "string",
        "SampleId": "string",
        "Type": {
          "Code": "string",
          "Description": "string"
        },
        "Collected": "string",
        "Received": "string",
        "CultureInvestigationDetailsList": [
          {
            "Type": {
              "Code": "string",
              "Description": "string"
            },
            "AuthorisedDateTime": "string",
            "ClinicalDetails": "string",
            "InvestigationComments": "string",
            "CultureList": [
              {
                "Identifier": "string",
                "Code": "string",
                "Type": "string",
                "Description": "string",
                "Tests": [
                  {
                    "Identifier": "string",
                    "Code": "string",
                    "Description": "string",
                    "Result": {
                      "MinimumValue": "string",
                      "MaximumValue": "string",
                      "Flag": "string",
                      "Status": "string",
                      "Value": "string",
                      "Unit": "string",
                      "Note": "string"
                    }
                  }
                ]
              }
            ]
          }
        ],
        "InvestigationDetailsList": [
          {
            "Type": {
              "Code": "string",
              "Description": "string"
            },
            "AuthorisedDateTime": "string",
            "ClinicalDetails": "string",
            "InvestigationComments": "string",
            "SpecimenComments": "string",
            "Tests": [
              {
                "Code": "string",
                "Description": "string",
                "Result": {
                  "MinimumValue": "string",
                  "MaximumValue": "string",
                  "Flag": "string",
                  "Status": "string",
                  "Value": "string",
                  "ValueType": "string",
                  "TabulatedValue": "string",
                  "Unit": "string",
                  "Note": "string"
                }
              }
            ]
          }
        ]
      },
      "DocumentInformation": {
        "DocumentId": 0,
        "TypeId": 0,
        "CreationDate": "string",
        "LastUpdatedDate": "string",
        "DocumentDate": "string",
        "IsMedway": true,
        "OrganisationCode": "string",
        "TenancyDescription": "string",
        "ACRSCanCancel": true
      }
    }
  ],
  "TotalItemCount": 0
}
{
  "description": "Pathology results collection containing the pathology results and total number of items.",
  "type": "object",
  "properties": {
    "PathologyResults": {
      "description": "Gets or sets relevant pathology results.",
      "type": "array",
      "items": {
        "description": "A pathology result document.",
        "type": "object",
        "properties": {
          "ResultTypeIdentifier": {
            "description": "Gets or sets identifier for the type of the result.",
            "type": "object",
            "properties": {
              "Type": {
                "description": "Gets or sets result type.",
                "type": "string"
              },
              "Code": {
                "description": "Gets or sets result type code.",
                "type": "string"
              },
              "Description": {
                "description": "Gets or sets result type description.",
                "type": "string"
              }
            }
          },
          "PatientIdentifier": {
            "description": "Gets or sets snapshot of patient identifiers and demographics at time of publish.",
            "type": "object",
            "properties": {
              "PatientNumber": {
                "description": "Gets or sets the patient's number.",
                "type": "string"
              },
              "NhsNumber": {
                "description": "Gets or sets the patient's nhs number.",
                "type": "string"
              },
              "Name": {
                "description": "Gets or sets the patient's name.",
                "type": "object",
                "properties": {
                  "Forenames": {
                    "description": "Gets or sets patient forenames.",
                    "type": "string"
                  },
                  "Surname": {
                    "description": "Gets or sets patient surname.",
                    "type": "string"
                  }
                }
              },
              "DateOfBirth": {
                "format": "date-time",
                "description": "Gets or sets the patient's date of birth.",
                "type": "string"
              },
              "Sex": {
                "description": "Gets or sets the patient's sex.",
                "type": "object",
                "properties": {
                  "Code": {
                    "description": "Gets or sets code associated with the patient's sex.",
                    "type": "string"
                  }
                }
              }
            }
          },
          "DistrictNumber": {
            "description": "Gets or sets patient district number at time of publish.",
            "type": "string"
          },
          "OrderingParty": {
            "description": "Gets or sets the ordering party for the result.",
            "type": "object",
            "properties": {
              "Name": {
                "description": "Gets or sets the name of the ordering party.",
                "type": "string"
              },
              "Ward": {
                "description": "Gets or sets the ward of the ordering party.",
                "type": "string"
              },
              "Site": {
                "description": "Gets or sets the site of the ordering party.",
                "type": "string"
              }
            }
          },
          "Provider": {
            "description": "Gets or sets the provider of the result.",
            "type": "object",
            "properties": {
              "Department": {
                "description": "Gets or sets the department of the result provider.",
                "type": "object",
                "properties": {
                  "CodeDescription": {
                    "description": "Gets or sets the code description of the provider department.",
                    "type": "string"
                  }
                }
              }
            }
          },
          "Report": {
            "description": "Gets or sets the report associated with the result.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date and time of the report.",
                "type": "string"
              },
              "ReportedBy": {
                "description": "Gets or sets who the report was made by.",
                "type": "object",
                "properties": {
                  "Description": {
                    "description": "Gets or sets description of who a report was made by.",
                    "type": "string"
                  }
                }
              },
              "TypedBy": {
                "description": "Gets or sets who the report was typed by.",
                "type": "string"
              },
              "Status": {
                "description": "Gets or sets the status of the report.",
                "type": "string"
              },
              "ReportComments": {
                "description": "Gets or sets comments made on the report.",
                "type": "string"
              }
            }
          },
          "Specimen": {
            "description": "Gets or sets the specimen associated with the result.",
            "type": "object",
            "properties": {
              "SpecimenComments": {
                "description": "Gets or sets comments made on the specimen.",
                "type": "string"
              },
              "SampleId": {
                "description": "Gets or sets the sample id for the specimen.",
                "type": "string"
              },
              "Type": {
                "description": "Gets or sets the type of specimen.",
                "type": "object",
                "properties": {
                  "Code": {
                    "description": "Gets or sets the code for the specimen type.",
                    "type": "string"
                  },
                  "Description": {
                    "description": "Gets or sets a description of the specimen type.",
                    "type": "string"
                  }
                }
              },
              "Collected": {
                "format": "date-time",
                "description": "Gets or sets the date and time that the specimen was collected.",
                "type": "string"
              },
              "Received": {
                "format": "date-time",
                "description": "Gets or sets the date and time that the specimen was received.",
                "type": "string"
              },
              "CultureInvestigationDetailsList": {
                "description": "Gets the culture investigation details list.",
                "type": "array",
                "items": {
                  "description": "Details of a culture investigation.",
                  "type": "object",
                  "properties": {
                    "Type": {
                      "description": "Gets or sets the type of investigation.",
                      "type": "object",
                      "properties": {
                        "Code": {
                          "description": "Gets or sets the code for the culture investigation type.",
                          "type": "string"
                        },
                        "Description": {
                          "description": "Gets or sets the description of the culture investigation type.",
                          "type": "string"
                        }
                      }
                    },
                    "AuthorisedDateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date and time that the investigation was authorised.",
                      "type": "string"
                    },
                    "ClinicalDetails": {
                      "description": "Gets or sets clinical details of the investigation.",
                      "type": "string"
                    },
                    "InvestigationComments": {
                      "description": "Gets or sets comments made on the investigation.",
                      "type": "string"
                    },
                    "CultureList": {
                      "description": "Gets or sets investigated cultures.",
                      "type": "array",
                      "items": {
                        "description": "A culture investigated as part of a culture investigation.",
                        "type": "object",
                        "properties": {
                          "Identifier": {
                            "description": "Gets or sets the identifier for the culture.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code for the culture.",
                            "type": "string"
                          },
                          "Type": {
                            "description": "Gets or sets the type of the culture.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description of the culture.",
                            "type": "string"
                          },
                          "Tests": {
                            "description": "Gets or sets tests made on the culture.",
                            "type": "array",
                            "items": {
                              "description": "Describes a test made on a culture.",
                              "type": "object",
                              "properties": {
                                "Identifier": {
                                  "description": "Gets or sets the identifier of the test.",
                                  "type": "string"
                                },
                                "Code": {
                                  "description": "Gets or sets the code for the test.",
                                  "type": "string"
                                },
                                "Description": {
                                  "description": "Gets or sets the description of the test.",
                                  "type": "string"
                                },
                                "Result": {
                                  "description": "Gets or sets the result of the test.",
                                  "type": "object",
                                  "properties": {
                                    "MinimumValue": {
                                      "description": "Gets or sets the minimum value of the test result.",
                                      "type": "string"
                                    },
                                    "MaximumValue": {
                                      "description": "Gets or sets the minimum value of the test result.",
                                      "type": "string"
                                    },
                                    "Flag": {
                                      "description": "Gets or sets test result flag.",
                                      "type": "string"
                                    },
                                    "Status": {
                                      "description": "Gets or sets status of the test result.",
                                      "type": "string"
                                    },
                                    "Value": {
                                      "description": "Gets or sets value of the test result.",
                                      "type": "string"
                                    },
                                    "Unit": {
                                      "description": "Gets or sets unit describing the test result value.",
                                      "type": "string"
                                    },
                                    "Note": {
                                      "description": "Gets or sets test result notes.",
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "readOnly": true
              },
              "InvestigationDetailsList": {
                "description": "Gets or sets investigation details for the specimen.",
                "type": "array",
                "items": {
                  "description": "Investigation details for a specimen.",
                  "type": "object",
                  "properties": {
                    "Type": {
                      "description": "Gets or sets the type of investigation.",
                      "type": "object",
                      "properties": {
                        "Code": {
                          "description": "Gets or sets the code for the investigation type.",
                          "type": "string"
                        },
                        "Description": {
                          "description": "Gets or sets the description of the investigation type.",
                          "type": "string"
                        }
                      }
                    },
                    "AuthorisedDateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date and time that the investigation was authorised.",
                      "type": "string"
                    },
                    "ClinicalDetails": {
                      "description": "Gets or sets clinical details of the investigation.",
                      "type": "string"
                    },
                    "InvestigationComments": {
                      "description": "Gets or sets comments made on the investigation.",
                      "type": "string"
                    },
                    "SpecimenComments": {
                      "description": "Gets or sets SpecimenComments.",
                      "type": "string"
                    },
                    "Tests": {
                      "description": "Gets or sets tests made as part of the investigation.",
                      "type": "array",
                      "items": {
                        "description": "Details of an investigation.",
                        "type": "object",
                        "properties": {
                          "Code": {
                            "description": "Gets or sets the code for the test.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description of the test.",
                            "type": "string"
                          },
                          "Result": {
                            "description": "Gets or sets the result of the test.",
                            "type": "object",
                            "properties": {
                              "MinimumValue": {
                                "description": "Gets or sets the minimum value of the test result.",
                                "type": "string"
                              },
                              "MaximumValue": {
                                "description": "Gets or sets the minimum value of the test result.",
                                "type": "string"
                              },
                              "Flag": {
                                "description": "Gets or sets test result flag.",
                                "type": "string"
                              },
                              "Status": {
                                "description": "Gets or sets status of the test result.",
                                "type": "string"
                              },
                              "Value": {
                                "description": "Gets or sets value of the test result.",
                                "type": "string"
                              },
                              "ValueType": {
                                "description": "Gets or sets value type of the test result.",
                                "type": "string"
                              },
                              "TabulatedValue": {
                                "description": "Gets or sets value with additional tabulated data processing.",
                                "type": "string"
                              },
                              "Unit": {
                                "description": "Gets or sets unit describing the test result value.",
                                "type": "string"
                              },
                              "Note": {
                                "description": "Gets or sets test result notes.",
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "readOnly": true
              }
            }
          },
          "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"
              }
            }
          }
        }
      }
    },
    "TotalItemCount": {
      "format": "int32",
      "description": "Gets or sets total number of pathology results found.",
      "type": "integer",
      "readOnly": true
    }
  }
}
{
  "PathologyResults": [
    {
      "ResultTypeIdentifier": {
        "Type": "string",
        "Code": "string",
        "Description": "string"
      },
      "PatientIdentifier": {
        "PatientNumber": "string",
        "NhsNumber": "string",
        "Name": {
          "Forenames": "string",
          "Surname": "string"
        },
        "DateOfBirth": "string",
        "Sex": {
          "Code": "string"
        }
      },
      "DistrictNumber": "string",
      "OrderingParty": {
        "Name": "string",
        "Ward": "string",
        "Site": "string"
      },
      "Provider": {
        "Department": {
          "CodeDescription": "string"
        }
      },
      "Report": {
        "DateTime": "string",
        "ReportedBy": {
          "Description": "string"
        },
        "TypedBy": "string",
        "Status": "string",
        "ReportComments": "string"
      },
      "Specimen": {
        "SpecimenComments": "string",
        "SampleId": "string",
        "Type": {
          "Code": "string",
          "Description": "string"
        },
        "Collected": "string",
        "Received": "string",
        "CultureInvestigationDetailsList": [
          {
            "Type": {
              "Code": "string",
              "Description": "string"
            },
            "AuthorisedDateTime": "string",
            "ClinicalDetails": "string",
            "InvestigationComments": "string",
            "CultureList": [
              {
                "Identifier": "string",
                "Code": "string",
                "Type": "string",
                "Description": "string",
                "Tests": [
                  {
                    "Identifier": "string",
                    "Code": "string",
                    "Description": "string",
                    "Result": {
                      "MinimumValue": "string",
                      "MaximumValue": "string",
                      "Flag": "string",
                      "Status": "string",
                      "Value": "string",
                      "Unit": "string",
                      "Note": "string"
                    }
                  }
                ]
              }
            ]
          }
        ],
        "InvestigationDetailsList": [
          {
            "Type": {
              "Code": "string",
              "Description": "string"
            },
            "AuthorisedDateTime": "string",
            "ClinicalDetails": "string",
            "InvestigationComments": "string",
            "SpecimenComments": "string",
            "Tests": [
              {
                "Code": "string",
                "Description": "string",
                "Result": {
                  "MinimumValue": "string",
                  "MaximumValue": "string",
                  "Flag": "string",
                  "Status": "string",
                  "Value": "string",
                  "ValueType": "string",
                  "TabulatedValue": "string",
                  "Unit": "string",
                  "Note": "string"
                }
              }
            ]
          }
        ]
      },
      "DocumentInformation": {
        "DocumentId": 0,
        "TypeId": 0,
        "CreationDate": "string",
        "LastUpdatedDate": "string",
        "DocumentDate": "string",
        "IsMedway": true,
        "OrganisationCode": "string",
        "TenancyDescription": "string",
        "ACRSCanCancel": true
      }
    }
  ],
  "TotalItemCount": 0
}
{
  "description": "Pathology results collection containing the pathology results and total number of items.",
  "type": "object",
  "properties": {
    "PathologyResults": {
      "description": "Gets or sets relevant pathology results.",
      "type": "array",
      "items": {
        "description": "A pathology result document.",
        "type": "object",
        "properties": {
          "ResultTypeIdentifier": {
            "description": "Gets or sets identifier for the type of the result.",
            "type": "object",
            "properties": {
              "Type": {
                "description": "Gets or sets result type.",
                "type": "string"
              },
              "Code": {
                "description": "Gets or sets result type code.",
                "type": "string"
              },
              "Description": {
                "description": "Gets or sets result type description.",
                "type": "string"
              }
            }
          },
          "PatientIdentifier": {
            "description": "Gets or sets snapshot of patient identifiers and demographics at time of publish.",
            "type": "object",
            "properties": {
              "PatientNumber": {
                "description": "Gets or sets the patient's number.",
                "type": "string"
              },
              "NhsNumber": {
                "description": "Gets or sets the patient's nhs number.",
                "type": "string"
              },
              "Name": {
                "description": "Gets or sets the patient's name.",
                "type": "object",
                "properties": {
                  "Forenames": {
                    "description": "Gets or sets patient forenames.",
                    "type": "string"
                  },
                  "Surname": {
                    "description": "Gets or sets patient surname.",
                    "type": "string"
                  }
                }
              },
              "DateOfBirth": {
                "format": "date-time",
                "description": "Gets or sets the patient's date of birth.",
                "type": "string"
              },
              "Sex": {
                "description": "Gets or sets the patient's sex.",
                "type": "object",
                "properties": {
                  "Code": {
                    "description": "Gets or sets code associated with the patient's sex.",
                    "type": "string"
                  }
                }
              }
            }
          },
          "DistrictNumber": {
            "description": "Gets or sets patient district number at time of publish.",
            "type": "string"
          },
          "OrderingParty": {
            "description": "Gets or sets the ordering party for the result.",
            "type": "object",
            "properties": {
              "Name": {
                "description": "Gets or sets the name of the ordering party.",
                "type": "string"
              },
              "Ward": {
                "description": "Gets or sets the ward of the ordering party.",
                "type": "string"
              },
              "Site": {
                "description": "Gets or sets the site of the ordering party.",
                "type": "string"
              }
            }
          },
          "Provider": {
            "description": "Gets or sets the provider of the result.",
            "type": "object",
            "properties": {
              "Department": {
                "description": "Gets or sets the department of the result provider.",
                "type": "object",
                "properties": {
                  "CodeDescription": {
                    "description": "Gets or sets the code description of the provider department.",
                    "type": "string"
                  }
                }
              }
            }
          },
          "Report": {
            "description": "Gets or sets the report associated with the result.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date and time of the report.",
                "type": "string"
              },
              "ReportedBy": {
                "description": "Gets or sets who the report was made by.",
                "type": "object",
                "properties": {
                  "Description": {
                    "description": "Gets or sets description of who a report was made by.",
                    "type": "string"
                  }
                }
              },
              "TypedBy": {
                "description": "Gets or sets who the report was typed by.",
                "type": "string"
              },
              "Status": {
                "description": "Gets or sets the status of the report.",
                "type": "string"
              },
              "ReportComments": {
                "description": "Gets or sets comments made on the report.",
                "type": "string"
              }
            }
          },
          "Specimen": {
            "description": "Gets or sets the specimen associated with the result.",
            "type": "object",
            "properties": {
              "SpecimenComments": {
                "description": "Gets or sets comments made on the specimen.",
                "type": "string"
              },
              "SampleId": {
                "description": "Gets or sets the sample id for the specimen.",
                "type": "string"
              },
              "Type": {
                "description": "Gets or sets the type of specimen.",
                "type": "object",
                "properties": {
                  "Code": {
                    "description": "Gets or sets the code for the specimen type.",
                    "type": "string"
                  },
                  "Description": {
                    "description": "Gets or sets a description of the specimen type.",
                    "type": "string"
                  }
                }
              },
              "Collected": {
                "format": "date-time",
                "description": "Gets or sets the date and time that the specimen was collected.",
                "type": "string"
              },
              "Received": {
                "format": "date-time",
                "description": "Gets or sets the date and time that the specimen was received.",
                "type": "string"
              },
              "CultureInvestigationDetailsList": {
                "description": "Gets the culture investigation details list.",
                "type": "array",
                "items": {
                  "description": "Details of a culture investigation.",
                  "type": "object",
                  "properties": {
                    "Type": {
                      "description": "Gets or sets the type of investigation.",
                      "type": "object",
                      "properties": {
                        "Code": {
                          "description": "Gets or sets the code for the culture investigation type.",
                          "type": "string"
                        },
                        "Description": {
                          "description": "Gets or sets the description of the culture investigation type.",
                          "type": "string"
                        }
                      }
                    },
                    "AuthorisedDateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date and time that the investigation was authorised.",
                      "type": "string"
                    },
                    "ClinicalDetails": {
                      "description": "Gets or sets clinical details of the investigation.",
                      "type": "string"
                    },
                    "InvestigationComments": {
                      "description": "Gets or sets comments made on the investigation.",
                      "type": "string"
                    },
                    "CultureList": {
                      "description": "Gets or sets investigated cultures.",
                      "type": "array",
                      "items": {
                        "description": "A culture investigated as part of a culture investigation.",
                        "type": "object",
                        "properties": {
                          "Identifier": {
                            "description": "Gets or sets the identifier for the culture.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code for the culture.",
                            "type": "string"
                          },
                          "Type": {
                            "description": "Gets or sets the type of the culture.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description of the culture.",
                            "type": "string"
                          },
                          "Tests": {
                            "description": "Gets or sets tests made on the culture.",
                            "type": "array",
                            "items": {
                              "description": "Describes a test made on a culture.",
                              "type": "object",
                              "properties": {
                                "Identifier": {
                                  "description": "Gets or sets the identifier of the test.",
                                  "type": "string"
                                },
                                "Code": {
                                  "description": "Gets or sets the code for the test.",
                                  "type": "string"
                                },
                                "Description": {
                                  "description": "Gets or sets the description of the test.",
                                  "type": "string"
                                },
                                "Result": {
                                  "description": "Gets or sets the result of the test.",
                                  "type": "object",
                                  "properties": {
                                    "MinimumValue": {
                                      "description": "Gets or sets the minimum value of the test result.",
                                      "type": "string"
                                    },
                                    "MaximumValue": {
                                      "description": "Gets or sets the minimum value of the test result.",
                                      "type": "string"
                                    },
                                    "Flag": {
                                      "description": "Gets or sets test result flag.",
                                      "type": "string"
                                    },
                                    "Status": {
                                      "description": "Gets or sets status of the test result.",
                                      "type": "string"
                                    },
                                    "Value": {
                                      "description": "Gets or sets value of the test result.",
                                      "type": "string"
                                    },
                                    "Unit": {
                                      "description": "Gets or sets unit describing the test result value.",
                                      "type": "string"
                                    },
                                    "Note": {
                                      "description": "Gets or sets test result notes.",
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "readOnly": true
              },
              "InvestigationDetailsList": {
                "description": "Gets or sets investigation details for the specimen.",
                "type": "array",
                "items": {
                  "description": "Investigation details for a specimen.",
                  "type": "object",
                  "properties": {
                    "Type": {
                      "description": "Gets or sets the type of investigation.",
                      "type": "object",
                      "properties": {
                        "Code": {
                          "description": "Gets or sets the code for the investigation type.",
                          "type": "string"
                        },
                        "Description": {
                          "description": "Gets or sets the description of the investigation type.",
                          "type": "string"
                        }
                      }
                    },
                    "AuthorisedDateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date and time that the investigation was authorised.",
                      "type": "string"
                    },
                    "ClinicalDetails": {
                      "description": "Gets or sets clinical details of the investigation.",
                      "type": "string"
                    },
                    "InvestigationComments": {
                      "description": "Gets or sets comments made on the investigation.",
                      "type": "string"
                    },
                    "SpecimenComments": {
                      "description": "Gets or sets SpecimenComments.",
                      "type": "string"
                    },
                    "Tests": {
                      "description": "Gets or sets tests made as part of the investigation.",
                      "type": "array",
                      "items": {
                        "description": "Details of an investigation.",
                        "type": "object",
                        "properties": {
                          "Code": {
                            "description": "Gets or sets the code for the test.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description of the test.",
                            "type": "string"
                          },
                          "Result": {
                            "description": "Gets or sets the result of the test.",
                            "type": "object",
                            "properties": {
                              "MinimumValue": {
                                "description": "Gets or sets the minimum value of the test result.",
                                "type": "string"
                              },
                              "MaximumValue": {
                                "description": "Gets or sets the minimum value of the test result.",
                                "type": "string"
                              },
                              "Flag": {
                                "description": "Gets or sets test result flag.",
                                "type": "string"
                              },
                              "Status": {
                                "description": "Gets or sets status of the test result.",
                                "type": "string"
                              },
                              "Value": {
                                "description": "Gets or sets value of the test result.",
                                "type": "string"
                              },
                              "ValueType": {
                                "description": "Gets or sets value type of the test result.",
                                "type": "string"
                              },
                              "TabulatedValue": {
                                "description": "Gets or sets value with additional tabulated data processing.",
                                "type": "string"
                              },
                              "Unit": {
                                "description": "Gets or sets unit describing the test result value.",
                                "type": "string"
                              },
                              "Note": {
                                "description": "Gets or sets test result notes.",
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "readOnly": true
              }
            }
          },
          "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"
              }
            }
          }
        }
      }
    },
    "TotalItemCount": {
      "format": "int32",
      "description": "Gets or sets total number of pathology results found.",
      "type": "integer",
      "readOnly": true
    }
  }
}
<Pathology.Models.PathologyResultsCollection>
  <PathologyResults>
    <ResultTypeIdentifier>
      <Type>string</Type>
      <Code>string</Code>
      <Description>string</Description>
    </ResultTypeIdentifier>
    <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>
    <OrderingParty>
      <Name>string</Name>
      <Ward>string</Ward>
      <Site>string</Site>
    </OrderingParty>
    <Provider>
      <Department>
        <CodeDescription>string</CodeDescription>
      </Department>
    </Provider>
    <Report>
      <DateTime>string</DateTime>
      <ReportedBy>
        <Description>string</Description>
      </ReportedBy>
      <TypedBy>string</TypedBy>
      <Status>string</Status>
      <ReportComments>string</ReportComments>
    </Report>
    <Specimen>
      <SpecimenComments>string</SpecimenComments>
      <SampleId>string</SampleId>
      <Type>
        <Code>string</Code>
        <Description>string</Description>
      </Type>
      <Collected>string</Collected>
      <Received>string</Received>
      <CultureInvestigationDetailsList>
        <Type>
          <Code>string</Code>
          <Description>string</Description>
        </Type>
        <AuthorisedDateTime>string</AuthorisedDateTime>
        <ClinicalDetails>string</ClinicalDetails>
        <InvestigationComments>string</InvestigationComments>
        <CultureList>
          <Identifier>string</Identifier>
          <Code>string</Code>
          <Type>string</Type>
          <Description>string</Description>
          <Tests>
            <Identifier>string</Identifier>
            <Code>string</Code>
            <Description>string</Description>
            <Result>
              <MinimumValue>string</MinimumValue>
              <MaximumValue>string</MaximumValue>
              <Flag>string</Flag>
              <Status>string</Status>
              <Value>string</Value>
              <Unit>string</Unit>
              <Note>string</Note>
            </Result>
          </Tests>
        </CultureList>
      </CultureInvestigationDetailsList>
      <InvestigationDetailsList>
        <Type>
          <Code>string</Code>
          <Description>string</Description>
        </Type>
        <AuthorisedDateTime>string</AuthorisedDateTime>
        <ClinicalDetails>string</ClinicalDetails>
        <InvestigationComments>string</InvestigationComments>
        <SpecimenComments>string</SpecimenComments>
        <Tests>
          <Code>string</Code>
          <Description>string</Description>
          <Result>
            <MinimumValue>string</MinimumValue>
            <MaximumValue>string</MaximumValue>
            <Flag>string</Flag>
            <Status>string</Status>
            <Value>string</Value>
            <ValueType>string</ValueType>
            <TabulatedValue>string</TabulatedValue>
            <Unit>string</Unit>
            <Note>string</Note>
          </Result>
        </Tests>
      </InvestigationDetailsList>
    </Specimen>
    <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>
  </PathologyResults>
  <TotalItemCount>0</TotalItemCount>
</Pathology.Models.PathologyResultsCollection>
{
  "description": "Pathology results collection containing the pathology results and total number of items.",
  "type": "object",
  "properties": {
    "PathologyResults": {
      "description": "Gets or sets relevant pathology results.",
      "type": "array",
      "items": {
        "description": "A pathology result document.",
        "type": "object",
        "properties": {
          "ResultTypeIdentifier": {
            "description": "Gets or sets identifier for the type of the result.",
            "type": "object",
            "properties": {
              "Type": {
                "description": "Gets or sets result type.",
                "type": "string"
              },
              "Code": {
                "description": "Gets or sets result type code.",
                "type": "string"
              },
              "Description": {
                "description": "Gets or sets result type description.",
                "type": "string"
              }
            }
          },
          "PatientIdentifier": {
            "description": "Gets or sets snapshot of patient identifiers and demographics at time of publish.",
            "type": "object",
            "properties": {
              "PatientNumber": {
                "description": "Gets or sets the patient's number.",
                "type": "string"
              },
              "NhsNumber": {
                "description": "Gets or sets the patient's nhs number.",
                "type": "string"
              },
              "Name": {
                "description": "Gets or sets the patient's name.",
                "type": "object",
                "properties": {
                  "Forenames": {
                    "description": "Gets or sets patient forenames.",
                    "type": "string"
                  },
                  "Surname": {
                    "description": "Gets or sets patient surname.",
                    "type": "string"
                  }
                }
              },
              "DateOfBirth": {
                "format": "date-time",
                "description": "Gets or sets the patient's date of birth.",
                "type": "string"
              },
              "Sex": {
                "description": "Gets or sets the patient's sex.",
                "type": "object",
                "properties": {
                  "Code": {
                    "description": "Gets or sets code associated with the patient's sex.",
                    "type": "string"
                  }
                }
              }
            }
          },
          "DistrictNumber": {
            "description": "Gets or sets patient district number at time of publish.",
            "type": "string"
          },
          "OrderingParty": {
            "description": "Gets or sets the ordering party for the result.",
            "type": "object",
            "properties": {
              "Name": {
                "description": "Gets or sets the name of the ordering party.",
                "type": "string"
              },
              "Ward": {
                "description": "Gets or sets the ward of the ordering party.",
                "type": "string"
              },
              "Site": {
                "description": "Gets or sets the site of the ordering party.",
                "type": "string"
              }
            }
          },
          "Provider": {
            "description": "Gets or sets the provider of the result.",
            "type": "object",
            "properties": {
              "Department": {
                "description": "Gets or sets the department of the result provider.",
                "type": "object",
                "properties": {
                  "CodeDescription": {
                    "description": "Gets or sets the code description of the provider department.",
                    "type": "string"
                  }
                }
              }
            }
          },
          "Report": {
            "description": "Gets or sets the report associated with the result.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date and time of the report.",
                "type": "string"
              },
              "ReportedBy": {
                "description": "Gets or sets who the report was made by.",
                "type": "object",
                "properties": {
                  "Description": {
                    "description": "Gets or sets description of who a report was made by.",
                    "type": "string"
                  }
                }
              },
              "TypedBy": {
                "description": "Gets or sets who the report was typed by.",
                "type": "string"
              },
              "Status": {
                "description": "Gets or sets the status of the report.",
                "type": "string"
              },
              "ReportComments": {
                "description": "Gets or sets comments made on the report.",
                "type": "string"
              }
            }
          },
          "Specimen": {
            "description": "Gets or sets the specimen associated with the result.",
            "type": "object",
            "properties": {
              "SpecimenComments": {
                "description": "Gets or sets comments made on the specimen.",
                "type": "string"
              },
              "SampleId": {
                "description": "Gets or sets the sample id for the specimen.",
                "type": "string"
              },
              "Type": {
                "description": "Gets or sets the type of specimen.",
                "type": "object",
                "properties": {
                  "Code": {
                    "description": "Gets or sets the code for the specimen type.",
                    "type": "string"
                  },
                  "Description": {
                    "description": "Gets or sets a description of the specimen type.",
                    "type": "string"
                  }
                }
              },
              "Collected": {
                "format": "date-time",
                "description": "Gets or sets the date and time that the specimen was collected.",
                "type": "string"
              },
              "Received": {
                "format": "date-time",
                "description": "Gets or sets the date and time that the specimen was received.",
                "type": "string"
              },
              "CultureInvestigationDetailsList": {
                "description": "Gets the culture investigation details list.",
                "type": "array",
                "items": {
                  "description": "Details of a culture investigation.",
                  "type": "object",
                  "properties": {
                    "Type": {
                      "description": "Gets or sets the type of investigation.",
                      "type": "object",
                      "properties": {
                        "Code": {
                          "description": "Gets or sets the code for the culture investigation type.",
                          "type": "string"
                        },
                        "Description": {
                          "description": "Gets or sets the description of the culture investigation type.",
                          "type": "string"
                        }
                      }
                    },
                    "AuthorisedDateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date and time that the investigation was authorised.",
                      "type": "string"
                    },
                    "ClinicalDetails": {
                      "description": "Gets or sets clinical details of the investigation.",
                      "type": "string"
                    },
                    "InvestigationComments": {
                      "description": "Gets or sets comments made on the investigation.",
                      "type": "string"
                    },
                    "CultureList": {
                      "description": "Gets or sets investigated cultures.",
                      "type": "array",
                      "items": {
                        "description": "A culture investigated as part of a culture investigation.",
                        "type": "object",
                        "properties": {
                          "Identifier": {
                            "description": "Gets or sets the identifier for the culture.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code for the culture.",
                            "type": "string"
                          },
                          "Type": {
                            "description": "Gets or sets the type of the culture.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description of the culture.",
                            "type": "string"
                          },
                          "Tests": {
                            "description": "Gets or sets tests made on the culture.",
                            "type": "array",
                            "items": {
                              "description": "Describes a test made on a culture.",
                              "type": "object",
                              "properties": {
                                "Identifier": {
                                  "description": "Gets or sets the identifier of the test.",
                                  "type": "string"
                                },
                                "Code": {
                                  "description": "Gets or sets the code for the test.",
                                  "type": "string"
                                },
                                "Description": {
                                  "description": "Gets or sets the description of the test.",
                                  "type": "string"
                                },
                                "Result": {
                                  "description": "Gets or sets the result of the test.",
                                  "type": "object",
                                  "properties": {
                                    "MinimumValue": {
                                      "description": "Gets or sets the minimum value of the test result.",
                                      "type": "string"
                                    },
                                    "MaximumValue": {
                                      "description": "Gets or sets the minimum value of the test result.",
                                      "type": "string"
                                    },
                                    "Flag": {
                                      "description": "Gets or sets test result flag.",
                                      "type": "string"
                                    },
                                    "Status": {
                                      "description": "Gets or sets status of the test result.",
                                      "type": "string"
                                    },
                                    "Value": {
                                      "description": "Gets or sets value of the test result.",
                                      "type": "string"
                                    },
                                    "Unit": {
                                      "description": "Gets or sets unit describing the test result value.",
                                      "type": "string"
                                    },
                                    "Note": {
                                      "description": "Gets or sets test result notes.",
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "readOnly": true
              },
              "InvestigationDetailsList": {
                "description": "Gets or sets investigation details for the specimen.",
                "type": "array",
                "items": {
                  "description": "Investigation details for a specimen.",
                  "type": "object",
                  "properties": {
                    "Type": {
                      "description": "Gets or sets the type of investigation.",
                      "type": "object",
                      "properties": {
                        "Code": {
                          "description": "Gets or sets the code for the investigation type.",
                          "type": "string"
                        },
                        "Description": {
                          "description": "Gets or sets the description of the investigation type.",
                          "type": "string"
                        }
                      }
                    },
                    "AuthorisedDateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date and time that the investigation was authorised.",
                      "type": "string"
                    },
                    "ClinicalDetails": {
                      "description": "Gets or sets clinical details of the investigation.",
                      "type": "string"
                    },
                    "InvestigationComments": {
                      "description": "Gets or sets comments made on the investigation.",
                      "type": "string"
                    },
                    "SpecimenComments": {
                      "description": "Gets or sets SpecimenComments.",
                      "type": "string"
                    },
                    "Tests": {
                      "description": "Gets or sets tests made as part of the investigation.",
                      "type": "array",
                      "items": {
                        "description": "Details of an investigation.",
                        "type": "object",
                        "properties": {
                          "Code": {
                            "description": "Gets or sets the code for the test.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description of the test.",
                            "type": "string"
                          },
                          "Result": {
                            "description": "Gets or sets the result of the test.",
                            "type": "object",
                            "properties": {
                              "MinimumValue": {
                                "description": "Gets or sets the minimum value of the test result.",
                                "type": "string"
                              },
                              "MaximumValue": {
                                "description": "Gets or sets the minimum value of the test result.",
                                "type": "string"
                              },
                              "Flag": {
                                "description": "Gets or sets test result flag.",
                                "type": "string"
                              },
                              "Status": {
                                "description": "Gets or sets status of the test result.",
                                "type": "string"
                              },
                              "Value": {
                                "description": "Gets or sets value of the test result.",
                                "type": "string"
                              },
                              "ValueType": {
                                "description": "Gets or sets value type of the test result.",
                                "type": "string"
                              },
                              "TabulatedValue": {
                                "description": "Gets or sets value with additional tabulated data processing.",
                                "type": "string"
                              },
                              "Unit": {
                                "description": "Gets or sets unit describing the test result value.",
                                "type": "string"
                              },
                              "Note": {
                                "description": "Gets or sets test result notes.",
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "readOnly": true
              }
            }
          },
          "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"
              }
            }
          }
        }
      }
    },
    "TotalItemCount": {
      "format": "int32",
      "description": "Gets or sets total number of pathology results found.",
      "type": "integer",
      "readOnly": true
    }
  }
}
<Pathology.Models.PathologyResultsCollection>
  <PathologyResults>
    <ResultTypeIdentifier>
      <Type>string</Type>
      <Code>string</Code>
      <Description>string</Description>
    </ResultTypeIdentifier>
    <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>
    <OrderingParty>
      <Name>string</Name>
      <Ward>string</Ward>
      <Site>string</Site>
    </OrderingParty>
    <Provider>
      <Department>
        <CodeDescription>string</CodeDescription>
      </Department>
    </Provider>
    <Report>
      <DateTime>string</DateTime>
      <ReportedBy>
        <Description>string</Description>
      </ReportedBy>
      <TypedBy>string</TypedBy>
      <Status>string</Status>
      <ReportComments>string</ReportComments>
    </Report>
    <Specimen>
      <SpecimenComments>string</SpecimenComments>
      <SampleId>string</SampleId>
      <Type>
        <Code>string</Code>
        <Description>string</Description>
      </Type>
      <Collected>string</Collected>
      <Received>string</Received>
      <CultureInvestigationDetailsList>
        <Type>
          <Code>string</Code>
          <Description>string</Description>
        </Type>
        <AuthorisedDateTime>string</AuthorisedDateTime>
        <ClinicalDetails>string</ClinicalDetails>
        <InvestigationComments>string</InvestigationComments>
        <CultureList>
          <Identifier>string</Identifier>
          <Code>string</Code>
          <Type>string</Type>
          <Description>string</Description>
          <Tests>
            <Identifier>string</Identifier>
            <Code>string</Code>
            <Description>string</Description>
            <Result>
              <MinimumValue>string</MinimumValue>
              <MaximumValue>string</MaximumValue>
              <Flag>string</Flag>
              <Status>string</Status>
              <Value>string</Value>
              <Unit>string</Unit>
              <Note>string</Note>
            </Result>
          </Tests>
        </CultureList>
      </CultureInvestigationDetailsList>
      <InvestigationDetailsList>
        <Type>
          <Code>string</Code>
          <Description>string</Description>
        </Type>
        <AuthorisedDateTime>string</AuthorisedDateTime>
        <ClinicalDetails>string</ClinicalDetails>
        <InvestigationComments>string</InvestigationComments>
        <SpecimenComments>string</SpecimenComments>
        <Tests>
          <Code>string</Code>
          <Description>string</Description>
          <Result>
            <MinimumValue>string</MinimumValue>
            <MaximumValue>string</MaximumValue>
            <Flag>string</Flag>
            <Status>string</Status>
            <Value>string</Value>
            <ValueType>string</ValueType>
            <TabulatedValue>string</TabulatedValue>
            <Unit>string</Unit>
            <Note>string</Note>
          </Result>
        </Tests>
      </InvestigationDetailsList>
    </Specimen>
    <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>
  </PathologyResults>
  <TotalItemCount>0</TotalItemCount>
</Pathology.Models.PathologyResultsCollection>
{
  "description": "Pathology results collection containing the pathology results and total number of items.",
  "type": "object",
  "properties": {
    "PathologyResults": {
      "description": "Gets or sets relevant pathology results.",
      "type": "array",
      "items": {
        "description": "A pathology result document.",
        "type": "object",
        "properties": {
          "ResultTypeIdentifier": {
            "description": "Gets or sets identifier for the type of the result.",
            "type": "object",
            "properties": {
              "Type": {
                "description": "Gets or sets result type.",
                "type": "string"
              },
              "Code": {
                "description": "Gets or sets result type code.",
                "type": "string"
              },
              "Description": {
                "description": "Gets or sets result type description.",
                "type": "string"
              }
            }
          },
          "PatientIdentifier": {
            "description": "Gets or sets snapshot of patient identifiers and demographics at time of publish.",
            "type": "object",
            "properties": {
              "PatientNumber": {
                "description": "Gets or sets the patient's number.",
                "type": "string"
              },
              "NhsNumber": {
                "description": "Gets or sets the patient's nhs number.",
                "type": "string"
              },
              "Name": {
                "description": "Gets or sets the patient's name.",
                "type": "object",
                "properties": {
                  "Forenames": {
                    "description": "Gets or sets patient forenames.",
                    "type": "string"
                  },
                  "Surname": {
                    "description": "Gets or sets patient surname.",
                    "type": "string"
                  }
                }
              },
              "DateOfBirth": {
                "format": "date-time",
                "description": "Gets or sets the patient's date of birth.",
                "type": "string"
              },
              "Sex": {
                "description": "Gets or sets the patient's sex.",
                "type": "object",
                "properties": {
                  "Code": {
                    "description": "Gets or sets code associated with the patient's sex.",
                    "type": "string"
                  }
                }
              }
            }
          },
          "DistrictNumber": {
            "description": "Gets or sets patient district number at time of publish.",
            "type": "string"
          },
          "OrderingParty": {
            "description": "Gets or sets the ordering party for the result.",
            "type": "object",
            "properties": {
              "Name": {
                "description": "Gets or sets the name of the ordering party.",
                "type": "string"
              },
              "Ward": {
                "description": "Gets or sets the ward of the ordering party.",
                "type": "string"
              },
              "Site": {
                "description": "Gets or sets the site of the ordering party.",
                "type": "string"
              }
            }
          },
          "Provider": {
            "description": "Gets or sets the provider of the result.",
            "type": "object",
            "properties": {
              "Department": {
                "description": "Gets or sets the department of the result provider.",
                "type": "object",
                "properties": {
                  "CodeDescription": {
                    "description": "Gets or sets the code description of the provider department.",
                    "type": "string"
                  }
                }
              }
            }
          },
          "Report": {
            "description": "Gets or sets the report associated with the result.",
            "type": "object",
            "properties": {
              "DateTime": {
                "format": "date-time",
                "description": "Gets or sets the date and time of the report.",
                "type": "string"
              },
              "ReportedBy": {
                "description": "Gets or sets who the report was made by.",
                "type": "object",
                "properties": {
                  "Description": {
                    "description": "Gets or sets description of who a report was made by.",
                    "type": "string"
                  }
                }
              },
              "TypedBy": {
                "description": "Gets or sets who the report was typed by.",
                "type": "string"
              },
              "Status": {
                "description": "Gets or sets the status of the report.",
                "type": "string"
              },
              "ReportComments": {
                "description": "Gets or sets comments made on the report.",
                "type": "string"
              }
            }
          },
          "Specimen": {
            "description": "Gets or sets the specimen associated with the result.",
            "type": "object",
            "properties": {
              "SpecimenComments": {
                "description": "Gets or sets comments made on the specimen.",
                "type": "string"
              },
              "SampleId": {
                "description": "Gets or sets the sample id for the specimen.",
                "type": "string"
              },
              "Type": {
                "description": "Gets or sets the type of specimen.",
                "type": "object",
                "properties": {
                  "Code": {
                    "description": "Gets or sets the code for the specimen type.",
                    "type": "string"
                  },
                  "Description": {
                    "description": "Gets or sets a description of the specimen type.",
                    "type": "string"
                  }
                }
              },
              "Collected": {
                "format": "date-time",
                "description": "Gets or sets the date and time that the specimen was collected.",
                "type": "string"
              },
              "Received": {
                "format": "date-time",
                "description": "Gets or sets the date and time that the specimen was received.",
                "type": "string"
              },
              "CultureInvestigationDetailsList": {
                "description": "Gets the culture investigation details list.",
                "type": "array",
                "items": {
                  "description": "Details of a culture investigation.",
                  "type": "object",
                  "properties": {
                    "Type": {
                      "description": "Gets or sets the type of investigation.",
                      "type": "object",
                      "properties": {
                        "Code": {
                          "description": "Gets or sets the code for the culture investigation type.",
                          "type": "string"
                        },
                        "Description": {
                          "description": "Gets or sets the description of the culture investigation type.",
                          "type": "string"
                        }
                      }
                    },
                    "AuthorisedDateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date and time that the investigation was authorised.",
                      "type": "string"
                    },
                    "ClinicalDetails": {
                      "description": "Gets or sets clinical details of the investigation.",
                      "type": "string"
                    },
                    "InvestigationComments": {
                      "description": "Gets or sets comments made on the investigation.",
                      "type": "string"
                    },
                    "CultureList": {
                      "description": "Gets or sets investigated cultures.",
                      "type": "array",
                      "items": {
                        "description": "A culture investigated as part of a culture investigation.",
                        "type": "object",
                        "properties": {
                          "Identifier": {
                            "description": "Gets or sets the identifier for the culture.",
                            "type": "string"
                          },
                          "Code": {
                            "description": "Gets or sets the code for the culture.",
                            "type": "string"
                          },
                          "Type": {
                            "description": "Gets or sets the type of the culture.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description of the culture.",
                            "type": "string"
                          },
                          "Tests": {
                            "description": "Gets or sets tests made on the culture.",
                            "type": "array",
                            "items": {
                              "description": "Describes a test made on a culture.",
                              "type": "object",
                              "properties": {
                                "Identifier": {
                                  "description": "Gets or sets the identifier of the test.",
                                  "type": "string"
                                },
                                "Code": {
                                  "description": "Gets or sets the code for the test.",
                                  "type": "string"
                                },
                                "Description": {
                                  "description": "Gets or sets the description of the test.",
                                  "type": "string"
                                },
                                "Result": {
                                  "description": "Gets or sets the result of the test.",
                                  "type": "object",
                                  "properties": {
                                    "MinimumValue": {
                                      "description": "Gets or sets the minimum value of the test result.",
                                      "type": "string"
                                    },
                                    "MaximumValue": {
                                      "description": "Gets or sets the minimum value of the test result.",
                                      "type": "string"
                                    },
                                    "Flag": {
                                      "description": "Gets or sets test result flag.",
                                      "type": "string"
                                    },
                                    "Status": {
                                      "description": "Gets or sets status of the test result.",
                                      "type": "string"
                                    },
                                    "Value": {
                                      "description": "Gets or sets value of the test result.",
                                      "type": "string"
                                    },
                                    "Unit": {
                                      "description": "Gets or sets unit describing the test result value.",
                                      "type": "string"
                                    },
                                    "Note": {
                                      "description": "Gets or sets test result notes.",
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "readOnly": true
              },
              "InvestigationDetailsList": {
                "description": "Gets or sets investigation details for the specimen.",
                "type": "array",
                "items": {
                  "description": "Investigation details for a specimen.",
                  "type": "object",
                  "properties": {
                    "Type": {
                      "description": "Gets or sets the type of investigation.",
                      "type": "object",
                      "properties": {
                        "Code": {
                          "description": "Gets or sets the code for the investigation type.",
                          "type": "string"
                        },
                        "Description": {
                          "description": "Gets or sets the description of the investigation type.",
                          "type": "string"
                        }
                      }
                    },
                    "AuthorisedDateTime": {
                      "format": "date-time",
                      "description": "Gets or sets the date and time that the investigation was authorised.",
                      "type": "string"
                    },
                    "ClinicalDetails": {
                      "description": "Gets or sets clinical details of the investigation.",
                      "type": "string"
                    },
                    "InvestigationComments": {
                      "description": "Gets or sets comments made on the investigation.",
                      "type": "string"
                    },
                    "SpecimenComments": {
                      "description": "Gets or sets SpecimenComments.",
                      "type": "string"
                    },
                    "Tests": {
                      "description": "Gets or sets tests made as part of the investigation.",
                      "type": "array",
                      "items": {
                        "description": "Details of an investigation.",
                        "type": "object",
                        "properties": {
                          "Code": {
                            "description": "Gets or sets the code for the test.",
                            "type": "string"
                          },
                          "Description": {
                            "description": "Gets or sets the description of the test.",
                            "type": "string"
                          },
                          "Result": {
                            "description": "Gets or sets the result of the test.",
                            "type": "object",
                            "properties": {
                              "MinimumValue": {
                                "description": "Gets or sets the minimum value of the test result.",
                                "type": "string"
                              },
                              "MaximumValue": {
                                "description": "Gets or sets the minimum value of the test result.",
                                "type": "string"
                              },
                              "Flag": {
                                "description": "Gets or sets test result flag.",
                                "type": "string"
                              },
                              "Status": {
                                "description": "Gets or sets status of the test result.",
                                "type": "string"
                              },
                              "Value": {
                                "description": "Gets or sets value of the test result.",
                                "type": "string"
                              },
                              "ValueType": {
                                "description": "Gets or sets value type of the test result.",
                                "type": "string"
                              },
                              "TabulatedValue": {
                                "description": "Gets or sets value with additional tabulated data processing.",
                                "type": "string"
                              },
                              "Unit": {
                                "description": "Gets or sets unit describing the test result value.",
                                "type": "string"
                              },
                              "Note": {
                                "description": "Gets or sets test result notes.",
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "readOnly": true
              }
            }
          },
          "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"
              }
            }
          }
        }
      }
    },
    "TotalItemCount": {
      "format": "int32",
      "description": "Gets or sets total number of pathology results found.",
      "type": "integer",
      "readOnly": true
    }
  }
}

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/pathology/patients/{patientDetailId}/pathology"
-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/pathology/patients/{patientDetailId}/pathology?" + 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/pathology/patients/{patientDetailId}/pathology");


            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/pathology/patients/{patientDetailId}/pathology?" + $.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/pathology/patients/{patientDetailId}/pathology";
    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/pathology/patients/{patientDetailId}/pathology');
$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", "/pathology/patients/{patientDetailId}/pathology?%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", "/pathology/patients/{patientDetailId}/pathology?%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/pathology/patients/{patientDetailId}/pathology')


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