-
Notifications
You must be signed in to change notification settings - Fork 6
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
Registration Step #46
Labels
Comments
Add RegisterController and amend PatientAdapter for Registration Step |
Leo24
added a commit
to Leo24/fhir
that referenced
this issue
Sep 29, 2016
kchapple
pushed a commit
that referenced
this issue
Sep 30, 2016
* Add ehr_pid column to users table * Add RegisterController and amend PatientAdapter for Registration Step #46 * Add functionality for storing connection and ehr_pid to users table
kchapple
pushed a commit
that referenced
this issue
Jan 5, 2017
* Add ehr_pid column to users table * Add RegisterController and amend PatientAdapter for Registration Step #46 * Add functionality for storing connection and ehr_pid to users table
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the client posts a Patient resource to /register, we should
TODO
`Sample request to /register
{
"resourceType": "Patient",
"name": [
{
"use": "usual",
"family": [
"Everywoman3"
],
"given": [
"Judy Simple"
]
}
],
"telecom": [
{
"system": "phone",
"value": "555-555-2003",
"use": "primary"
},
{
"system": "email",
"value": "",
"use": "primary"
}
],
"gender": "female",
"birthDate": "1955-01-06",
"address": [
{
"use": "home",
"line": [
"45 pine st",
"Mt eden"
],
"city": "Auckland"
}
],
"extension": [
{
"url": "https://gponline-fhir.vu2vu.com/gponline-patient-extensions",
"extension": [
{
"url": "#groupId",
"valueString": ""
},
{
"url": "#status",
"valueString": "pending"
},
{
"url": "#providerId",
"valueString": "34"
},
{
"url": "#pharmacyId",
"valueString": "5"
},
{
"url": "#stripeToken",
"valueString": "some-value"
}
]
}
]
}
Sample response from /register
{
"resourceType": "Bundle",
"type": "transaction-response",
"total": 1,
"entry": [
{
"fullUrl": "https://gponline-fhir.vu2vu.com/fhir/mysql/Patient/47",
"resource": {
"id": 47,
"resourceType": "Patient",
"identifier": [
{
"use": "usual",
"value": 47
}
],
"name": [
{
"use": "usual",
"family": ["Everywoman3"],
"given": ["Judy Simple"]
}
],
"telecom": [
{
"system": "phone",
"value": "555-555-2003",
"use": "primary"
},
{
"system": "email",
"value": "",
"use": "primary"
}
],
"gender": "female",
"birthDate": "1955-01-06",
"address" : [
{
"use" : "home",
"line" : [
"45 pine st",
"Mt eden"
],
"city" : "Auckland"
}
],
"extension" : [
{
"url" : "https://gponline-fhir.vu2vu.com/extensions/gponline-patient-data",
"extension" : [
{
"url" : "#groupId",
"valueString" : "1001"
},
{
"url" : "#status",
"valueString" : "pending"
},
{
"url" : "#providerId",
"valueString" : "34"
},
{
"url" : "#pharmacyId",
"valueString" : "5"
},
{
"url" : "#stripeToken",
"valueString" : "some-value"
}
]
}
]
},
"response": {
"status": "201 Created",
"location": "Patient/47"
}
}
]
}
`
The text was updated successfully, but these errors were encountered: