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

V0.2.9 part 4 demographics api #308

Merged
merged 16 commits into from
Dec 1, 2017
Merged

Conversation

davidmiller
Copy link
Member

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+3.5%) to 88.275% when pulling 55b3374 on v0.2.9-part-4-demographics-api into 11bf3ae on v0.2.9.

elcid/api.py Outdated
class DemographicsSearch(LoginRequiredViewset):
base_name = 'demographics_search'
PATIENT_FOUND_IN_ELCID = "patient_found_in_elcid"
PATIENT_FOUND_IN_HOSPITAL = "patient_found_in_hospital"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename this PATIENT_FOUND_UPSTREAM ?

elcid/api.py Outdated
else:
demographics = None

if settings.ADD_PATIENT_DEMOGRAPHICS:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename this something like USE_UPSTREAM_DEMOGRAPHICS

@@ -57,7 +57,7 @@ <h4>Hospital number</h4>
<div class="col-sm-12">
<div class="row">
<div class="col-md-4">
<b>Hospital #[[ demographics.hospital_number ]]</b>
<b>Hospital</b>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure we should remove the # ?



DEMOGRAPHICS_QUERY = "SELECT top(1) * FROM {view} WHERE Patient_Number = \
'{hospital_number}' ORDER BY last_updated DESC;"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a pytds api for not having to do this...

@coveralls
Copy link

Coverage Status

Coverage increased (+3.3%) to 88.085% when pulling 17ecb79 on v0.2.9-part-4-demographics-api into 11bf3ae on v0.2.9.

@coveralls
Copy link

Coverage Status

Coverage increased (+3.4%) to 88.21% when pulling a967409 on v0.2.9-part-4-demographics-api into 11bf3ae on v0.2.9.

@coveralls
Copy link

Coverage Status

Coverage increased (+3.4%) to 88.202% when pulling 4342ddc on v0.2.9-part-4-demographics-api into 11bf3ae on v0.2.9.

@coveralls
Copy link

Coverage Status

Coverage increased (+3.4%) to 88.195% when pulling a056dd7 on v0.2.9-part-4-demographics-api into 11bf3ae on v0.2.9.

@coveralls
Copy link

Coverage Status

Coverage increased (+3.4%) to 88.188% when pulling 919025a on v0.2.9-part-4-demographics-api into 11bf3ae on v0.2.9.

@coveralls
Copy link

Coverage Status

Coverage increased (+3.2%) to 88.063% when pulling 919025a on v0.2.9-part-4-demographics-api into 11bf3ae on v0.2.9.

@coveralls
Copy link

Coverage Status

Coverage increased (+3.4%) to 88.21% when pulling 4385429 on v0.2.9-part-4-demographics-api into 11bf3ae on v0.2.9.

@coveralls
Copy link

Coverage Status

Coverage increased (+3.4%) to 88.21% when pulling d9a7e99 on v0.2.9-part-4-demographics-api into 11bf3ae on v0.2.9.

@davidmiller davidmiller merged commit 463dac6 into v0.2.9 Dec 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants