All local codes may be sent as a 'code' and 'code system' pair. Where provided PKB displays the code and the coding system on screen as additional details with the allergy, diagnosis or medication. We will display 'code' value if no 'code system' provided, but if no 'code' provided then the 'code system' will not display.
All code systems are supported for receipt and display, including SNOMED CT, Read v2, and Dm+D.
Mapping to privacy labels
PKB maps each coded data to a pre-set defaultprivacy label. Code to privacy mappings are only currently available for Read V2 codes with SNOMED CT mappings to come in 2019.
If you would like to send Read V2 codes to PKB for allergies and diagnoses:
The "code system" must be sent as "Read V2". Any other variation on this will be accepted and displayed on screen but the privacy label look-up will only work if the code system is sent exactly as specified.
The Read V2 code must have 5 characters.
PKB will show the term as sent. The Read code look-up will not select a term only a privacy label and datatype.
As PKB is moving toward supporting privacy label mapping for SNOMED CT codes, the SNOMED CT concept ids are included in these tables. If you have any feedback or suggestions on the mapping tables pleasecontact the PKB team.
The principles we've followed in determining these mappings for diagnoses are:
Mental - all items in Chapter E of Read V2 (Mental disorders) EXCEPT those falling under Sexual
mental health symptoms and conditions
mental development disorders
sexually transmitted infections incl. neonatal e.g. chlamydia, gonorrhoea, trichomonas, HIV
fertility related (K26.., K5B..) e.g. IVF, sperm motility issues
sexual disorders e.g. dyspareunia
female genital mutilation
termination of pregnancy
gender identity related
sexual preference related
NOT pregnancy, miscarriage or childbirth related (general)
non-accidental injury / abuse
General - everything else including
alcohol related organic illness (e.g. cirrhosis)
poisoning - any chemical, drug or medication
any allergy or adverse event
All medications and allergies are assigned 'General' privacy label. The patient can modify this if preferred manually in PKB.
More information on how privacy labels are applied can be found on our developer wiki page.
Mapping to data type
This currently only applies to data received from the EMIS extract service. For HL7 the datatype is implied by the segment, for consistency we recommend matching the PKB datatype mappings.
PKB stores data received via HL7 according to the mappings specified in the HL7 message.