Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Note

Latest profile of Task: http://ehealth-documentation.s3-website-eu-west-1.amazonaws.com/latest/ig/StructureDefinition-ehealth-task.html

Tasks are currently only generated by the Processing Service, but can be stubbed using the test-only-create operation:

Example endpoint to the eHealth stub: 
http://vendortest2.ehealth.sundhed.dk/hapi-fhir-server/fhir/$test-only-create (POST only)

When a Task is created for resolving a missing measurement, a corresponding ClinicalImpression will not be available.

...

The type of Task. The example shows a "MissingMeasurementResolving" task.

See the API documentation for other Task categories.

...

Is a reference to the ServiceRequest containting containing the measurement regime

owner

The Practitioner that has accepted the Task (see status)

Task example in JSON

Code Block
languagejavatitleTask example in JSONjson
{
    "resourceType": "Task",
    "id": "3712",
    "meta": {
        "versionId": "1",
        "lastUpdated": "2022-06-28T01:30:38.956+00:00",
        "profile": ["http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task"]
    },
    "extension": [{
            "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-episodeOfCare",
            "valueReference": {
                "reference": "https://careplan.devenvcgi.ehealth.sundhed.dk/fhir/EpisodeOfCare/5258"
            }
        }, {
            "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category",
            "valueCodeableConcept": {
                "coding": [{
                        "system": "http://ehealth.sundhed.dk/cs/task-category",
                        "code": "MissingMeasurementResolving",
                        "display": "Need resolving of why scheduled measurement has not been submitted"
                    }
                ]
            }
        }, {
            "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category",
            "valueCodeableConcept": {
                "coding": [{
                        "system": "http://ehealth.sundhed.dk/cs/restriction-category",
                        "code": "measurement-monitoring",
                        "display": "Monitoring of measurement(s)"
                    }
                ]
            }
        }, {
            "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible",
            "valueReference": {
                "reference": "https://organization.devenvcgi.ehealth.sundhed.dk/fhir/CareTeam/118323"
            }
        }, {
            "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible",
            "valueReference": {
                "reference": "https://organization.devenvcgi.ehealth.sundhed.dk/fhir/CareTeam/119081"
            }
        }
    ],
    "status": "requested",
    "intent": "plan",
    "priority": "routine",
    "description": "Forventede 1 målinger, men fandt 0 i perioden fra Mon Jun 27 00:00:00 GMT 2022 til Tue Jun 28 00:00:00 GMT 2022",
    "focus": {
        "reference": "https://careplan.devenvcgi.ehealth.sundhed.dk/fhir/ServiceRequest/17394"
    },
    "authoredOn": "2022-06-28T01:30:38+00:00"
}

...