Enabling New Test Results
There are two changes required to enable new test codes. The xsd used for validation needs the new codes added to its validation and the codes need to be added to lookup table in HealthShare. If the xsd isn't updated then the new codes will cause a validation error.
Updating the XML Schema
- Checkout rr_resources from BitBucket. (ssh://git@bitbucket.renalregistry.nhs.uk:7999/rr/rr_resources.git)
- Edit
rr_resources/rr/resources/schema/pv_2.0.xsd
 in a Text Editor - Find
<xs:simpleType name="testcode">
 and scroll down until you find the section not present in RPV 4.6 - Add any new codes in the same way to the existing ones.
- Save the file and commit and push  to Bitbucket
Updating the Schema on HealthShare
- Upload
PV_2.0.xsd
 to/data/files
 on HS Live (nww.ukrdc.nhs.uk), overwriting the existing copy. - Change to the
PV
 Namespace - Go to Ensemble → Configure → Production and stop the Production (NOTE: The reason for this is that updating the schema is not atomic and will crash any in-progress messages. This was confirmed by the WRC and (I think) logged as a defect).
- Go to Ensemble → Interoperate → XML→ XML Schema Structures
- Click Import and Browse to the XSD in /data/files (You need to click on "Files of Type" before they become visible). Select the file and import it.
Updating the Lookups on HealthShare (see Updating Lookups on HealthShare)
- Ensure PV Namespace is selected
- Go to Ensemble → Configure → Data Lookup Tables
- Click Open and chooseÂ
PRVOrders
- Use the boxes at the right hand side to enter the test code and order/order code. Note that there is no space between the order code and order description.
- Click Save
- Go to Ensemble → Configure → Production and start the Production