POST api/trt_import/patientinfos_async?center_id={center_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
center_id

integer

Required

Body Parameters

Collection of PatientInfoLite
NameDescriptionTypeAdditional information
Selected

boolean

None.

No

integer

None.

PatientID

string

None.

CN

string

None.

FirstName

string

None.

LastName

string

None.

DOB

date

None.

Gender

integer

None.

IdentTypeID

integer

None.

OtherIdenType

string

None.

IDCard

string

None.

Address

string

None.

RegionID

integer

None.

ProvID

integer

None.

AmphurID

integer

None.

DistricID

integer

None.

PostCode

string

None.

Phone

string

None.

OtherContract

string

None.

MarriageID

integer

None.

OriginID

integer

None.

NationalID

integer

None.

EduID

integer

None.

OccupID

integer

None.

OccupOther

string

None.

IncomeID

integer

None.

ExpenserID

integer

None.

OtherExpenser

string

None.

Height

decimal number

None.

Weight

decimal number

None.

BMI

decimal number

None.

CigaretID

integer

None.

AlcoholID

integer

None.

CRF

integer

None.

CRF2

integer

None.

OtherCRF

string

None.

OtherCRF2

string

None.

Is1stDateDS

integer

None.

FirstDateDS

date

None.

FirstTreatID

integer

None.

FirstDC

string

None.

OtherFirstDC

string

None.

IsFirstDatePVA

integer

None.

FirstDatePVA

date

None.

IsFirstDateTC

integer

None.

FirstDateTC

date

None.

IsRenalTransplant

integer

None.

IsRenalTransplantDate

date

None.

IsRegisterRT

integer

None.

DCRegisterRT

string

None.

OtherDCRegisterRT

string

None.

DonorTypeID

integer

None.

DCRegular

string

None.

OtherDCRegular

string

None.

IsDiabetes

integer

None.

IsHypertension

integer

None.

thaiHealth

Patient9ThaiHealth

None.

coDetails

Collection of ComorbidDetailInfo

None.

vacs

Collection of VaccineInfo

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Selected": true,
    "No": 2,
    "PatientID": "sample string 3",
    "CN": "sample string 4",
    "FirstName": "sample string 5",
    "LastName": "sample string 6",
    "DOB": "2024-12-12T19:00:17.8225487+07:00",
    "Gender": 8,
    "IdentTypeID": 9,
    "OtherIdenType": "sample string 10",
    "IDCard": "sample string 11",
    "Address": "sample string 12",
    "RegionID": 13,
    "ProvID": 14,
    "AmphurID": 15,
    "DistricID": 16,
    "PostCode": "sample string 17",
    "Phone": "sample string 18",
    "OtherContract": "sample string 19",
    "MarriageID": 20,
    "OriginID": 21,
    "NationalID": 22,
    "EduID": 23,
    "OccupID": 24,
    "OccupOther": "sample string 25",
    "IncomeID": 26,
    "ExpenserID": 27,
    "OtherExpenser": "sample string 28",
    "Height": 29.0,
    "Weight": 30.0,
    "BMI": 31.0,
    "CigaretID": 32,
    "AlcoholID": 33,
    "CRF": 34,
    "CRF2": 35,
    "OtherCRF": "sample string 36",
    "OtherCRF2": "sample string 37",
    "Is1stDateDS": 38,
    "FirstDateDS": "2024-12-12T19:00:17.8225487+07:00",
    "FirstTreatID": 39,
    "FirstDC": "sample string 40",
    "OtherFirstDC": "sample string 41",
    "IsFirstDatePVA": 42,
    "FirstDatePVA": "2024-12-12T19:00:17.8225487+07:00",
    "IsFirstDateTC": 43,
    "FirstDateTC": "2024-12-12T19:00:17.8225487+07:00",
    "IsRenalTransplant": 44,
    "IsRenalTransplantDate": "2024-12-12T19:00:17.8225487+07:00",
    "IsRegisterRT": 45,
    "DCRegisterRT": "sample string 46",
    "OtherDCRegisterRT": "sample string 47",
    "DonorTypeID": 48,
    "DCRegular": "sample string 49",
    "OtherDCRegular": "sample string 50",
    "IsDiabetes": 51,
    "IsHypertension": 52,
    "thaiHealth": {
      "KPSScore": 1,
      "TakecareMySelf": 2,
      "IsQALife": 3,
      "QALifeID": 4,
      "ValueQALife": "sample string 5",
      "Value9ThaiPHS": "sample string 6",
      "Value9ThaiMHS": "sample string 7",
      "Value9ThaiTotal": "sample string 8",
      "Value9ThaiHealth8": "sample string 9",
      "Value9ThaiHealth9": "sample string 10"
    },
    "coDetails": [
      {
        "Date": "2024-12-12T19:00:17.8225487+07:00",
        "CoID": 1,
        "CoOther": "sample string 2"
      },
      {
        "Date": "2024-12-12T19:00:17.8225487+07:00",
        "CoID": 1,
        "CoOther": "sample string 2"
      }
    ],
    "vacs": [
      {
        "Date": "2024-12-12T19:00:17.8225487+07:00",
        "VacID": 1,
        "VacOther": "sample string 2",
        "BrandID": 3,
        "BrandOther": "sample string 4",
        "VacNO": 5,
        "VacStatus": 6
      },
      {
        "Date": "2024-12-12T19:00:17.8225487+07:00",
        "VacID": 1,
        "VacOther": "sample string 2",
        "BrandID": 3,
        "BrandOther": "sample string 4",
        "VacNO": 5,
        "VacStatus": 6
      }
    ]
  },
  {
    "Selected": true,
    "No": 2,
    "PatientID": "sample string 3",
    "CN": "sample string 4",
    "FirstName": "sample string 5",
    "LastName": "sample string 6",
    "DOB": "2024-12-12T19:00:17.8225487+07:00",
    "Gender": 8,
    "IdentTypeID": 9,
    "OtherIdenType": "sample string 10",
    "IDCard": "sample string 11",
    "Address": "sample string 12",
    "RegionID": 13,
    "ProvID": 14,
    "AmphurID": 15,
    "DistricID": 16,
    "PostCode": "sample string 17",
    "Phone": "sample string 18",
    "OtherContract": "sample string 19",
    "MarriageID": 20,
    "OriginID": 21,
    "NationalID": 22,
    "EduID": 23,
    "OccupID": 24,
    "OccupOther": "sample string 25",
    "IncomeID": 26,
    "ExpenserID": 27,
    "OtherExpenser": "sample string 28",
    "Height": 29.0,
    "Weight": 30.0,
    "BMI": 31.0,
    "CigaretID": 32,
    "AlcoholID": 33,
    "CRF": 34,
    "CRF2": 35,
    "OtherCRF": "sample string 36",
    "OtherCRF2": "sample string 37",
    "Is1stDateDS": 38,
    "FirstDateDS": "2024-12-12T19:00:17.8225487+07:00",
    "FirstTreatID": 39,
    "FirstDC": "sample string 40",
    "OtherFirstDC": "sample string 41",
    "IsFirstDatePVA": 42,
    "FirstDatePVA": "2024-12-12T19:00:17.8225487+07:00",
    "IsFirstDateTC": 43,
    "FirstDateTC": "2024-12-12T19:00:17.8225487+07:00",
    "IsRenalTransplant": 44,
    "IsRenalTransplantDate": "2024-12-12T19:00:17.8225487+07:00",
    "IsRegisterRT": 45,
    "DCRegisterRT": "sample string 46",
    "OtherDCRegisterRT": "sample string 47",
    "DonorTypeID": 48,
    "DCRegular": "sample string 49",
    "OtherDCRegular": "sample string 50",
    "IsDiabetes": 51,
    "IsHypertension": 52,
    "thaiHealth": {
      "KPSScore": 1,
      "TakecareMySelf": 2,
      "IsQALife": 3,
      "QALifeID": 4,
      "ValueQALife": "sample string 5",
      "Value9ThaiPHS": "sample string 6",
      "Value9ThaiMHS": "sample string 7",
      "Value9ThaiTotal": "sample string 8",
      "Value9ThaiHealth8": "sample string 9",
      "Value9ThaiHealth9": "sample string 10"
    },
    "coDetails": [
      {
        "Date": "2024-12-12T19:00:17.8225487+07:00",
        "CoID": 1,
        "CoOther": "sample string 2"
      },
      {
        "Date": "2024-12-12T19:00:17.8225487+07:00",
        "CoID": 1,
        "CoOther": "sample string 2"
      }
    ],
    "vacs": [
      {
        "Date": "2024-12-12T19:00:17.8225487+07:00",
        "VacID": 1,
        "VacOther": "sample string 2",
        "BrandID": 3,
        "BrandOther": "sample string 4",
        "VacNO": 5,
        "VacStatus": 6
      },
      {
        "Date": "2024-12-12T19:00:17.8225487+07:00",
        "VacID": 1,
        "VacOther": "sample string 2",
        "BrandID": 3,
        "BrandOther": "sample string 4",
        "VacNO": 5,
        "VacStatus": 6
      }
    ]
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ImportResult
NameDescriptionTypeAdditional information
CenterID

integer

None.

CenterTitle

string

None.

Date

date

None.

Total

integer

None.

Success

integer

None.

time

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "CenterID": 1,
  "CenterTitle": "sample string 2",
  "Date": "2024-12-12T19:00:17.8538024+07:00",
  "Total": 4,
  "Success": 5,
  "time": 6.1
}