Digital Health Checks
DHC Acknowledgements
Important: The Acknowledgement Framework is currently a draft version. Please contact the
Interoperability Standards Team if you are interested to discuss this solution for your use case.
Background
This page outlines the sequence and use cases for sending acknowledgements upon receipt of a Digital Health Check. This includes positive and negative acknowledgement responses.
This use case uses the Messaging paradigm within FHIR for ACKs.
For the MNS event notification schema, please see MNS Event Schema (replace with link to published DHC event schema)
For the DHC payload, please see TBC Page Link for DHC IG/Examples
Sequence Diagram
Acknowledgement Examples
Element population
DHC Acnkowledgements SHALL contain the MessageHeader.eventCoding.code=nhshco-hc-complete-1-ack-1.
Destination.endpoint SHALL point to the DHC endpoint (TBC ).
sender SHALL contain the ODS code of the sending organisation.
source SHALL contain the details of the sending system/application.
response.identifier SHALL reference the id of the DHC bundle this acknowledgement is in response to
The acknowledgment SHALL contain an OperationOutcome referenced from MessageHeader.response.details.reference
The OperationOutcome shall contain an appropriate code to represent the success or failure of the DHC processing operation.
Successful Acknowledgement for DHC
JSON
XML
< Bundle xmlns = " http://hl7.org/fhir " >
< id value = " bf05c76a-2bf1-4756-857d-527a4cfd6d4f " />
< fullUrl value = " urn:uuid:7c451367-d637-4fe7-9eab-140e743b88b3 " />
< MessageHeader >
< id value = " 7c451367-d637-4fe7-9eab-140e743b88b3 " />
< system value = " https://fhir.nhs.uk/CodeSystem/message-event " />
< code value = " nhshco-hc-complete-1-ack-1 " />
< display value = " NHS Health Check online service event " />
</ eventCoding >
< name value = " Digital Health Check online " />
< endpoint value = " https://destination.nhs.uk/api " />
</ destination >
< system value = " https://fhir.nhs.uk/Id/ods-organization-code " />
< value value = " B86051001 " />
</ identifier >
</ sender >
< name value = " GP Practice System " />
< value value = " support@tpp-uk.com " />
</ contact >
< endpoint value = " https://api.tpp-uk.com/fhir/R4 " />
</ source >
< reference value = " urn:uuid:8283e341-67ae-48e7-b3ae-2c6a0a824b2c " />
</ details >
</ response >
</ MessageHeader >
</ resource >
</ entry >
< fullUrl value = " urn:uuid:8283e341-67ae-48e7-b3ae-2c6a0a824b2c " />
< OperationOutcome >
< id value = " 8283e341-67ae-48e7-b3ae-2c6a0a824b2c " />
< code value = " informational " />
< system value = " https://fhir.nhs.uk/CodeSystem/AcknowledgementFrameworkResponseCode " />
< code value = " TECHNICAL_SUCCESS " />
< display value = " Request successfully received " />
</ coding >
</ details >
</ issue >
</ OperationOutcome >
</ resource >
</ entry >
</ Bundle >
{
" id " : " bf05c76a-2bf1-4756-857d-527a4cfd6d4f " ,
{
" fullUrl " : " urn:uuid:7c451367-d637-4fe7-9eab-140e743b88b3 " ,
" id " : " 7c451367-d637-4fe7-9eab-140e743b88b3 " ,
" system " : " https://fhir.nhs.uk/CodeSystem/message-event " ,
" code " : " nhshco-hc-complete-1-ack-1 " ,
" display " : " NHS Health Check online service event "
} ,
{
" name " : " Digital Health Check online " ,
" endpoint " : " https://destination.nhs.uk/api "
}
] ,
" system " : " https://fhir.nhs.uk/Id/ods-organization-code " ,
}
} ,
" name " : " GP Practice System " ,
" value " : " support@tpp-uk.com "
} ,
" endpoint " : " https://api.tpp-uk.com/fhir/R4 "
} ,
" reference " : " urn:uuid:8283e341-67ae-48e7-b3ae-2c6a0a824b2c "
}
}
}
} ,
{
" fullUrl " : " urn:uuid:8283e341-67ae-48e7-b3ae-2c6a0a824b2c " ,
" id " : " 8283e341-67ae-48e7-b3ae-2c6a0a824b2c " ,
{
{
" system " : " https://fhir.nhs.uk/CodeSystem/AcknowledgementFrameworkResponseCode " ,
" code " : " TECHNICAL_SUCCESS " ,
" display " : " Request successfully received "
}
]
}
}
]
}
}
]
}
Failure Acknowledgement for DHC
JSON
XML
< Bundle xmlns = " http://hl7.org/fhir " >
< id value = " fd7dd817-2e45-47ea-8881-6c511fe3bcdf " />
< fullUrl value = " urn:uuid:5e2fbda7-cf38-4439-b7bd-de0c6dbb9d73 " />
< MessageHeader >
< id value = " 5e2fbda7-cf38-4439-b7bd-de0c6dbb9d73 " />
< system value = " https://fhir.nhs.uk/CodeSystem/message-event " />
< code value = " nhshco-hc-complete-1-ack-1 " />
< display value = " NHS Health Check online service event " />
</ eventCoding >
< name value = " Digital Health Check online " />
< endpoint value = " https://destination.nhs.uk/api " />
</ destination >
< system value = " https://fhir.nhs.uk/Id/ods-organization-code " />
< value value = " B86051001 " />
</ identifier >
</ sender >
< name value = " GP Practice System " />
< value value = " support@tpp-uk.com " />
</ contact >
< endpoint value = " https://api.tpp-uk.com/fhir/R4 " />
</ source >
< code value = " fatal-error " />
< reference value = " urn:uuid:791cd4ef-ad5b-435e-bac0-88ffaad994d7 " />
</ details >
</ response >
</ MessageHeader >
</ resource >
</ entry >
< fullUrl value = " urn:uuid:791cd4ef-ad5b-435e-bac0-88ffaad994d7 " />
< OperationOutcome >
< id value = " 791cd4ef-ad5b-435e-bac0-88ffaad994d7 " />
< code value = " required " />
< system value = " https://fhir.nhs.uk/CodeSystem/AcknowledgementFrameworkResponseCode " />
< code value = " MSG_RESOURCE_ID_MISSING " />
< display value = " Resource Id Missing " />
</ coding >
</ details >
< diagnostics value = " Element Bundle.entry[1].id is missing " />
</ issue >
</ OperationOutcome >
</ resource >
</ entry >
</ Bundle >
{
" id " : " fd7dd817-2e45-47ea-8881-6c511fe3bcdf " ,
{
" fullUrl " : " urn:uuid:5e2fbda7-cf38-4439-b7bd-de0c6dbb9d73 " ,
" id " : " 5e2fbda7-cf38-4439-b7bd-de0c6dbb9d73 " ,
" system " : " https://fhir.nhs.uk/CodeSystem/message-event " ,
" code " : " nhshco-hc-complete-1-ack-1 " ,
" display " : " NHS Health Check online service event "
} ,
{
" name " : " Digital Health Check online " ,
" endpoint " : " https://destination.nhs.uk/api "
}
] ,
" system " : " https://fhir.nhs.uk/Id/ods-organization-code " ,
}
} ,
" name " : " GP Practice System " ,
" value " : " support@tpp-uk.com "
} ,
" endpoint " : " https://api.tpp-uk.com/fhir/R4 "
} ,
" reference " : " urn:uuid:791cd4ef-ad5b-435e-bac0-88ffaad994d7 "
}
}
}
} ,
{
" fullUrl " : " urn:uuid:791cd4ef-ad5b-435e-bac0-88ffaad994d7 " ,
" id " : " 791cd4ef-ad5b-435e-bac0-88ffaad994d7 " ,
{
{
" system " : " https://fhir.nhs.uk/CodeSystem/AcknowledgementFrameworkResponseCode " ,
" code " : " MSG_RESOURCE_ID_MISSING " ,
}
]
} ,
" diagnostics " : " Element Bundle.entry[1].id is missing " ,
]
}
]
}
}
]
}