GET api/ProviderService/GetPatientDocuments?patientId={patientId}&practiceID={practiceID}&providerID={providerID}

Get Patient Documents

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patientId

globally unique identifier

Required

practiceID

globally unique identifier

Required

providerID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of vwDocumentsByPatient
NameDescriptionTypeAdditional information
DocumentFile_Id

integer

None.

Name

string

None.

NameOriginal

string

None.

LabelName

string

None.

Patient_Id

globally unique identifier

None.

Full_Name

string

None.

Practice_Id

globally unique identifier

None.

DateCreated

date

None.

Entity_Id

globally unique identifier

None.

Document_Label_Id

integer

None.

Account_Type_Id

integer

None.

FileContent_Type_Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DocumentFile_Id": 1,
    "Name": "sample string 2",
    "NameOriginal": "sample string 3",
    "LabelName": "sample string 4",
    "Patient_Id": "5f4123ec-ce22-4dc2-a41d-979124741f07",
    "Full_Name": "sample string 6",
    "Practice_Id": "f69e304c-693d-420d-b5c8-1d635f06abcf",
    "DateCreated": "2025-06-08T02:31:04.5650819+00:00",
    "Entity_Id": "8511707a-a4ed-4d54-8251-4af7ba0ffd09",
    "Document_Label_Id": 1,
    "Account_Type_Id": 1,
    "FileContent_Type_Id": 1
  },
  {
    "DocumentFile_Id": 1,
    "Name": "sample string 2",
    "NameOriginal": "sample string 3",
    "LabelName": "sample string 4",
    "Patient_Id": "5f4123ec-ce22-4dc2-a41d-979124741f07",
    "Full_Name": "sample string 6",
    "Practice_Id": "f69e304c-693d-420d-b5c8-1d635f06abcf",
    "DateCreated": "2025-06-08T02:31:04.5650819+00:00",
    "Entity_Id": "8511707a-a4ed-4d54-8251-4af7ba0ffd09",
    "Document_Label_Id": 1,
    "Account_Type_Id": 1,
    "FileContent_Type_Id": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfvwDocumentsByPatient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSP.EMRDomainClasses">
  <vwDocumentsByPatient>
    <Account_Type_Id>1</Account_Type_Id>
    <DateCreated>2025-06-08T02:31:04.5650819+00:00</DateCreated>
    <DocumentFile_Id>1</DocumentFile_Id>
    <Document_Label_Id>1</Document_Label_Id>
    <Entity_Id>8511707a-a4ed-4d54-8251-4af7ba0ffd09</Entity_Id>
    <FileContent_Type_Id>1</FileContent_Type_Id>
    <Full_Name>sample string 6</Full_Name>
    <LabelName>sample string 4</LabelName>
    <Name>sample string 2</Name>
    <NameOriginal>sample string 3</NameOriginal>
    <Patient_Id>5f4123ec-ce22-4dc2-a41d-979124741f07</Patient_Id>
    <Practice_Id>f69e304c-693d-420d-b5c8-1d635f06abcf</Practice_Id>
  </vwDocumentsByPatient>
  <vwDocumentsByPatient>
    <Account_Type_Id>1</Account_Type_Id>
    <DateCreated>2025-06-08T02:31:04.5650819+00:00</DateCreated>
    <DocumentFile_Id>1</DocumentFile_Id>
    <Document_Label_Id>1</Document_Label_Id>
    <Entity_Id>8511707a-a4ed-4d54-8251-4af7ba0ffd09</Entity_Id>
    <FileContent_Type_Id>1</FileContent_Type_Id>
    <Full_Name>sample string 6</Full_Name>
    <LabelName>sample string 4</LabelName>
    <Name>sample string 2</Name>
    <NameOriginal>sample string 3</NameOriginal>
    <Patient_Id>5f4123ec-ce22-4dc2-a41d-979124741f07</Patient_Id>
    <Practice_Id>f69e304c-693d-420d-b5c8-1d635f06abcf</Practice_Id>
  </vwDocumentsByPatient>
</ArrayOfvwDocumentsByPatient>