Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

NMRL-125 New Analysis Request Add form outside the client and patient #7

Merged
merged 1 commit into from
Mar 10, 2017

Conversation

nihadness
Copy link
Contributor

There should be a very simple way to allow users to register specimen, assign it to a patient, assign a patient to a client, as well as request for analysis. The analysis request form should behave in a similar way as the case form
The requirement is to have analysis request form detached from either the client or patient. At the moment, to create an analysis you have to be either in the client or patient container. Ideally, we want one to open analysis request form, without going to patient or client. From the analysis request form the user should be able to then select or create a patient as well as select a client (following province → district → client hierarchy) both of which are mandatory. In case of missing patient information, register the sample using anonymous patient to allow the sample to be registered and rejected for lack of patient information (the functionality partially exist). The case and the analysis request forms should be maintained as is – except for changes to be made to the actual fields to meet the requirements.
New Analysis Request Add form from outside the client and case. Order of the fields:

  1. Patient (search/add)
  2. Patient ID (autofill from patient)
  3. Referrer/Client (search/add/autofill from patient)
  4. Sampling Point
  5. Contact (autofill from referrer/client)
  6. Sample Type
  7. Sampling Date
  8. AR Template
  9. AR Profile
    Technical approach
    An “Add” button will be added in the Analysis Requests list view. Thus, the user will be able to create an Analysis Request from outside a Client or Patient view. If so, the Analysis Request Add form will display the Client and Patient fields empty, but both mandatory.

@xispa xispa merged commit 8a5fc2a into wip Mar 10, 2017
@xispa xispa deleted the task/NMRL-125-adding-AR-without-client-patient branch November 2, 2017 10:34
@xispa xispa changed the title NMRL-125 adding ar without client patient NMRL-125 New Analysis Request Add form outside the client and patient Nov 10, 2017
xispa pushed a commit that referenced this pull request Nov 10, 2017
xispa added a commit that referenced this pull request Aug 31, 2018
xispa added a commit that referenced this pull request Aug 31, 2018
* Hide Hours fasting, Patient condition and Basal body temp in Case view (#1)

* Hide Hours fasting, Patient condition and Basal body temp in Case view

* Hide Patient's height, weight and waist units from Setup

As per CAR #1 , the fields PatientConditionsHeightUnits,
PatientConditionsWeightUnits and PatientConditionsWaistUnits are
not longer needed and can be disabled in Setup Case's config view

* Custom footer in results reports (#2)

Replacement of the previous footer "... This document shall not be.." by
"Note: CARPHA is a Specialized Sub-Regional..."
Related PR: naralabs/carpha.senaite.core#3

* Move CARPHA changes to top in 1.1.2

* Remove Dry Matter references (#77)

* Remove Dry Matter references

* Update CHANGES.rst

* 'listing_searchable_text' index optimizations. (#76)

* Use 'None' as default value while getting an attribute

* Do not override 'listing_searchable_text' of AR's from senaite.core

* Always try to get attributes from the brain.

* Retrieve the object brain only once in listing searchable indexer.

* Review Changes.

* Patient & Doctor URL values in AR Listing Catalog contain 'host' info. (#75)

* Use 'absolute_url_path' instead of 'api.get_url'.

* Delete and Re-Add URL columns.

* A Comment.

* Changes.rst

* Delay of 1000ms and minLength of 2 in Patient's reference widgets (#74)

* Test machinery (#67)

* Initial update and refactor of test machinery

* Update setup.py with extras_require section

* Fix API import

* Add tearDownZope method in BaseLayer and clean import section

* Update code header

* Travis integration

* Add basic buildout

* Add dummy test

* Comment unused parts

* Force pycodestyle version

* Add robotsuite dependency

* Fix robotsuite installation

* Add robotsuite as an extra dependency

* Remove robot tests

* Write contributors when updating

* Write code headers when updating

* Update translations when updating

* Add basic patient test and remove dummy test

* Unpinned zc.buildout version

* Comment code-analysis part

* Fix travis buildout

* Traceback when importing diseases with setupdata.xlsx (#4)

* CARPHA Logos (#7)

* Display Diseases in Provisional Diagnosis widget, w/o ICD defaults (#5)

Provisional Diagnosis widget was displaying the Symptoms loaded in
the system, together with the ICD9 records (set by default). With
this change, that widget only displays the active objects available
in Diseaes, while ICD9 records are dismissed.

* Hide menstrual status widget in Case's Add/Edit view (#6)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants