D2A Child Task

The Child Task is a composite part of the Parent Task, and is used to record progress and outcome of the parent.

Each Organization can choose to maintain task progress (i.e. D2A Child Tasks) either manually in the Notts Care Record Portal, or automatically via their Line of Business Systems. Whilst the latter will generally be preferable, it will require development / support from ICT Integration teams, which is why the manual option may be required in the short to medium term.

Hospital Trusts who wish to view progress of ToC Hub activities in their LoBS (e.g. Nervecentre), can subscribe to D2A Child Tasks to receive updates when they are created/changed in order to automatically update their local systems.

The D2A Child Task Plan will comprise of the following attributes:

Attribute Cardinality Type Details
meta.profile 1..1 url Fixed: https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Task-1
id 1..1 string Unique id for updates and referencing
parOf 1..1 Reference Reference to the D2A Parent Task that the Child Task is part of
status 1..1 code 'in-progress' when the task is created
'completed' when the task is complete
'rejected' if the LoBS suggests the Task is no longer appropriate. Note: Where the Child Task is rejected by the LoBS, the D2A Parent Task will need to be Cancelled in the NCR with the reason.
intent 1..1 code Fixed: plan
code.coding 1..1 code Fixed:
"system": "https://fhir.nottscr.nhs.uk/CodeSystem/D2A-ArtifactCode-1",
"code": "d2a-childTask",
"display": "D2A Child Task"
executionPeriod.start n/a DateTime The period start will be derived from the parent task
executionPeriod.end 0..1 DateTime When the D2A Parent Task was completed or rejected
authoredOn 1..1 DateTime When the task was created in the relevant system
lastModified 1..1 DateTime When the task was last updated in the relevant system
note 0..1 Annotation Comments made about the task
output:plannedDischargeDate 0..1 DateTime Discharge Date that the child task owner organisation is working to. This will be used by the Hospitals to update the Hub Planned Discharge Date field on Nervecentre
output:plannedServiceStartDateTime 0..1 DateTime Date the service that has been arranges is due to commence. This will be used by the Hospitals to update the Hub Planned Service Start Date field on Nervecentre
output:serviceProvider 0..1 Code/String Details of which service / provider has been arranges for the Patient. This will be used to update the Hub Provider and Community Service Provider fields in Nervecentre depending on whether the task owner is a Social Care or Community Health Organization
output:bridgingSupport 0..1 Code/String Details of any bridging support arranged, i.e. for when the Planned Discharge Date is before the Panned Service Start Date. This will be used by the Hospitals to update the Uncommissioned Bridging Support field on Nervecentre
output:idealService 0..1 Code/String Used by owner Organization to record when the ideal services would have been, when an alternate service was arranged instead (e.g. due of lack of capacity)

Example

Example of a D2A Child Task:

{
    "resourceType": "Task",
    "meta": {
        "profile":  [
            "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Task-1"
        ],
        "tag":  [
            {
                "code": "D2A"
            }
        ]
    },
    "id": "D2A-Child-Task-Example",
    "partOf": {
        "reference": "Task/NCR.D2A-Parent-Task-Example"
    },
    "status": "completed",
    "intent": "plan",
    "code": {
        "coding":  [
            {
                "system": "https://fhir.nottscr.nhs.uk/CodeSystem/D2A-ArtifactCode-1",
                "code": "d2a-childTask",
                "display": "D2A Child Task"
            }
        ]
    },
    "for": {
        "reference": "Patient/9999999999"
    },
    "executionPeriod": {
        "end": "2023-12-18T13:03:21+00:00"
    },
    "authoredOn": "2023-12-14T17:53:18+00:00",
    "note":  [
        {
            "authorString": "Name of author",
            "time": "2023-12-15T10:33:17+00:00",
            "text": "Note 1 on child task ... Notes added by LoBS, might not reference a practioner"
        },
        {
            "authorString": "Name of author",
            "time": "2023-12-15T10:33:17+00:00",
            "text": "Note 2 on child task ..."
        }
    ],
    "output":  [
        {
            "type": {
                "coding":  [
                    {
                        "system": "https://fhir.yhcr.nhs.uk/CodeSystem/D2A-OutputType-1",
                        "code": "plannedDischargeDate"
                    }
                ]
            },
            "valueDateTime": "2023-12-18"
        },
        {
            "type": {
                "coding":  [
                    {
                        "system": "https://fhir.yhcr.nhs.uk/CodeSystem/D2A-OutputType-1",
                        "code": "plannedServiceStartDateTime"
                    }
                ]
            },
            "valueDateTime": "2023-12-19T14:00:00+00:00"
        },
        {
            "type": {
                "coding":  [
                    {
                        "system": "https://fhir.yhcr.nhs.uk/CodeSystem/D2A-OutputType-1",
                        "code": "serviceProvider"
                    }
                ]
            },
            "valueCodeableConcept": {
                "text": "HomeFirst Service"
            }
        },
        {
            "type": {
                "coding":  [
                    {
                        "system": "https://fhir.yhcr.nhs.uk/CodeSystem/D2A-OutputType-1",
                        "code": "bridgingSupport"
                    }
                ]
            },
            "valueCodeableConcept": {
                "text": "Family to provide BridgingSupport on 18th Dec"
            }
        },
        {
            "type": {
                "coding":  [
                    {
                        "system": "https://fhir.yhcr.nhs.uk/CodeSystem/D2A-OutputType-1",
                        "code": "idealService"
                    }
                ]
            },
            "valueCodeableConcept": {
                "text": "START Reablement ... not required in UI"
            }
        }
    ]
}

D2A Home