Packages

ISO/HL7 FHIR Application Server

Current section

Files

Jump to
hl7 priv samples Task Task-example1.json
Raw

priv/samples/Task/Task-example1.json

{"resourceType":"Task","id":"example1","text":{"status":"generated","div":"\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp\u003e\u003cb\u003eGenerated Narrative: Task\u003c/b\u003e\u003ca name\u003d\"example1\"\u003e \u003c/a\u003e\u003c/p\u003e\u003cdiv style\u003d\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"\u003e\u003cp style\u003d\"margin-bottom: 0px\"\u003eResource Task \u0026quot;example1\u0026quot; \u003c/p\u003e\u003c/div\u003e\u003cp\u003e\u003cb\u003eidentifier\u003c/b\u003e: id: 20170201-001 (use: OFFICIAL)\u003c/p\u003e\u003cp\u003e\u003cb\u003ebasedOn\u003c/b\u003e: \u003cspan\u003e: General Wellness Careplan\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003egroupIdentifier\u003c/b\u003e: id: G20170201-001 (use: OFFICIAL)\u003c/p\u003e\u003cp\u003e\u003cb\u003estatus\u003c/b\u003e: in-progress\u003c/p\u003e\u003cp\u003e\u003cb\u003ebusinessStatus\u003c/b\u003e: \u003cspan title\u003d\" fictive business status populated for this example \"\u003ewaiting for specimen \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e ()\u003c/span\u003e\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eintent\u003c/b\u003e: order\u003c/p\u003e\u003cp\u003e\u003cb\u003epriority\u003c/b\u003e: routine\u003c/p\u003e\u003cp\u003e\u003cb\u003ecode\u003c/b\u003e: \u003cspan title\u003d\" fictive code and description elements populated for this example \"\u003eLipid Panel \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"codesystem-task-code.html\"\u003eTask Codes\u003c/a\u003e#fulfill)\u003c/span\u003e\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003edescription\u003c/b\u003e: Create order for getting specimen, Set up inhouse testing, generate order for any sendouts and submit with specimen\u003c/p\u003e\u003cp\u003e\u003cb\u003efocus\u003c/b\u003e: \u003cspan title\u003d\" \tUse the lipid servicerequest example \"\u003e\u003ca href\u003d\"servicerequest-example-lipid.html\"\u003eServiceRequest/lipid: Lipid Panel Request\u003c/a\u003e\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003efor\u003c/b\u003e: \u003cspan title\u003d\" \twho the task is for\n \"\u003e\u003ca href\u003d\"patient-example.html\"\u003ePatient/example: Peter James Chalmers\u003c/a\u003e \u0026quot;Peter CHALMERS\u0026quot;\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eencounter\u003c/b\u003e: \u003ca href\u003d\"encounter-example.html\"\u003eEncounter/example: Example In-Patient Encounter\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eexecutionPeriod\u003c/b\u003e: \u003cspan title\u003d\" \tLots of dates \"\u003e2016-10-31T08:25:05+10:00 --\u0026gt; (ongoing)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eauthoredOn\u003c/b\u003e: 2016-10-31T08:25:05+10:00\u003c/p\u003e\u003cp\u003e\u003cb\u003elastModified\u003c/b\u003e: 2016-10-31T09:45:05+10:00\u003c/p\u003e\u003cp\u003e\u003cb\u003erequester\u003c/b\u003e: \u003ca href\u003d\"practitioner-example.html\"\u003ePractitioner/example: Dr Adam Careful\u003c/a\u003e \u0026quot;Adam CAREFUL\u0026quot;\u003c/p\u003e\u003ch3\u003eRequestedPerformers\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eConcept\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003ePerformer \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"https://browser.ihtsdotools.org/\"\u003eSNOMED CT\u003c/a\u003e#18850004 \u0026quot;Laboratory hematologist\u0026quot;)\u003c/span\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003cp\u003e\u003cb\u003eowner\u003c/b\u003e: \u003ca href\u003d\"organization-example-lab.html\"\u003eOrganization/1832473e-2fe0-452d-abe9-3cdb9879522f: Clinical Laboratory @ Acme Hospital\u003c/a\u003e \u0026quot;Clinical Lab\u0026quot;\u003c/p\u003e\u003ch3\u003eReasons\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eConcept\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eThe Task.reason should only be included if there is no Task.focus or if it differs from the reason indicated on the focus \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e ()\u003c/span\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003cp\u003e\u003cb\u003enote\u003c/b\u003e: This is an example to demonstrate using task for actioning a servicerequest and to illustrate how to populate many of the task elements - this is the parent task that will be broken into subtask to grab the specimen and a sendout lab test\u003c/p\u003e\u003cp\u003e\u003cb\u003erelevantHistory\u003c/b\u003e: \u003cspan title\u003d\" \tadd the link to the signature on the task to show how this element is usedemonstrating in this example the relevant history element using a contained resource for the purpose of this example only typically would reference an external resource\n\n \"\u003e\u003ca name\u003d\"signature\"\u003e \u003c/a\u003e\u003c/span\u003e\u003c/p\u003e\u003cblockquote\u003e\u003cp/\u003e\u003cp\u003e\u003ca name\u003d\"signature\"\u003e \u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003etarget\u003c/b\u003e: \u003ca href\u003d\"servicerequest-example2.html\"\u003eServiceRequest/physiotherapy/_history/1\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003erecorded\u003c/b\u003e: 31 Oct 2016, 9:25:05 am\u003c/p\u003e\u003ch3\u003eAgents\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eRole\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eWho\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eauthor (originator) \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-ParticipationType.html\"\u003eParticipationType\u003c/a\u003e#AUT)\u003c/span\u003e\u003c/td\u003e\u003ctd\u003e\u003ca href\u003d\"practitioner-example-f202-lm.html\"\u003ePractitioner/f202: Luigi Maas\u003c/a\u003e \u0026quot;Luigi Maas\u0026quot;\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003ch3\u003eSignatures\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eType\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eWhen\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eWho\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eTargetFormat\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eSigFormat\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eData\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eAuthor\u0027s Signature (Details: urn:iso-astm:E1762-95:2013 code 1.2.840.10065.1.12.1.1 \u003d \u0027Author\u0027s Signature\u0027, stated as \u0027Author\u0027s Signature\u0027)\u003c/td\u003e\u003ctd\u003e31 Oct 2016, 9:25:05 am\u003c/td\u003e\u003ctd\u003e\u003ca href\u003d\"practitioner-example.html\"\u003ePractitioner/example: Dr Adam Careful\u003c/a\u003e \u0026quot;Adam CAREFUL\u0026quot;\u003c/td\u003e\u003ctd\u003eapplication/fhir+xml\u003c/td\u003e\u003ctd\u003eapplication/signature+xml\u003c/td\u003e\u003ctd\u003edGhpcyBibG9iIGlzIHNuaXBwZWQ\u003d\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003ch3\u003eRestrictions\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eRepetitions\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003ePeriod\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003e1\u003c/td\u003e\u003ctd\u003e?? --\u0026gt; 2016-11-02T09:45:05+10:00\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/div\u003e"},"contained":[{"resourceType":"Provenance","id":"signature","target":[{"reference":"ServiceRequest/physiotherapy/_history/1"}],"recorded":"2016-10-31T08:25:05+10:00","agent":[{"role":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}],"who":{"reference":"Practitioner/f202","display":"Luigi Maas"}}],"signature":[{"type":[{"system":"urn:iso-astm:E1762-95:2013","code":"1.2.840.10065.1.12.1.1","display":"Author\u0027s Signature"}],"when":"2016-10-31T08:25:05+10:00","who":{"reference":"Practitioner/example","display":"Dr Adam Careful"},"targetFormat":"application/fhir+xml","sigFormat":"application/signature+xml","data":"dGhpcyBibG9iIGlzIHNuaXBwZWQ\u003d"}]}],"identifier":[{"use":"official","system":"http:/goodhealth.org/identifiers","value":"20170201-001"}],"basedOn":[{"display":"General Wellness Careplan"}],"groupIdentifier":{"use":"official","system":"http:/goodhealth.org/accession/identifiers","value":"G20170201-001"},"status":"in-progress","businessStatus":{"text":"waiting for specimen"},"intent":"order","priority":"routine","code":{"coding":[{"system":"http://hl7.org/fhir/CodeSystem/task-code","code":"fulfill"}],"text":"Lipid Panel"},"description":"Create order for getting specimen, Set up inhouse testing, generate order for any sendouts and submit with specimen","focus":{"reference":"ServiceRequest/lipid","display":"Lipid Panel Request"},"for":{"reference":"Patient/example","display":"Peter James Chalmers"},"encounter":{"reference":"Encounter/example","display":"Example In-Patient Encounter"},"executionPeriod":{"start":"2016-10-31T08:25:05+10:00"},"authoredOn":"2016-10-31T08:25:05+10:00","lastModified":"2016-10-31T09:45:05+10:00","requester":{"reference":"Practitioner/example","display":"Dr Adam Careful"},"requestedPerformer":[{"concept":{"coding":[{"system":"http://snomed.info/sct","code":"18850004","display":"Laboratory hematologist"}],"text":"Performer"}}],"owner":{"reference":"Organization/1832473e-2fe0-452d-abe9-3cdb9879522f","display":"Clinical Laboratory @ Acme Hospital"},"reason":[{"concept":{"text":"The Task.reason should only be included if there is no Task.focus or if it differs from the reason indicated on the focus"}}],"note":[{"text":"This is an example to demonstrate using task for actioning a servicerequest and to illustrate how to populate many of the task elements - this is the parent task that will be broken into subtask to grab the specimen and a sendout lab test"}],"relevantHistory":[{"reference":"#signature","display":"Author\u0027s Signature"}],"restriction":{"repetitions":1,"period":{"end":"2016-11-02T09:45:05+10:00"}},"meta":{"tag":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ActReason","code":"HTEST","display":"test health data"}]}}