IHE UK Patient Administration Management (Unofficial)
0.1.0 - ci-build United Kingdom flag

IHE UK Patient Administration Management (Unofficial) - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

HSCIC ITK Example Messages (v2.4 and v2.5.1)

These examples are the HSCIC ITK HL7 v2 ADT example messages (HL7 v2.4), published with the HSCIC ITK specifications. Each one links to the original HSCIC v2.4 message in the source repository and shows its conversion to HL7 v2.5.1 using the rules in Changes from HSCIC ITK v2.4. Each ADT example also links to its FHIR Message equivalent, generated from the v2.5.1 conversion using the HL7 v2 to FHIR Mapping.

The conversion changes only what the move to v2.5.1 and IHE PAM requires. Under each example:

  • Changes lists every field changed by the conversion.
  • Issues in the original lists problems in the HSCIC example that are not version related. These are left unchanged in the conversion, so that it can be compared directly with the original.

The examples are about one patient at York Hospital (RCB). Segments are shown one per line; on the wire each segment ends with <cr>. The HSCIC v2 XML encodings of the v2.4 examples are held in Specifications/HSCIC/HL7 v2 ADT Examples in the source repository.

Test identifiers replaced. The patient identifiers in the HSCIC examples (NHS Numbers 3333333333 and 4010232137) pass the NHS Number check digit and could belong to real people. The 9-digit staff ID 111111111 resembles 1111111111, which has caused data incidents. In the v2.5.1 conversions below they are replaced with NHS England EDI test patients. The linked original files still contain them: do not use the original identifiers for testing.
HSCIC original Replaced with
Patient 3333333333 SMITH^FREDRICA, DOB 1965-12-13, 29 West Avenue, Malton YO32 5TT 9999999557 EDITESTPATIENT^TEN, DOB 1980-01-01 (time kept), 1 Test Street, Bracknell RG12 9AX
Next of kin SMITH^ALBERT / SMITH^FRANCESCA EDITESTPATIENT^ALBERT / EDITESTPATIENT^FRANCESCA
Patient 4010232137 Jones^Sally (visit query) 9999999565 EDITESTPATIENT^ELEVEN
Operator ID 111111111 (receptionist Cortana^Emily) OP000123 (name Cortana^Emily kept)

Hospital Provider Spells. In the HSCIC examples PV1-19 is a visit number. The ADT examples are amended so that PV1-19 is the Hospital Provider Spell (inpatient stay or outpatient spell, CX-5 AN, assigning authority RCB) and the HSCIC visit number moves to PV1-50 Alternate Visit ID (CX-5 VN): the outpatient attendance or the consultant episode. Examples that had the same visit number are about the same stay, so they share a spell number. The query examples are not amended. For one stay followed from admission to discharge, see the Example Scenario.

FHIR Messages (generated by scripts/hscic_v2_to_fhir.py):

  • Times get the Europe/London offset (GMT or BST) that applied on the date, because FHIR dateTimes need a time zone.
  • Local identifiers (MRN, spell and visit numbers, ward, staff ID, message control ID) have only a local namespace in the HSCIC examples and no known OID, so Identifier.system is omitted. They are qualified by type and assigner (ODS code) instead.
  • PV1-10 is coded with NHS England's Treatment Function Code system; a code that is not a Treatment Function (e.g. 500) is carried as text.
  • OPCS-4 procedure codes are carried as code.text, because OPCS-4 has no agreed FHIR code system URI in HL7 Terminology.
  • Not mapped: OBX, ZU3, ZU4, ZU6, ZU7, ZU8, PV1-36 (Discharge Disposition) and PID-17 (Religion), and invalid dates in the originals.

Not converted in v2.5.1:

  • Time zones (+ZZZZ) are not added to TS values, because the originals do not give the offset. Senders should include it in v2.5.1.
  • XTN-2/XTN-3 (use and equipment type) are not added to telephone numbers, because the type cannot be inferred.

Patient Identity Management [ITI-30]

HSCIC ITK 3.1.4. PAS (Patient Demographics Supplier) to consumers.

ADT^A28 - Create Patient

Scenario: Mrs Editestpatient attends the hospital to attend a drop in outpatient clinic recommended by her GP Dr. Townley of the Malton GP Practice. She arrives at the hospital and speaks to the receptionist Miss Cortana at the front desk. As this is the first time she has ever visited York Hospital, Miss Cortana takes the patient's name, address and date of birth and searches on the Personal Demographics Service for her details. This is found and Miss Cortana confirms it is the correct person. As Miss Cortana had previously consented to having a Summary Care Record, her allergy information was recieved from PSIS and this was also added to the record. Once this was saved and Mrs Editestpatient was registered, this triggered a HL7 A28 message.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201001021215||ADT^A28^ADT_A05|13403891320453338075|P|2.5.1|0|20100102121557|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201001021213|||OP000123^Cortana^Emily^^Miss^^RCB55|201001021213
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198013011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
NK1|2|EDITESTPATIENT^FRANCESCA^^^MRS^^L|16|1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H|+441234567890||||||||||M|196311111513||||en
PV1|1|N
AL1|1|DA|Z88.5|5||199807011755
ZU8|U|1|Yes|

FHIR Message: hscic-a28-identity

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • NK1-15: NHS Person Gender Code 1 → HL7 Table 0001 M
  • NK1-20: language EN → ISO 639-1 en
  • PV1: PV1|1|N added - IHE ITI-30 requires PV1 with Patient Class N in A28/A31

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20100102121557); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix
  • PID-7 196513121515 is not a valid date/time

ADT^A31 - Update Patient

Scenario: Mrs Editestpatient's record is updated with the addition of a further allergy.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201001021236||ADT^A31^ADT_A05|134039113204538055|P|2.5.1|0|20100102123657|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201001021237|||OP000123^Cortana^Emily^^Miss^^RCB55|201001021230
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198013011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
NK1|2|EDITESTPATIENT^FRANCESCA^^^MRS^^L|16|1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H|+441234567890||||||||||M|196311111513||||en
PV1|1|N
AL1|1|DA|Z88.5|5||199807011755
AL1|2|DA|T63.0|7||199306050000
ZU8|U|1|Yes

FHIR Message: hscic-a31-identity

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • NK1-15: NHS Person Gender Code 1 → HL7 Table 0001 M
  • NK1-20: language EN → ISO 639-1 en
  • PV1: PV1|1|N added - IHE ITI-30 requires PV1 with Patient Class N in A28/A31

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20100102123657); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix
  • PID-7 196513121515 is not a valid date/time

ADT^A40 - Merge Two Patient

Scenario: Miss Cortana, the administrative staff member working for York Hospital discovered that an unidentified patient who came into A&E is Mrs Editestpatient from Malton. The patient that had been assigned a local ID 22789, had already been created to allow her to be admitted into A&E, as she was unconscious and had no form of identification with her at that time. Miss Cortana needed to merge this patient with Mrs Editestpatient's record and this triggered a A40 message to do this.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201001251215||ADT^A40^ADT_A39|13403891320453338088|P|2.5.1|0|20100125121557|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201001251213|||OP000123^Cortana^Emily^^Miss^^RCB55|201001251213
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
MRG|22789^^^LOCALID^MR||||44455^^^VISITID^VN

FHIR Message: hscic-a40-identity

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • MRG-1: identifier type code (CX-5) MR added
  • MRG-5: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20100125121557); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix
  • MRG-5 Prior Visit Number is valued; HSCIC ITK 5.9 says it is only valued in A42

Patient Identity Management - Update Master [ITI-30]

A departmental system (here a self check-in kiosk) updates the PAS master record. The departmental system acts as Patient Demographics Supplier and the PAS as Patient Demographics Consumer.

ADT^A31 - Update Patient Update Master

Scenario: Mrs Editestpatient has been referred for an inpatient appointment by her GP Dr. Townley of the Malton GP Practice. She arrives at York hospital to find a self check in service is being implemented to inform the hospital that she has arrived. Using a self service check in kiosk, she enters her details and is then asked whether she would like to add or change any of her demographic details. Mrs Editestpatient decides to enter some emergency contact information and adds her mother as a next of kin. She also decides that she no longer wants to store a summary care record. Once these changes were entered, the kiosk sends a A31 master update message to the PAS system to update it's records with this new information.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|KIOSK|RCB|PAS|RCB|201008141106||ADT^A31^ADT_A05|13403891320453338076|P|2.5.1|3|201008141106|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201008141059|||OP000123^Cortana^Emily^^Miss^^RCB55|201008141100
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
NK1|1|EDITESTPATIENT^FRANCESCA^^^MRS^^L|16|1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H|+441234567890||||||||||M|196311111513||||en
PV1|1|N
AL1|1|DA|Z88.5|5||199807011755

FHIR Message: hscic-a31-identity-master

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • NK1-15: NHS Person Gender Code 1 → HL7 Table 0001 M
  • NK1-20: language EN → ISO 639-1 en
  • PV1: PV1|1|N added - IHE ITI-30 requires PV1 with Patient Class N in A28/A31

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (201008141106); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

Basic Encounter Management [ITI-31]

HSCIC ITK 3.1.1. IHE Basic Subset, plus A05 and A08.

ADT^A01 - Inpatient Admission

Scenario: Mrs Editestpatient is being admitted to hospital following a referral by her GP Dr Townley of the Malton GP Practice. She arrives at York hospital by car, and is put under the care of Dr. Darwin, who also attends to Mrs Editestpatient. Mrs Editestpatient is admitted for an inpatient spell under the speciality General Medicine. She has a recorded allergy to an anaesthetic agent and has been diagnosed with stress incontinence. A colonic examination procedure is then performed.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201010101418||ADT^A01^ADT_A01|1391320453338055|P|2.5.1|1|20101010141857|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201010101400|||OP000123^Cortana^Emily^^^Miss^^RCB55|201010101400
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|||GBR||DEU
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
NK1|1|EDITESTPATIENT^ALBERT^^^MR^^L|1|1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H|+441234567890||||||||||M|196311111513||||en
PV1|1|I|RCB^OBS1^BAY2-6^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC|G5612908^Townley^Gregory^^^Dr^^^GMC|C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||19|||||5000101^^^RCB^AN|||||||||||||||||||||||||201010201716||||||2139^^^VISITID^VN
PV2||||||||||||||||||||||||||||||||||||||C
AL1|1|DA|Z88.5|5||199807011755
DG1|1||N39.3^Stress Incontinence^ICD10||201010090900|A|||||||||1|C3456789^Darwin^Samuel^^^Dr^^^GMC|D|N|201010090900
PR1|1||ZZS4^Colonic examination^OPCS4||201010202056|D|34|||||C3456789^Darwin^Samuel^^^Dr^^^GMC|C3||N39.3
ZU1|201010071234|1|C|201010091300||500|||||||||201010081200|201010081156|02|Y|0
ZU3|004|03|5|||||Normal|8b||1|1
ZU4||201010081756|201010090000
ZU8|Z|1|No

FHIR Message: hscic-a01-encounter

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • NK1-15: NHS Person Gender Code 1 → HL7 Table 0001 M
  • NK1-20: language EN → ISO 639-1 en
  • PV1-19: example amended - Hospital Provider Spell 5000101^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 2139 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20101010141857); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0

ADT^A03 - Discharge Patient

Scenario: Mrs Editestpatient is discharged from her hospital provider spell. The discharge reports 2 observations from the hospital provider spell. The first is a weight measurement and the second a blood pressure. She is discharged with no follow up required, and returns home.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201010211706||ADT^A03^ADT_A03|13403893338056|P|2.5.1|1|20101021185800|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201010211735|||OP000123^Cortana^Emily^^^Miss^^RCB55|201010211706
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|||GBR||DEU
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|1|I|RCB^OBS1^BAY2-6^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC|G5612908^Townley^Gregory^^^Dr^^^GMC|C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||||||12|5000102^^^RCB^AN|||||||||||||||||3|19|01||||||201010201716|201010211706|||||YOR123456^^^YR_VISIT^VN
PV2|||ADMIT13|||||||||||||||||||||||||||||||||||C
OBX|1|CE|ID1234567890||CODE6^FTCAREADD^CODE_SYSTEM|kg||N|||Confirmed|||201010180804||C3456789
OBX|2|CE|ID1234564440||CODE7^MADE_UP_CODE_7^CODE_SYSTEM|mmHg||N|||Confirmed|||201010201038||C3456789
ZU1|201010071234|1|C|201010091300|201010211706|500|||||||||201010081200|201010081156|02|Y|0
ZU3|004|03|5|||||normal|8b||1|1
ZU4||201010081756|20101009
ZU8|Z|1|No

FHIR Message: hscic-a03-encounter

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000102^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number YOR123456 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20101021185800); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0

ADT^A04 - Register Outpatient

Scenario: Mrs Editestpatient is being admitted to hospital following a referral by her GP Dr Townley of the Malton GP Practice. She arrives at York hospital by car, and is put under the care of Dr. Darwin, who also attends to Mrs Editestpatient. Mrs Editestpatient is admitted for an inpatient spell under the speciality General Medicine. She has a recorded allergy to an anaesthetic agent and has been diagnosed with stress incontinence. A colonic examination procedure is then performed.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201011011512||ADT^A04^ADT_A01|14038913245354|P|2.5.1||201011011512|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201011011512|||OP000123^Cortana^Emily^^Miss^^RCB55|201001111512
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|||GBR||DEU
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
NK1|2|EDITESTPATIENT^FRANCESCA^^^MRS^^L|16|1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H|+441234567890||||||||||M|196311111513||||en
PV1|57|O|West Wing^RCB-AWRD^BED2^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC|G5612908^Townley^Gregory^^^Dr^^^GMC|C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||19|||C3456789^Darwin^Samuel^^^Dr^^^GMC|OUTPATIENT|5000104^^^RCB^AN|||||||||||||||||||||||||201011011600||||||2141^^^VISITID^VN
AL1|1|DA|Z88.5|5||199807011755
PR1|56||U19.2^24 hour ambulatory electrocardiography^OPCS4||201011011512|D|1440|||||C3456789^Darwin^Samuel^^^Dr^^^GMC|C3
ZU1||2|C|201011011530||300||||1|||GP|2|201011011624|201011011620|02|Y|0

FHIR Message: hscic-a04-encounter

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • NK1-15: NHS Person Gender Code 1 → HL7 Table 0001 M
  • NK1-20: language EN → ISO 639-1 en
  • PV1-19: example amended - Hospital Provider Spell 5000104^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 2141 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (201011011512); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A05 - Preadmit Patient

Scenario: Following Mrs Editestpatient's first antenatal assessment, a due date for her baby was estimated by her consulting doctor Dr Darwin. This due date was used in order pre-admit the patient so that she was provisionally booked to attend York Hospital for her delivery.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201008021530||ADT^A05^ADT_A05|13403891320453338090|P|2.5.1|0|20100802141857|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201008021530|||OP000123^Cortana^Emily^^Miss^^RCB55|201008021530
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|61|O|RCB^MATWRD|82||||||500||||79|B6|||Pregnant|5000105^^^RCB^AN|||||||||||||||||||||||||||||||4532^^^VISITID^VN
PV2|||Labour|||||201009300000|201010010000||||||||||||||||2|||||||||||||C
AL1|1|DA|Z88.5|5||199807011755
ZU3|004||||||||8b||1
ZU6||201008021530|2|||4||5
ZU8|U|1|Yes

FHIR Message: hscic-a05-encounter

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000105^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 4532 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20100802141857); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix
  • PV1-10 Hospital Service 500 is a Main Specialty Code, not a Treatment Function Code

ADT^A08 - Update Encounter

Scenario: Mrs Ten Editestpatient had been admitted to the ENT department of York Hospital having been diagnosed with Streptococcal tonsillitis by Dr Darwin. Upon admission Mrs Editestpatient informed Miss Cortana the receptionist, that she now knew the exact date and time of birth and wished to update the hospital's records. As her mother Helgar had found her original birth certificate, Mrs Editestpatient's demographic record no longer needed to contain an estimated date of birth flag. Miss Cortana confirmed and entered the patient's exact date of birth, and removed the estimated date of birth flag. This triggered a HL7 A08-A01 message to update the patient's encounter information.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201011080920||ADT^A08^ADT_A01|1340389132045312|P|2.5.1|1|201011080920|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201011080918|||OP000123^Cortana^Emily^^Miss^^RCB55|201011080802
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001012112|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
NK1|1|EDITESTPATIENT^ALBERT^^^MR^^L|1|1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H|+441234567890||||||||||M|196311111513||||en
PV1|54|I|East Wing^RCB-ENT^BED15^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC|G5612908^Townley^Gregory^^^Dr^^^GMC||120||||19|||C3456789^Darwin^Samuel^^^Dr^^^GMC||5000103^^^RCB^AN|||||||||||||||||||||||||201011071640||||||2140^^^VISITID^VN
PV2|||Referral|||||201011071200||||Inpatient Admission|||||||||||||3|||||||||||||C
OBX|1|CE|ID116645131||CODE6^FTCAREADD^CODE_SYSTEM|||N|||Confirmed
DG1|1||J03.0^Streptococcal tonsillitis^I10||201011072101|F|||||||||1|C3456789^Darwin^Samuel^^^Dr^^^GMC|D|N|201011072110
ZU1|201011011640|1|C|201011071700||120||||1|||GP|1|201010201200|201010191600|02|Y|0
ZU3|004|01|5|||||Normal|8b||1|1
ZU4||||||201011071640|RCB||||||01
ZU8|U|1|No

FHIR Message: hscic-a08-encounter

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • NK1-15: NHS Person Gender Code 1 → HL7 Table 0001 M
  • NK1-20: language EN → ISO 639-1 en
  • PV1-19: example amended - Hospital Provider Spell 5000103^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 2140 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (201011080920); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A11 - Cancel Inpatient

Scenario: Mrs Francesca Editestpatient’s GP Dr Townley decides she needs to be admitted to the hospital for general medical checks and stronger medication. The Malton GP practice receptionist rings up the York Hospital to organise a referral. Miss Cortana the hospital receptionist takes the details of Mrs Editestpatient's surname, first initial, date of birth, street number and postcode. When she searches on the system, she can only find two Mrs T Editestpatient's with the same date of birth and postcode and chooses the first one. The inpatient admission is scheduled with Dr Darwin. Miss Cortana realises that upon opening the full record view which shows full surnames, she had chosen Mrs Ten Editestpatient. Both were born in the same month, live at the same address and have estimated date of birth flags. Whoever had entered their original details had set both the patient’s default date of birth the same. Miss Cortana undid the inpatient admission triggering an HL7 A11 message.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201010281716||ADT^A11^ADT_A09|134038913204538042|P|2.5.1||201010281716|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201010281210|||OP000123^Cortana^Emily^^Miss^^RCB55|201010281130
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|1|I|RCB^OBS1^BAY2-6^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC|G5612908^Townley^Gregory^^^Dr^^^GMC|C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||19|||||5000101^^^RCB^AN|||||||||||||||||||||||||201010201716||||||2139^^^VISITID^VN

FHIR Message: hscic-a11-encounter

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000101^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 2139 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (201010281716); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A13 - Cancel Discharge

Scenario: Mrs Editestpatient's discharge from her hospital provider spell is cancelled. Her discharge is cancelled because just before the time of discharge, Mrs Editestpatient's health detoriated and she urgently required medical attention.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201010211706||ADT^A13^ADT_A01|13920453338056|P|2.5.1|1|20101021170658|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201010211805|||OP000123^Cortana^Emily^^Miss^^RCB55|201010211715
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|||GBR||DEU
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|1|I|RCB^OBS1^BAY2-6^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC|G5612908^Townley^Gregory^^^Dr^^^GMC|C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||||||12|5000102^^^RCB^AN|||||||||||||||||||||||||201010201716||||||YOR123456^^^YR_VISIT^VN
PV2|||ADMIT13|||||||||||||||||||||||||||||||||||C
OBX|1|CE|ID1234567890||CODE6^FTCAREADD^CODE_SYSTEM|kg||N|||Confirmed|||201010180804||C3456789
OBX|2|CE|ID1234564440||CODE7^MADE_UP_CODE_7^CODE_SYSTEM|mmHg||N|||Confirmed|||201010201038||C3456789
ZU1|201010071234|1|C|201010091300|201010211706|500|||||||||201010081200|201010081156|02|Y|0
ZU3|004|03|5|||||Normal|8b||1|1
ZU4||201010081756|201010090000
ZU8|Z|1|No

FHIR Message: hscic-a13-encounter

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000102^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number YOR123456 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20101021170658); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

Inpatient / Outpatient Encounter Management [ITI-31]

HSCIC ITK 3.1.1. IHE Inpatient/Outpatient Encounter Management Option.

ADT^A02 - Transfer Patient

Scenario: Mrs Editestpatient was to be transferred to the recovery ward following her interval appendicectomy procedure. Following the successful surgery, Dr Darwin, who had performed the procedure, used the functionality of the surgery and anaesthesia dashboard system to transfer the patient to the recovery ward. This triggered a A02 message from the main PAS system.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201011291315||ADT^A02^ADT_A02|13403891320453338079|P|2.5.1|1|201001091806|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201011291315|||445574765^Darwin^Samuels^^Dr^^RCB55|201011291310
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|1|I|West Wing^RCB55-RECOVERYWARD^Bed 8^RCB55|21||West Wing^RCB55-SURGWARD^Bed 2^RCB55|C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||51|||C3456789^Darwin^Samuel^^^Dr^^^GMC|Surgery|5000107^^^RCB^AN|||||||||||||||||||02Z||||||201011291100||||||1223^^^VISITID^VN
PV2||||Recovery
ZU1|201011291100|1|I|201011291130||300||||1
ZU3|004||||||||8b|11|1|1
ZU8|U|1|No|

FHIR Message: hscic-a02-inout

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000107^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 1223 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (201001091806); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Dr is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A05 - Pre Admit Patient

Scenario: Mrs Editestpatient is being pre-admitted to hospital following a referral by her GP Dr Townley of the Malton GP Practice. She is put under the care of Dr. Darwin, who also attends to Mrs Editestpatient. Mrs Editestpatient is admitted for an inpatient spell under the speciality General Medicine. She has a recorded allergy to an anaesthetic agent and has been diagnosed with stress incontinence.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201011011512||ADT^A05^ADT_A05|14038913245354|P|2.5.1|A05|201011011512|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201011011512|||OP000123^Cortana^Emily^^Miss^^RCB55|201001111512
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|||GBR||DEU
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|1|P|West Wing^RCB-AWRD^BED2^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC|G5612908^Townley^Gregory^^^Dr^^^GMC|C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||19|||C3456789^Darwin^Samuel^^^Dr^^^GMC|PREADMIT|5000106^^^RCB^AN|||||||||||||||||||||||||201011011600||||||2131^^^VISITID^VN
ZU1||2|C|201011011530||300||||1|||GP|2|201011011624|201011011620|02|Y|0

FHIR Message: hscic-a05-inout

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000106^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 2131 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-13 Sequence Number is A05, which is not numeric (NM)
  • MSH-14 Continuation Pointer holds a date/time (201011011512); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A12 - Cancel Transfer Patient

Scenario: Mrs Editestpatient was due to be transferred to the recovery ward following her interval appendicectomy procedure. Just after the procedure had completed as Mrs Editestpatient was being moved, there was a complication and she had to be brought back to the surgical ward. The transfer which had already been recorded on the system had to be cancelled. This was recorded by Dr Darwin, who had performed the procedure, using the PAS system so that information is updated in Surgery System.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201011291334||ADT^A12^ADT_A09|13403891320453338078|P|2.5.1|2|201001091806|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201011291332|||445574765^Darwin^Samuel^^Dr^^RCB55|201011291328
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|||GBR||DEU
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|1|I|West Wing^RCB55-SURGWARD^Bed 2^RCB55|21||West Wing^RCB55-RECOVERYWARD^Bed 8^RCB55|C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||51|||C3456789^Darwin^Samuel^^^Dr^^^GMC|Surgery|5000107^^^RCB^AN|||||||||||||||||19|Home|02Z||||||201011291100||||||1223^^^VISITID^VN
DG1|1||K35.0^Acute appendicitis with generalized peritonitis^ICD10||201030081030|A|||||||||1|C3456789^Darwin^Samuel^^^Dr^^^GMC|D|N|201011291200
ZU1|201011291100|1|I|201011291130||300||||1
ZU3|004||||||||8b|11|1|1|445574765
ZU8|U|1|No

FHIR Message: hscic-a12-inout

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000107^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 1223 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (201001091806); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Dr is in XCN-5 (Suffix); XCN-6 is Prefix
  • DG1-5 201030081030 is not a valid date/time
  • DG1-3 ICD-10 code K35.0 is not in current WHO ICD-10 (retired in the 2010 update)

ADT^A38 - Cancel Pre Admit Patient

Scenario: Mrs Editestpatient is being pre-admitted to hospital following a referral by her GP Dr Townley of the Malton GP Practice. She arrives at York hospital by car, which is cancelled.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201011011512||ADT^A38^ADT_A38|14038913245354|P|2.5.1||201011011512|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201011011530|||OP000123^Cortana^Emily^^Miss^^RCB55|201001111530
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|||GBR||DEU
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
NK1|1|EDITESTPATIENT^FRANCESCA^^^MRS^^L|16|1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H|+441234567890||||||||||M|196311111513||||en
PV1|1|P|West Wing^RCB-AWRD^BED2^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC|G5612908^Townley^Gregory^^^Dr^^^GMC|C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||19|||C3456789^Darwin^Samuel^^^Dr^^^GMC|PREADMIT|5000106^^^RCB^AN|||||||||||||||||||||||||201011011600||||||2131^^^VISITID^VN
AL1|1|DA|Z88.5|5||199807011755
ZU1||2|C|201011011530||300||||1|||GP|2|201011011624|201011011620|02|Y|0

FHIR Message: hscic-a38-inout

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • NK1-15: NHS Person Gender Code 1 → HL7 Table 0001 M
  • NK1-20: language EN → ISO 639-1 en
  • PV1-19: example amended - Hospital Provider Spell 5000106^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 2131 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (201011011512); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

Pending Event Management [ITI-31]

HSCIC ITK 3.1.2. IHE Pending Event Management Option.

ADT^A14 - Pending Admit

Scenario: Mrs Editestpatient following her outpatient appointment was told she needed to be admitted for further tests. In advance of admitting Mrs Editestpatient, a pending admission was set up in the PAS by Miss Cortana the receptionist, to inform the ward of her arrival so a bed could be prepared. This triggered a A14 HL7 message.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201001231304||ADT^A14^ADT_A05|1340389132045398|P|2.5.1||20100123130456|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201001231300|||OP000123^Cortana^Emily^^Miss^^RCB55|201001231250
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
NK1|2|EDITESTPATIENT^FRANCESCA^^^MRS^^L|16|1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H|+441234567890||||||||||M|196311111513||||en
PV1|23|I|West Wing^RCB-SURGWARD^BED3^RCB55|24|||C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|300|||R|19|||C3456789^Darwin^Samuel^^^Dr^^^GMC|OutpatienttoInpatient|5000108^^^RCB^AN|||||||||||||||||||||||||||||||1115^^^RCB_VISITID^VN||
PV2||||||||201001231700|||||||||||||||||2|||||||||||||C
OBX|1|CE|ID1234567895||CODE6^DETORIATION^CODE_SYSTEM|||N|||Confirmed
AL1|1|DA|Z88.5|5||199807011755
PR1|1||U19.2^24 hour ambulatory electrocardiography^OPCS4||201001221100|D|1440|||||C3456789^Darwin^Samuel^^^Dr^^^GMC|C3|0
ZU1|201001231200|5|C|201001221100||300||||1||||2|||||1|||N
ZU3|004|01|5|||||Normal|8b||1|2
ZU8|U|1|No

FHIR Message: hscic-a14-pending

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • NK1-15: NHS Person Gender Code 1 → HL7 Table 0001 M
  • NK1-20: language EN → ISO 639-1 en
  • PV1-19: example amended - Hospital Provider Spell 5000108^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 1115 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20100123130456); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A15 - Pending Transfer

Scenario: Mrs Editestpatient was due to be transferred to the surgical ward for her interval appendicectomy procedure. In advance of moving Mrs Editestpatient, a pending transfer was set up in the PAS by Miss Cortana the receptionist, to inform the surgical ward. This triggered a A15 HL7 message.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201004141930||ADT^A15^ADT_A15|1340389132045393|P|2.5.1||20100414193036|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201004141930|||OP000123^Cortana^Emily^^Miss^^RCB55|201004141930
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|1|I|West Wing^RCB-SURGWARD^BED3^RCB55|21||West Wing^RCB-WARD1^BED13^RCB55|C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||19|A0||C3456789^Darwin^Samuel^^^Dr^^^GMC|Surgery|5000109^^^RCB^AN|||||||||||||||||||||||||201004141112||||||1114^^^RCB_VISITID^VN||
ZU1||1|C|201004131030||300||||1||||2|||||0
ZU3|004|01|5|||||Normal|8b||1|1
ZU8|U|1|No

FHIR Message: hscic-a15-pending

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000109^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 1114 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20100414193036); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A16 - Pending Discharge

Scenario: Mrs Editestpatient was due to be discharged from care facility. In advance of discharge Mrs Editestpatient, a pending dsicharge was set up in the PAS by Miss Cortana the receptionist, to inform the pharmacy to prepare for discharge. This triggered a A16 HL7 message.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201004141930||ADT^A16^ADT_A16|1340389132045393|P|2.5.1||20100414193036|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201004141930|||OP000123^Cortana^Emily^^Miss^^RCB55|201004141930
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|1|I|West Wing^RECOVERY_WARD^BED3^RCB55|21|||C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||19|A0||C3456789^Darwin^Samuel^^^Dr^^^GMC|Surgery|5000109^^^RCB^AN|||||||||||||||||||||||||201004141112||||||1114^^^RCB_VISITID^VN||
PV2|||||||||201004151130||||||||||||||||2|||||||||||||C
ZU1||1|C|201004131030||300||||1||||2|||||0
ZU3|004|01|5|||||Normal|8b||1|1
ZU8|U|1|No

FHIR Message: hscic-a16-pending

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000109^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 1114 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20100414193036); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A25 - Cancel Pending Discharge

Scenario: Mrs Editestpatient was due to be discharged from recovery ward after her stay in hospital. In advance of moving Mrs Editestpatient, a pending discharge had been set up in the PAS by Miss Cortana the receptionist, to inform the pharmacy. However Dr Darwin the consulting doctor, observed that Mrs Editestpatient may not be discharged on 15th April 2010 1130AM so the pending discharge was cancelled and A25 message is triggered from PAS.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201004142030||ADT^A25^ADT_A21|1340389132045393|P|2.5.1||20100414203036|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201004142030|||OP000123^Cortana^Emily^^Miss^^RCB55|201004142030
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|1|I|West Wing^RECOVERY_WARD^BED3^RCB55|21|||C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||19|A0||C3456789^Darwin^Samuel^^^Dr^^^GMC|Surgery|5000109^^^RCB^AN|||||||||||||||||||||||||201004141112||||||1114^^^RCB_VISITID^VN||
PV2|||||||||||||||||||||||||2|||||||||||||C
ZU1||1|C|201004131030||300||||1||||2|||||0
ZU3|004|01|5|||||Normal|8b||1|1
ZU8|U|1|No

FHIR Message: hscic-a25-pending

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000109^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 1114 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20100414203036); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A26 - Cancel Pending Transfer

Scenario: Mrs Editestpatient was due to be transferred to the surgical ward for her interval appendicectomy procedure. In advance of moving Mrs Editestpatient, a pending transfer had been set up in the PAS by Miss Cortana the receptionist, to inform the surgical ward. However Dr Darwin the consulting doctor, observed that Mrs Editestpatient was improving and may not require surgery after all and so the pending transfer was cancelled so that further tests could be carried out.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201004142100||ADT^A26^ADT_A21|1340389132045393|P|2.5.1||20100414210056|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201004142100|||OP000123^Cortana^Emily^^Miss^^RCB55|201004142100
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|23|I|West Wing^RCB-WARD1^BED13^RCB55|21||West Wing^RCB-SURGWARD^BED3^RCB55|C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||19|A0||C3456789^Darwin^Samuel^^^Dr^^^GMC|Surgery|5000109^^^RCB^AN|||||||||||||||||||||||||201004141112||||||1114^^^RCB_VISITID^VN||
OBX|243|CE|ID55114466||CODE12^IMPROVEMENT^CODE_SYSTEM|||N|||Confirmed|||201004142000||C3456789^Darwin^Samuel^^^Dr^^^GMC
ZU1||1|C|201004131030||300||||1||||2|||||0
ZU3|004|01|5|||||Normal|8b||1|1|OP000123
ZU8|U|1|No

FHIR Message: hscic-a26-pending

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000109^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 1114 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20100414210056); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A27 - Cancel Pending Admit

Scenario: Mrs Editestpatient following her outpatient appointment was told she should be admitted for further tests. In advance of admitting Mrs Editestpatient, a pending admission was set up in the PAS by Miss Cortana the receptionist, to inform the ward of her arrival so a bed could be prepared. However shortly after this, Mrs Editestpatient decided not want to stay in the hospital further and since Dr Darwin had declared Mrs Editestpatient was medically fit, she did not have to be admitted. Miss Cortana cancelled her previous pending admission triggering a A27 HL7 message.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201001231400||ADT^A27^ADT_A21|1340389132045399|P|2.5.1||20100123140050|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201001231345|||OP000123^Cortana^Emily^^Miss^^RCB55|201001231340
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|23|I|West Wing^RCB-SURGWARD^BED3^RCB55|24|||C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|300|||R|19|||C3456789^Darwin^Samuel^^^Dr^^^GMC|OutpatienttoInpatient|5000108^^^RCB^AN|||||||||||||||||||||||||||||||1115^^^RCB_VISITID^VN||
PV2||||||||||||||||||||||||||||||||||||||C
OBX|1|CE|ID1234567895||CODE6^DETORIATION^CODE_SYSTEM|||N|||Confirmed
ZU1|201001231200|5|C|201001221100||300||||1||||2|||||1|||Y
ZU3|004|||||||Normal|8b||1|2|OP000123
ZU8|U|1|No

FHIR Message: hscic-a27-pending

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000108^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 1115 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20100123140050); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

Advanced Encounter Management [ITI-31]

HSCIC ITK 3.1.3. IHE Advanced Encounter Management Option.

ADT^A21 - Leave Of Absence

Scenario: Mrs Editestpatient is allowed to take a leave of absence to return home to Malton following treatment until her next appointment.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201002251034||ADT^A21^ADT_A21|1340389132045390|P|2.5.1||20100225103416|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201002251030|||OP000123^Cortana^Emily^^Miss^^RCB55|201002251000
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1||R|West Wing^RCB-ONC^BED5^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|800|||R|19|A0|||Cancer|5000110^^^RCB^AN|||||||||||||||||||||||||201002251000||||||1164^^^VISITID^VN||
PV2|||Continuation||||||||||||||||||||||3|||||||||||||C
ZU1||5|C|201002251030||800||||1||||2|||||1
ZU3|004|01|5||c|||Normal|8b||1|2
ZU8|U|1|No

FHIR Message: hscic-a21-advanced

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000110^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 1164 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20100225103416); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A22 - Return From Leave Of Absence

Scenario: Mrs Editestpatient returned to York Hospital for another visit to the clinical oncology department to see Dr Darwin. As part of a series of visits, Mrs Editestpatient was allowed to take a leave of absence to return home to Malton following treatment until her next appointment. Mrs Cortana the receptionist, greeted Mrs Editestpatient as she arrived and marked her in the PAS system as returned from leave of absence, triggering an A22 HL7 message.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201002261034||ADT^A22^ADT_A21|1340389132045390|P|2.5.1||201028101716|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201002261030|||OP000123^Cortana^Emily^^Miss^^RCB55|201002261000
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1||R|West Wing^RCB-ONC^BED5^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|800|||R|19|A0|||Cancer|5000110^^^RCB^AN|||||||||||||||||||||||||201002251000||||||1164^^^VISITID^VN||
PV2|||Continuation||||||||||||||||||||||3|||||||||||||C
ZU1||5|C|201002251030||800||||1||||2|||||1
ZU3|004|01|5|||||Normal|8b||1|2
ZU8|U|1|No

FHIR Message: hscic-a22-advanced

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000110^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 1164 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 201028101716 is not a valid date/time
  • MSH-14 Continuation Pointer holds a date/time (201028101716); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A52 - Cancel Leave Of Absence

Scenario: Mrs Editestpatient had been given permission by Dr Darwin to take a leave of absence between her visits to the clinical oncology department. Her leave of absence had been actioned in the system and Mrs Editestpatient was due to go home to Malton. However Dr Darwin observed that her condition had worsened, and that her leave of absence should be cancelled. Mrs Cortana the receptionist, cancelled the leave of absence in the PAS system triggering an A52 HL7 message.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201002251100||ADT^A52^ADT_A52|1340389132045397|P|2.5.1||20100225110016|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201002251100|||OP000123^Cortana^Emily^^Miss^^RCB55|201002251135
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1||R|West Wing^RCB-ONC^BED5^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|800|||R|||||Cancer|5000110^^^RCB^AN|||||||||||||||||||||||||201002251045||||||1164^^^VISITID^VN||
PV2|||Continuation||||||||||||||||||||||3|||||||||||||C
OBX|1|CE|ID1234567890||CODE6^FTCAREADD^CODE_SYSTEM|||N|||Confirmed

FHIR Message: hscic-a52-advanced

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000110^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 1164 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20100225110016); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A53 - Cancel Return From Leave Of Absence

Scenario: Mrs Editestpatient had been given permission by Dr Darwin to take a leave of absence between her visits to the clinical oncology department. She takes the leave, but cancels the original return

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|RCB|ROUTE|ROUTE|201002251100||ADT^A53^ADT_A52|1340389132045397|P|2.5.1||201028101716|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201002251100|||OP000123^Cortana^Emily^^Miss^^RCB55|201002251200
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1||R|West Wing^RCB-ONC^BED5^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|800|||R|||||Cancer|5000110^^^RCB^AN|||||||||||||||||||||||||201002251045||||||1164^^^VISITID^VN||
PV2|||Continuation||||||||||||||||||||||3|||||||||||||C
OBX|1|CE|ID1234567890||CODE6^FTCAREADD^CODE_SYSTEM|||N|||Confirmed

FHIR Message: hscic-a53-advanced

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000110^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 1164 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 201028101716 is not a valid date/time
  • MSH-14 Continuation Pointer holds a date/time (201028101716); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

Encounter Management - Update Master [ITI-31]

Departmental systems (maternity, electronic whiteboard, kiosk) update the PAS. The departmental system acts as Patient Encounter Supplier and the PAS as Patient Encounter Consumer.

ADT^A03 - Discharge Master

Scenario: Mr Editestpatient had driven Mrs Editestpatient to the maternity ward at York Hospital as she had gone into labour. As there was a lack of staff that day, the attending Doctor Dr Samuels was the only person able to assist in the birth. After her successful delivery the baby was born with no issues and Mrs Editestpatient was declared medically fit and ready for discharge home. Using the specialist maternity systems in the maternity ward, Miss Cortana the receptionist processed her discharge. ADT A03 update master message was sent from the Matenrity system to the PAS system.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|MATSYSTEM|RCB|PAS|RCB|201003311730||ADT^A03^ADT_A03|13403891320453338089|P|2.5.1|0|20100331173057|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201003311720|||OP000123^Cortana^Emily^^Miss^^RCB55|201003311725
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|61|O|RCB^MATWRD^Bed 3^RCB55|82|||C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|500||||79|B6||C3456789^Darwin^Samuel^^^Dr^^^GMC|Pregnant|5000111^^^RCB^AN|||||||||||||||||19||||||||201003301100|201003311715|||||11554^^^VISITID^VN
PV2|||Labour||||||||||||||||||||||2|||||||||||||C

FHIR Message: hscic-a03-encounter-master

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000111^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 11554 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (20100331173057); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix
  • PV1-10 Hospital Service 500 is a Main Specialty Code, not a Treatment Function Code

ADT^A04 - Register Outpatient Update Master

Scenario: Mrs Editestpatient is being admitted to hospital following a referral by her GP Dr Townley of the Malton GP Practice. She arrives at York hospital by car, and is put under the care of Dr. Darwin, who also attends to Mrs Editestpatient. Mrs Editestpatient is admitted for an inpatient spell under the speciality General Medicine. She has a recorded allergy to an anaesthetic agent and has been diagnosed with stress incontinence. A colonic examination procedure is then performed.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|KIOSK|RCB|PAS|RCB|201011011512||ADT^A04^ADT_A01|14038913245354|P|2.5.1||201011011512|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201011011512|||OP000123^Cortana^Emily^^Miss^^RCB55|201001111512
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|||GBR||DEU
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
NK1|2|EDITESTPATIENT^FRANCESCA^^^MRS^^L|16|1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H|+441234567890||||||||||M|196311111513||||en
PV1|57|O|West Wing^RCB-AWRD^BED2^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC|G5612908^Townley^Gregory^^^Dr^^^GMC|C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||19|||C3456789^Darwin^Samuel^^^Dr^^^GMC|OUTPATIENT|5000104^^^RCB^AN|||||||||||||||||||||||||201011011600||||||2141^^^VISITID^VN
AL1|1|DA|Z88.5|5||199807011755
PR1|56||U19.2^24 hour ambulatory electrocardiography^OPCS4||201011011512|D|1440|||||C3456789^Darwin^Samuel^^^Dr^^^GMC|C3
ZU1||2|C|201011011530||300||||1|||GP|2|201011011624|201011011620|02|Y|0

FHIR Message: hscic-a04-encounter-master

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • NK1-15: NHS Person Gender Code 1 → HL7 Table 0001 M
  • NK1-20: language EN → ISO 639-1 en
  • PV1-19: example amended - Hospital Provider Spell 5000104^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 2141 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (201011011512); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A13 - Cancel Discharge Master

Scenario: The receptionist in the recovery ward Miss Cortana was tasked with updating the bed board using the electronic whiteboard that had recently been installed. She saw that bed 2 where Mrs Editestpatient was according to the system, was now empty and appeared free. Miss Cortana marked the patient as discharged using the electronic whiteboard. However she then realised that Mrs Editestpatient had been transferred to another ward and not actually discharged after asking another member of staff. Using the bedboard Miss Cortana chose the option to undo the discharge. This sent a A13 message to the PAS system to cancel the discharge.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|ELECWHITEBOARD|RCB|PAS|RCB|201009011806||ADT^A13^ADT_A01|13403891320453338077|P|2.5.1|0|201009011806|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201009011800|||OP000123^Cortana^Emily^^Miss^^RCB55|201009011800
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
NK1|1|EDITESTPATIENT^FRANCESCA^^^MRS^^L|16|1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H|+441234567890||||||||||M|196311111513||||en
PV1|1|I|West Wing^RCB55-RECOVERYWARD^Bed 2^RCB55|13|||C3456789^Darwin^Samuel^^^Dr^^^GMC|G5612908^Townley^Gregory^^^Dr^^^GMC|C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||19|||C3456789^Darwin^Samuel^^^Dr^^^GMC|Surgery|5000111^^^RCB^AN|||||||||||||||||||||||||201008291430||||||11554^^^VISITID^VN
AL1|1|DA|Z88.5|5||199807011755
DG1|1||K35.0^Acute appendicitis with generalized peritonitis^I10||201008301030|A|||||||||1|C3456789^Darwin^Samuel^^^Dr^^^GMC|D|N|201008301200
PR1|1||H02.1^Interval appendicectomy^OPCS4||201008291900|P|98||Y80|30||C3456789^Darwin^Samuel^^^Dr^^^GMC|C3|0|K35.0|||7

FHIR Message: hscic-a13-encounter-master

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • NK1-15: NHS Person Gender Code 1 → HL7 Table 0001 M
  • NK1-20: language EN → ISO 639-1 en
  • PV1-19: example amended - Hospital Provider Spell 5000111^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 11554 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (201009011806); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix
  • DG1-3 ICD-10 code K35.0 is not in current WHO ICD-10 (retired in the 2010 update)

Inpatient / Outpatient Encounter Management - Update Master [ITI-31]

A surgical dashboard updates the PAS with transfers.

ADT^A02 - Transfer Patient Update Master

Scenario: Mrs Editestpatient was to be transferred to the recovery ward following her interval appendicectomy procedure. Following the successful surgery, Dr Darwin, who had performed the procedure, used the functionality of the surgery and anaesthesia dashboard system to transfer the patient to the recovery ward. This triggered a A02 message to the main PAS system.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|SURGDASHBOARD|RCB|PAS|RCB|201011291315||ADT^A02^ADT_A02|13403891320453338079|P|2.5.1|1|201001091806|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201011291315|||445574765^Darwin^Samuels^^Dr^^RCB55|201011291310
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|||GBR||DEU||||ED
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|1|I|West Wing^RCB55-RECOVERYWARD^Bed 8^RCB55|21||West Wing^RCB55-SURGWARD^Bed 2^RCB55|C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||51|||C3456789^Darwin^Samuel^^^Dr^^^GMC|Surgery|5000112^^^RCB^AN|||||||||||||||||||02Z||||||201011291100||||||2347^^^VISITID^VN
PV2||||Recovery
ZU1|201011291100|1|I|201011291130||300||||1
ZU3|004||||||||8b|11|1|1
ZU8|U|1|No|

FHIR Message: hscic-a02-inout-master

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000112^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 2347 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (201001091806); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Dr is in XCN-5 (Suffix); XCN-6 is Prefix

ADT^A12 - Cancel Transfer Patient Update Master

Scenario: Mrs Editestpatient was due to be transferred to the recovery ward following her interval appendicectomy procedure. Just after the procedure had completed as Mrs Editestpatient was being moved, there was a complication and she had to be brought back to the surgical ward. The transfer which had already been recorded on the system had to be cancelled. This was recorded by Dr Darwin, who had performed the procedure, using the surgery and anaesthesia dashboard system used in the theatre to monitor the patient.

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|SURGDASHBOARD|RCB|PAS|RCB|201011291334||ADT^A12^ADT_A09|13403891320453338078|P|2.5.1|2|201001091806|||GBR|UNICODE UTF-8|en||iTKv1.0
EVN||201011291332|||445574765^Darwin^Samuel^^Dr^^RCB55|201011291328
PID|1||9999999557^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198001011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|||GBR||DEU
PD1|||MALTON GP PRACTICE^^Y06601^^^^^^^Y06601|G5612908^Townley^Gregory^^^Dr^^^GMC
PV1|1|I|West Wing^RCB55-SURGWARD^Bed 2^RCB55|21||West Wing^RCB55-RECOVERYWARD^Bed 8^RCB55|C3456789^Darwin^Samuel^^^Dr^^^GMC||C3456789^Darwin^Samuel^^^Dr^^^GMC|300||||51|||C3456789^Darwin^Samuel^^^Dr^^^GMC|Surgery|5000112^^^RCB^AN|||||||||||||||||19|Home|02Z||||||201011291100||||||2347^^^VISITID^VN
DG1|1||K35.0^Acute appendicitis with generalized peritonitis^ICD10||201030081030|A|||||||||1|C3456789^Darwin^Samuel^^^Dr^^^GMC|D|N|201011291200
ZU1|201011291100|1|I|201011291130||300||||1
ZU3|004||||||||8b|11|1|1|445574765
ZU8|U|1|No

FHIR Message: hscic-a12-inout-master

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-18: character set UNICODE → UNICODE UTF-8
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-3: identifier type code (CX-5) NH added for the NHS Number
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: example amended - Hospital Provider Spell 5000112^^^RCB^AN (CX-5 AN), the same in every example about this stay or spell
  • PV1-50: example amended - the HSCIC visit number 2347 moved from PV1-19 to Alternate Visit ID (outpatient attendance or consultant episode)
  • PV1-50: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • MSH-14 Continuation Pointer holds a date/time (201001091806); it should be empty in an unsolicited ADT message
  • MSH-21 is iTKv1.0; HSCIC ITK specifies ITKv1.0
  • EVN-5 Operator ID: prefix Dr is in XCN-5 (Suffix); XCN-6 is Prefix
  • DG1-5 201030081030 is not a valid date/time
  • DG1-3 ICD-10 code K35.0 is not in current WHO ICD-10 (retired in the 2010 update)

Patient Demographic and Visit Queries [PDQ - out of scope]

HSCIC ITK 3.1.5. These are IHE PDQ (ITI-21/ITI-22) style queries. They are shown for completeness and converted to v2.5.1 syntax only; this guide does not profile them.

QBP^Q21 - Query Patient Demographics Q21

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|CarefxITK|ORG1|PAS|ORG1|20100511125610+0100||QBP^Q21^QBP_Q21|04857982024975328990|P|2.5.1|||||GBR||en||ITKv1.0
QPD|Q22^Get Person Demographics|QRY123|112234^^^METRO HOSPITAL|
RCP|I|20^RD

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-19: language EN → ISO 639-1 en

Issues in the original (not changed):

  • QPD-1 Message Query Name is Q22 in a Q21 query

RSP^K21 - Query Patient Demographics K21

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|ORG1|CarefxITK|ORG1|20100511125611||RSP^K21^RSP_K21|306944|P|2.5.1|||||GBR||en||ITKv1.0
MSA|AA|04857982024975328990
QAK|QRY123|OK|Q21^Get Person Demographics||1
QPD|Q21^Get Person Demographics|QRY123|112234^^^METRO HOSPITAL|
PID|1||112234^^^METRO HOSPITAL^MR||Esther^Priya^^^MS^^L||19861129000000|F|||1 Birley Close^Appley Bridge^Wigan^^WN6 9JL^GBR^H^Q31^Lancashire||||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED|
PD1|||ST JOHN'S WOOD MED PRACT^^E87609^^^^^^^E87609|G9312382^Abadi^DI^^^Dr

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: identifier type code (CX-5) MR added
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier

QBP^Q22 - Find Candidates Query Q22

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|CarefxITK|ORG1|PAS|ORG1|20100511125610||QBP^Q22^QBP_Q21|04857982024975328989|P|2.5.1|||||GBR||en||ITKv1.0
QPD|Q22^Find Candidates|QRY12345|@PID.3.1^ORG1790~@PID.3.4^AMRL
RCP|I|20^RD

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-19: language EN → ISO 639-1 en

RSP^K22 - Find Candidates Query K22

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|ORG1|CarefxITK|ORG1|20100511125611||RSP^K22^RSP_K22|306944|P|2.5.1|||||GBR||en||ITKv1.0
MSA|AA|04857982024975328989
QAK|QRY12345|OK|Q22^Find Candidates||1
QPD|Q22^Find Candidates|QRY12345|@PID.3.1^ORG1790~@PID.3.4^AMRL
PID|1||0001000402^^^ORG1_PAS^PAS~ORG1790^^^AMRL^FACIL~10000539^^^ORG1_PATNT_REFNO^PATNT_REFNO||EDITESTPATIENT^TEN^^^MRS^^L|SCHMIDT^HELGAR^Y|198013011515|F|||1 TEST STREET^^BRACKNELL^BERKSHIRE^RG12 9AX^GBR^H||+441234567890||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||ST JOHN'S WOOD MED PRACT^^E87609^^^^^^^E87609|G9312382^Abadi^DI^^^Dr

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-19: language EN → ISO 639-1 en
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier

Issues in the original (not changed):

  • PID-7 196513121515 is not a valid date/time
  • PID-3 identifier type code PAS is not an HL7 Table 0203 value
  • PID-3 identifier type code FACIL is not an HL7 Table 0203 value
  • PID-3 identifier type code PATNT_REFNO is not an HL7 Table 0203 value

QBP^ZV1 - Query Patient Demographics And Visit ZV1

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|CarefxITK|ORG1|PAS|ORG1|20100511125349+0100||QBP^ZV1^QBP_Q21|05164530752532041062|P|2.5.1|||||GBR||en||ITKv1.0
QPD|ZV1^Query Patient Demographics and Encounter|QRY12345|@PV1.2^EQ^O~@PID.3.1^EQ^9999999565~@PID.3.4^EQ^NHS~@PV1.44.1^GE^20090511~@PV2.8.1^LE^20100511
RCP|I|20^RD

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-19: language EN → ISO 639-1 en

RSP^ZV2 - Query Patient Demographics And Visit ZV2

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|PAS|ORG1|CarefxITK|ORG1|20100511125351||RSP^ZV2^RSP_ZV2|306914|P|2.5.1|||||GBR||en||ITKv1.0
MSA|AA|05164530752532041062
QAK|QRY12345|OK|ZV1^Query Patient Demographics and Encounter||4
QPD|ZV1^Query Patient Demographics and Encounter|QRY12345|@PV1.2^EQ^O~@PID.3.1^EQ^9999999565~@PID.3.4^EQ^NHS~@PV1.44.1^GE^20090511~@PV2.8.1^LE^20100511
EVN||201003250915|||OP000123^Cortana^Emily^^Miss^^RCB55|201003250915
PID|1||9999999565^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH~0001000118^^^ORG1_PAS^PAS~363^^^ORG1_AANDE^AANDE~ORG1499^^^AMRL^FACIL~10000104^^^ORG1_PATNT_REFNO^PATNT_REFNO||EDITESTPATIENT^ELEVEN^^^MRS^^L||19690904000000|F|||5 Frog Lane^Wigan^^^WN6 7DE^GBR^H^Q31^Lancashire||||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||CHANDLER HOUSE^^P92653^^^^^^^P92653|G8038090^Dalton^TM^^^Dr
PV1|1|O|BGPCHT^02OP600^^ORG1^^^^^Hematology Clinic||||C25270606^Chu^ching^^^MR^^GMC|G8038090^Dalton^Tm^^^DR^^GMC|C25270606^Chu^ching^^^MR^^GMC|303||||DNA|NSP|||NHS|10000342^^^PiMSOUTPAT^VN^ORG1|||||||||||||||||||||||||20100325091500
PV2||||||||20100325091500|20100325093000
EVN||201002020900|||OP000123^Cortana^Emily^^Miss^^RCB55|201002020900
PID|2||9999999565^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH~0001000118^^^ORG1_PAS^PAS~363^^^ORG1_AANDE^AANDE~ORG1499^^^AMRL^FACIL~101e00000104^^^ORG1_PATNT_REFNO^PATNT_REFNO||EDITESTPATIENT^ELEVEN^^^MRS^^L||19690904000000|F|||5 Frog Lane^Wigan^^^WN6 7DE^GBR^H^Q31^Lancashire||||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||CHANDLER HOUSE^^P92653^^^^^^^P92653|G8038090^Dalton^TM^^^Dr
PV1|2|O|BGPCHT^02OP600^^ORG1^^^^^Hematology Clinic|NSP|||C25270606^Chu^ching^^^MR^^GMC|G8038090^Dalton^Tm^^^DR^^GMC|C25270606^Chu^ching^^^MR^^GMC|303||||DNA|NSP||C25270606^Chu^ching^^^MR^^GMC|NHS|10000138^^^PiMSOUTPAT^VN^ORG1|||||||||||||||||||||||||20100202090000
PV2||||||||20100202090000|20100202091500
EVN||200912120900|||OP000123^Cortana^Emily^^Miss^^RCB55|200912120900
PID|3||9999999565^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH~0001000118^^^ORG1_PAS^PAS~363^^^ORG1_AANDE^AANDE~ORG1499^^^AMRL^FACIL~10000104^^^ORG1_PATNT_REFNO^PATNT_REFNO||EDITESTPATIENT^ELEVEN^^^MRS^^L||19690904000000|F|||5 Frog Lane^Wigan^^^WN6 7DE^GBR^H^Q31^Lancashire||||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||CHANDLER HOUSE^^P92653^^^^^^^P92653|G8038090^Dalton^TM^^^Dr
PV1|3|O|BGPCHT^02OP600^^ORG1^^^^^Hematology Clinic||||C25270606^Chu^ching^^^MR^^GMC|G8038090^Dalton^Tm^^^DR^^GMC|C25270606^Chu^ching^^^MR^^GMC|303||||5|NSP||C25270606^Chu^ching^^^MR^^GMC|NHS|10000137^^^PiMSOUTPAT^VN^ORG1|||||||||||||||||||||||||20091212090000
PV2||||||||20091212090000|20091212091500
EVN||200911120900|||OP000123^Cortana^Emily^^Miss^^RCB55|200911120900
PID|4||9999999565^^^NHS&2.16.840.1.113883.2.1.4.1&ISO^NH~0001000118^^^ORG1_PAS^PAS~363^^^ORG1_AANDE^AANDE~ORG1499^^^AMRL^FACIL~10000104^^^ORG1_PATNT_REFNO^PATNT_REFNO||EDITESTPATIENT^ELEVEN^^^MRS^^L||19690904000000|F|||5 Frog Lane^Wigan^^^WN6 7DE^GBR^H^Q31^Lancashire||||en|M|C22|||||A|Berlin|N||GBR||DEU||||ED
PD1|||CHANDLER HOUSE^^P92653^^^^^^^P92653|G8038090^Dalton^TM^^^Dr
PV1|4|O|EVOP1^02OP600^^ORG1^^^^^Encounter Viewer Trauma Orthopaedic OP Clinic||||OT1^Foster^Helen^^^MS^^GMC|G8038090^Dalton^Tm^^^DR^^GMC|OT1^Foster^Helen^^^MS^^GMC|110||||CANBP|NSP|||NHS|10000033^^^PiMSOUTPAT^VN^ORG1|||||||||||||||||||||||||20091112090000
PV2||||||||20091112090000|20091112091500

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-19: language EN → ISO 639-1 en
  • PID-3: CX-5 NHS → NH for the NHS Number
  • PID-3: NHS Number assigning authority NHS → NHS&2.16.840.1.113883.2.1.4.1&ISO (CX-4)
  • PID-8: NHS Person Gender Code 2 → HL7 Table 0001 F
  • PID-15: language EN → ISO 639-1 en
  • PD1-3: GP Practice code copied from XON-3 to XON-10 Organization Identifier
  • PV1-19: identifier type code (CX-5) VN added

Issues in the original (not changed):

  • EVN-5 Operator ID: prefix Miss is in XCN-5 (Suffix); XCN-6 is Prefix
  • PID-3 identifier type code PAS is not an HL7 Table 0203 value
  • PID-3 identifier type code AANDE is not an HL7 Table 0203 value
  • PID-3 identifier type code FACIL is not an HL7 Table 0203 value
  • PID-3 identifier type code PATNT_REFNO is not an HL7 Table 0203 value

QCN^J01 - Cancel Query J01

HSCIC ITK original (HL7 v2.4): ER7, v2 XML

HL7 v2.5.1

MSH|^~\&|CarefxITK|ORG1|PAS|ORG1|20100511125349+0100||QCN^J01^QCN_J01|786253732041069|P|2.5.1|||||GBR||en||ITKv1.0
QID|QRY12345|ZV1^Query Patient Demographics and Encounter

Changes:

  • MSH-12: version 2.4 → 2.5.1
  • MSH-19: language EN → ISO 639-1 en