There are several fields in our HL7 API which accept coded data. These come in 3 different flavours.
Some of the fields have a mandated code set. Where this is the case, we provide the relevant code set that you must use.
Other fields do not have a mandated code set, but we ask that you let us know what codes you will be using. By providing your code set, we will be able to process your data in a way that allows us to add extra value, for example by mapping laboratory test codes to show test names in the user's language along with explanations and links to extra information. Please see the notes column below to understand more about how we use your data.
Finally, some fields do not have a mandated code set and are not mapped to standardised codes. These fields are typically not processed by PKB beyond a simple store, retrieve and display, so you are welcome to send through your own local codes and do not need to tell us what they are.
Any of your mapped code sets can be added, changed or removed at any time.
An Organisation Administrator is also able to view and download them, please see the user manual for details of how to do this.
To request a change, please email help@patientsknowbest.com, including the following information:
Your HL7 username. This allows us to identify your interface.
Which server environment you would like to update (e.g. sandbox, UK production)
Which code set you would like to be updated (e.g. Hospital service)
An attachment containing the full code set, in the correct format (see example file). Please do provide the full code set each time you request a change, as this has proven to be the safest way of avoiding miscommunication. After the update has been applied, we will confirm which codes were added/removed/changed. We encourage you to confirm the change has been successful by checking the end result using your Organisation Administration login.
The updated code sets will only affect data processed after they have been applied.
PKB uses your Order Service Code Set for 1 function:
Helping to determine the privacy label for a data point
To supply this code set, please provide a CSV file in the following format: Code, Display, Privacy Label
Code. The value that will appear in OBR-4.1
Display. The name of the order/service. The value provided will not be used directly but is helpful to have when discussing your code set.
Privacy Label. One of: GENERAL_HEALTH, MENTAL_HEALTH, SEXUAL_HEALTH, SOCIAL_CARE.
See here for an example file.
PKB uses your Laboratory Discipline Code Set for 1 function:
Replacing the code with a user friendly display name in the web interface
To supply this code set, please provide a CSV file in the following format: Code, Display
Code. The value that will appear in OBR-24.1
Display. The name of the laboratory discipline that we should show to the user in the web interface.
See here for an example file.
PKB uses your Hospital Service Code Set for 2 functions:
Helping to determine the privacy label for a data point
Replacing the code with a user friendly display name in the web interface
To supply this code set, please provide a CSV file in the following format: Code, Display, Privacy Label
Code. The value that will appear in PV1-10
Display. The name of the hospital service that we should show to the user in the web interface.
Privacy Label. One of: GENERAL_HEALTH, MENTAL_HEALTH, SEXUAL_HEALTH, SOCIAL_CARE.
See here for an example file.
Based on FHIR EncounterClass (DSTU2).