POST api/PHR/GetHealthRecordDetails

Request Information

URI Parameters

None.

Body Parameters

CommonRequest
NameDescriptionTypeAdditional information
Request

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Request": "sample string 1"
}

application/xml, text/xml

Sample:
<CommonRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
  <Request>sample string 1</Request>
</CommonRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CommonRequest'.

Response Information

Resource Description

ResponseOfHealthPhrList
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

HealthPhrList

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": {
    "HealthList": [
      {
        "AddedByUserId": 1,
        "VisitReasonTitleId": 2,
        "VisitReasonId": 3,
        "VisitReason": "sample string 4",
        "TestReportsList": [
          {
            "RecordId": 1,
            "URL": "sample string 2",
            "FileName": "sample string 3",
            "DocumentType": 4,
            "DocumentUploadedDate": "sample string 5",
            "AddedBy": 6
          },
          {
            "RecordId": 1,
            "URL": "sample string 2",
            "FileName": "sample string 3",
            "DocumentType": 4,
            "DocumentUploadedDate": "sample string 5",
            "AddedBy": 6
          }
        ],
        "Prescriptions": [
          {
            "RecordId": 1,
            "URL": "sample string 2",
            "FileName": "sample string 3",
            "DocumentType": 4,
            "DocumentUploadedDate": "sample string 5",
            "AddedBy": 6
          },
          {
            "RecordId": 1,
            "URL": "sample string 2",
            "FileName": "sample string 3",
            "DocumentType": 4,
            "DocumentUploadedDate": "sample string 5",
            "AddedBy": 6
          }
        ],
        "DeletedRecords": [
          {
            "RecordId": 1,
            "URL": "sample string 2",
            "FileName": "sample string 3",
            "DocumentType": 4,
            "DocumentUploadedDate": "sample string 5",
            "AddedBy": 6
          },
          {
            "RecordId": 1,
            "URL": "sample string 2",
            "FileName": "sample string 3",
            "DocumentType": 4,
            "DocumentUploadedDate": "sample string 5",
            "AddedBy": 6
          }
        ],
        "CurrentMedicationList": [
          {
            "RelationId": 1,
            "MedicationId": 2,
            "Medication": "sample string 3"
          },
          {
            "RelationId": 1,
            "MedicationId": 2,
            "Medication": "sample string 3"
          }
        ],
        "HealthRecordId": 5,
        "PhrId": 6,
        "AddedBy": 7,
        "DiseaseDescription": "sample string 8",
        "VisitingDate": "sample string 9",
        "DoctorName": "sample string 10",
        "DoctorContactNumber": "sample string 11",
        "Notes": "sample string 12",
        "CountryCode": 13
      },
      {
        "AddedByUserId": 1,
        "VisitReasonTitleId": 2,
        "VisitReasonId": 3,
        "VisitReason": "sample string 4",
        "TestReportsList": [
          {
            "RecordId": 1,
            "URL": "sample string 2",
            "FileName": "sample string 3",
            "DocumentType": 4,
            "DocumentUploadedDate": "sample string 5",
            "AddedBy": 6
          },
          {
            "RecordId": 1,
            "URL": "sample string 2",
            "FileName": "sample string 3",
            "DocumentType": 4,
            "DocumentUploadedDate": "sample string 5",
            "AddedBy": 6
          }
        ],
        "Prescriptions": [
          {
            "RecordId": 1,
            "URL": "sample string 2",
            "FileName": "sample string 3",
            "DocumentType": 4,
            "DocumentUploadedDate": "sample string 5",
            "AddedBy": 6
          },
          {
            "RecordId": 1,
            "URL": "sample string 2",
            "FileName": "sample string 3",
            "DocumentType": 4,
            "DocumentUploadedDate": "sample string 5",
            "AddedBy": 6
          }
        ],
        "DeletedRecords": [
          {
            "RecordId": 1,
            "URL": "sample string 2",
            "FileName": "sample string 3",
            "DocumentType": 4,
            "DocumentUploadedDate": "sample string 5",
            "AddedBy": 6
          },
          {
            "RecordId": 1,
            "URL": "sample string 2",
            "FileName": "sample string 3",
            "DocumentType": 4,
            "DocumentUploadedDate": "sample string 5",
            "AddedBy": 6
          }
        ],
        "CurrentMedicationList": [
          {
            "RelationId": 1,
            "MedicationId": 2,
            "Medication": "sample string 3"
          },
          {
            "RelationId": 1,
            "MedicationId": 2,
            "Medication": "sample string 3"
          }
        ],
        "HealthRecordId": 5,
        "PhrId": 6,
        "AddedBy": 7,
        "DiseaseDescription": "sample string 8",
        "VisitingDate": "sample string 9",
        "DoctorName": "sample string 10",
        "DoctorContactNumber": "sample string 11",
        "Notes": "sample string 12",
        "CountryCode": 13
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseOfHealthPhrListQLZlyOoP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PHRDetails">
    <d2p1:HealthList>
      <d2p1:HealthPHRModel>
        <d2p1:AddedBy>7</d2p1:AddedBy>
        <d2p1:CountryCode>13</d2p1:CountryCode>
        <d2p1:DiseaseDescription>sample string 8</d2p1:DiseaseDescription>
        <d2p1:DoctorContactNumber>sample string 11</d2p1:DoctorContactNumber>
        <d2p1:DoctorName>sample string 10</d2p1:DoctorName>
        <d2p1:HealthRecordId>5</d2p1:HealthRecordId>
        <d2p1:Notes>sample string 12</d2p1:Notes>
        <d2p1:PhrId>6</d2p1:PhrId>
        <d2p1:VisitingDate>sample string 9</d2p1:VisitingDate>
        <d2p1:AddedByUserId>1</d2p1:AddedByUserId>
        <d2p1:CurrentMedicationList>
          <d2p1:MedicationModel>
            <d2p1:Medication>sample string 3</d2p1:Medication>
            <d2p1:MedicationId>2</d2p1:MedicationId>
            <d2p1:RelationId>1</d2p1:RelationId>
          </d2p1:MedicationModel>
          <d2p1:MedicationModel>
            <d2p1:Medication>sample string 3</d2p1:Medication>
            <d2p1:MedicationId>2</d2p1:MedicationId>
            <d2p1:RelationId>1</d2p1:RelationId>
          </d2p1:MedicationModel>
        </d2p1:CurrentMedicationList>
        <d2p1:DeletedRecords>
          <d2p1:DocumentData>
            <d2p1:AddedBy>6</d2p1:AddedBy>
            <d2p1:DocumentType>4</d2p1:DocumentType>
            <d2p1:DocumentUploadedDate>sample string 5</d2p1:DocumentUploadedDate>
            <d2p1:FileName>sample string 3</d2p1:FileName>
            <d2p1:RecordId>1</d2p1:RecordId>
            <d2p1:URL>sample string 2</d2p1:URL>
          </d2p1:DocumentData>
          <d2p1:DocumentData>
            <d2p1:AddedBy>6</d2p1:AddedBy>
            <d2p1:DocumentType>4</d2p1:DocumentType>
            <d2p1:DocumentUploadedDate>sample string 5</d2p1:DocumentUploadedDate>
            <d2p1:FileName>sample string 3</d2p1:FileName>
            <d2p1:RecordId>1</d2p1:RecordId>
            <d2p1:URL>sample string 2</d2p1:URL>
          </d2p1:DocumentData>
        </d2p1:DeletedRecords>
        <d2p1:Prescriptions>
          <d2p1:DocumentData>
            <d2p1:AddedBy>6</d2p1:AddedBy>
            <d2p1:DocumentType>4</d2p1:DocumentType>
            <d2p1:DocumentUploadedDate>sample string 5</d2p1:DocumentUploadedDate>
            <d2p1:FileName>sample string 3</d2p1:FileName>
            <d2p1:RecordId>1</d2p1:RecordId>
            <d2p1:URL>sample string 2</d2p1:URL>
          </d2p1:DocumentData>
          <d2p1:DocumentData>
            <d2p1:AddedBy>6</d2p1:AddedBy>
            <d2p1:DocumentType>4</d2p1:DocumentType>
            <d2p1:DocumentUploadedDate>sample string 5</d2p1:DocumentUploadedDate>
            <d2p1:FileName>sample string 3</d2p1:FileName>
            <d2p1:RecordId>1</d2p1:RecordId>
            <d2p1:URL>sample string 2</d2p1:URL>
          </d2p1:DocumentData>
        </d2p1:Prescriptions>
        <d2p1:TestReportsList>
          <d2p1:DocumentData>
            <d2p1:AddedBy>6</d2p1:AddedBy>
            <d2p1:DocumentType>4</d2p1:DocumentType>
            <d2p1:DocumentUploadedDate>sample string 5</d2p1:DocumentUploadedDate>
            <d2p1:FileName>sample string 3</d2p1:FileName>
            <d2p1:RecordId>1</d2p1:RecordId>
            <d2p1:URL>sample string 2</d2p1:URL>
          </d2p1:DocumentData>
          <d2p1:DocumentData>
            <d2p1:AddedBy>6</d2p1:AddedBy>
            <d2p1:DocumentType>4</d2p1:DocumentType>
            <d2p1:DocumentUploadedDate>sample string 5</d2p1:DocumentUploadedDate>
            <d2p1:FileName>sample string 3</d2p1:FileName>
            <d2p1:RecordId>1</d2p1:RecordId>
            <d2p1:URL>sample string 2</d2p1:URL>
          </d2p1:DocumentData>
        </d2p1:TestReportsList>
        <d2p1:VisitReason>sample string 4</d2p1:VisitReason>
        <d2p1:VisitReasonId>3</d2p1:VisitReasonId>
        <d2p1:VisitReasonTitleId>2</d2p1:VisitReasonTitleId>
      </d2p1:HealthPHRModel>
      <d2p1:HealthPHRModel>
        <d2p1:AddedBy>7</d2p1:AddedBy>
        <d2p1:CountryCode>13</d2p1:CountryCode>
        <d2p1:DiseaseDescription>sample string 8</d2p1:DiseaseDescription>
        <d2p1:DoctorContactNumber>sample string 11</d2p1:DoctorContactNumber>
        <d2p1:DoctorName>sample string 10</d2p1:DoctorName>
        <d2p1:HealthRecordId>5</d2p1:HealthRecordId>
        <d2p1:Notes>sample string 12</d2p1:Notes>
        <d2p1:PhrId>6</d2p1:PhrId>
        <d2p1:VisitingDate>sample string 9</d2p1:VisitingDate>
        <d2p1:AddedByUserId>1</d2p1:AddedByUserId>
        <d2p1:CurrentMedicationList>
          <d2p1:MedicationModel>
            <d2p1:Medication>sample string 3</d2p1:Medication>
            <d2p1:MedicationId>2</d2p1:MedicationId>
            <d2p1:RelationId>1</d2p1:RelationId>
          </d2p1:MedicationModel>
          <d2p1:MedicationModel>
            <d2p1:Medication>sample string 3</d2p1:Medication>
            <d2p1:MedicationId>2</d2p1:MedicationId>
            <d2p1:RelationId>1</d2p1:RelationId>
          </d2p1:MedicationModel>
        </d2p1:CurrentMedicationList>
        <d2p1:DeletedRecords>
          <d2p1:DocumentData>
            <d2p1:AddedBy>6</d2p1:AddedBy>
            <d2p1:DocumentType>4</d2p1:DocumentType>
            <d2p1:DocumentUploadedDate>sample string 5</d2p1:DocumentUploadedDate>
            <d2p1:FileName>sample string 3</d2p1:FileName>
            <d2p1:RecordId>1</d2p1:RecordId>
            <d2p1:URL>sample string 2</d2p1:URL>
          </d2p1:DocumentData>
          <d2p1:DocumentData>
            <d2p1:AddedBy>6</d2p1:AddedBy>
            <d2p1:DocumentType>4</d2p1:DocumentType>
            <d2p1:DocumentUploadedDate>sample string 5</d2p1:DocumentUploadedDate>
            <d2p1:FileName>sample string 3</d2p1:FileName>
            <d2p1:RecordId>1</d2p1:RecordId>
            <d2p1:URL>sample string 2</d2p1:URL>
          </d2p1:DocumentData>
        </d2p1:DeletedRecords>
        <d2p1:Prescriptions>
          <d2p1:DocumentData>
            <d2p1:AddedBy>6</d2p1:AddedBy>
            <d2p1:DocumentType>4</d2p1:DocumentType>
            <d2p1:DocumentUploadedDate>sample string 5</d2p1:DocumentUploadedDate>
            <d2p1:FileName>sample string 3</d2p1:FileName>
            <d2p1:RecordId>1</d2p1:RecordId>
            <d2p1:URL>sample string 2</d2p1:URL>
          </d2p1:DocumentData>
          <d2p1:DocumentData>
            <d2p1:AddedBy>6</d2p1:AddedBy>
            <d2p1:DocumentType>4</d2p1:DocumentType>
            <d2p1:DocumentUploadedDate>sample string 5</d2p1:DocumentUploadedDate>
            <d2p1:FileName>sample string 3</d2p1:FileName>
            <d2p1:RecordId>1</d2p1:RecordId>
            <d2p1:URL>sample string 2</d2p1:URL>
          </d2p1:DocumentData>
        </d2p1:Prescriptions>
        <d2p1:TestReportsList>
          <d2p1:DocumentData>
            <d2p1:AddedBy>6</d2p1:AddedBy>
            <d2p1:DocumentType>4</d2p1:DocumentType>
            <d2p1:DocumentUploadedDate>sample string 5</d2p1:DocumentUploadedDate>
            <d2p1:FileName>sample string 3</d2p1:FileName>
            <d2p1:RecordId>1</d2p1:RecordId>
            <d2p1:URL>sample string 2</d2p1:URL>
          </d2p1:DocumentData>
          <d2p1:DocumentData>
            <d2p1:AddedBy>6</d2p1:AddedBy>
            <d2p1:DocumentType>4</d2p1:DocumentType>
            <d2p1:DocumentUploadedDate>sample string 5</d2p1:DocumentUploadedDate>
            <d2p1:FileName>sample string 3</d2p1:FileName>
            <d2p1:RecordId>1</d2p1:RecordId>
            <d2p1:URL>sample string 2</d2p1:URL>
          </d2p1:DocumentData>
        </d2p1:TestReportsList>
        <d2p1:VisitReason>sample string 4</d2p1:VisitReason>
        <d2p1:VisitReasonId>3</d2p1:VisitReasonId>
        <d2p1:VisitReasonTitleId>2</d2p1:VisitReasonTitleId>
      </d2p1:HealthPHRModel>
    </d2p1:HealthList>
  </Result>
  <Status>3</Status>
</ResponseOfHealthPhrListQLZlyOoP>