The Placer ID (SCH-1.1) is used to identify the appointment.
If the appointment to be cancelled is not known to PKB, then a new appointment will first be created with the provided information, before then being cancelled. To allow the appointment to be created the S15 message will need to include the additional mandatory elements as detailed in the S12 specification.
Appointment information is used to populate [[Appointment]] entities
Please click through to the Data Model to explore the presentation of these entities in the web interface.
[[Appointment]]
Matched on: [[Appointment.External Data Point ID]] as derived from SCH-1.1
When matched: [[Appointment.Status]] set to Cancelled. The other details of the appointment are not updated.
When not matched: New [[Appointment]] created (and immediately cancelled). In this scenario the S15 message will need to conform to the S12 specification to first create the [[Appointment]]. If it does not then PKB will respond with an AR rejection message.
MSH|^~\&|app|sender|HL7API|PKB|201303080949||SIU^S15|ABC0000000001|P|2.4
PID|||9999999999^^^NHS^NH||Smith^John^Joe^^Mr||19700101|M|||Flat name^1, The Road^London^London^SW1A 1AA^GBR||01234567890^PRN~07123456789^PRS|^NET^^john.smith@company.com~01234098765^WPN||||||||||||||||N|
SCH|ID123
PKB will respond with a standard HL7 acknowledgement.