Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a patient, I want to view my account information details #26

Open
KurtTaylan opened this issue Nov 27, 2017 · 0 comments
Open

As a patient, I want to view my account information details #26

KurtTaylan opened this issue Nov 27, 2017 · 0 comments
Milestone

Comments

@KurtTaylan
Copy link
Contributor

HTTP method:
GET

API URL:
/api/v1/patients/{userId}

Sample Output GET Data:

{
"userId":"12",
"userName":"eilhan",
"email":"[email protected]",
"phone":"5334445566",
"address" : "xxx",
"gender" : "ERKEK",
"birthday" : "25/04/1982",
"job" : "engineer"
"pastOperations": [{
"operationName": "burun ameliyatı",
"operationDate" : "11/11/2013"
},{
"operationName": "burun ameliyatı",
"operationDate" : "11/11/2013"
}],
"pastChronicDiseases":[{
"diagnosis": "şeker hastalığı",
"date" : "11/11/2013"
}],
"pastMedicine":[{
"medicineName": "Parol",
"startDate" : "11/11/2013",
"endDate" : "11/11/2013"
}],
"alcoholConsumptionProfile":"Her akşam",
"smokerProfile":"Günde bir paket",
"addictiveDrugProfile": "ectasy"
}

Response :
Succes return :Http:200
Error return : Http.400
In error case:
[ { field: string, error: string } ]

@KurtTaylan KurtTaylan added this to the MVP milestone Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant