Versions Compared

Key

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

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

...

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


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

...

When a Task is created by the Processing Service, it is in status "readyrequested". When the Task is accepted by a Practitioner, it must be changed to status "accepted" (see owner)

intent

Is set to "orderplan" from the Processing Service

priority

The rules for the ActivityDefinition/ServiceRequest decides a priority statically, since there is no measurement to triage. 
A missing weight Observation might be less important than a missing blood pressure Observation.

Is set to "routine"

description

The text description of what needs to be done.

focus

Is not present since a measurement has not been received and therefore there is no ClinicalImpression.a reference to the ServiceRequest containting the measurement regime

owner

The Practitioner that has accepted the Task (see status)

...

Code Block
languagejava
titleTask example in JSON
{
    "resourceType": "BundleTask",
    "typeid": "transaction3712",
    "entrymeta": [
        {
            "fullUrlversionId": "Task1",
   
        "resourcelastUpdated": {
    "2022-06-28T01:30:38.956+00:00",
           "resourceTypeprofile": "Task",["http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task"]
         },
      "metaextension": {
                  
   [{
              "profileurl": [                     "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-episodeOfCare",
            "valueReference": {
    ]                 },
                "extension": ["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-taskrestriction-responsiblecategory",
            "valueCodeableConcept": {
      "valueReference          "coding": [{
                        "referencesystem": "http://vendortest2.ehealth.sundhed.dk/organization/fhir/CareTeam/60"cs/restriction-category",
                    }    "code": "measurement-monitoring",
             }           "display": "Monitoring of measurement(s)"
  ],                 "language": "da", }
                "status": "ready",]
            }
    "intent": "order",   }, {
            "priorityurl": "routine",
   http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible",
            "ownervalueReference": {
 
                  "reference": "httphttps://vendortest2organization.devenvcgi.ehealth.sundhed.dk/organization/fhir/PractitionerCareTeam/59118323"
            }
   },     }, {
            "descriptionurl": "Der er manglende målinger i henhold til måleregimet.http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible",
                "contextvalueReference": {
 
                "reference": "httphttps://vendortest2organization.devenvcgi.ehealth.sundhed.dk/hapi-fhir-server/fhir/EpisodeOfCareCareTeam/67119081"
   
            }
        }
     }],
       "status": "requested",
    "requestintent": {"plan",
           "priority": "routine",
    "methoddescription": "POST"Forventede 1 målinger, men fandt 0 i perioden fra Mon Jun 27 00:00:00 GMT 2022 til Tue Jun  "url": "Task"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"
}