Amakomaya Nepal FHIR Implementation Guide
2.0.0 - ci-build Nepal

Amakomaya Nepal FHIR Implementation Guide - Local Development build (v2.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: ReminderTaskProfile - TTL Profile

Active as of 2026-08-21

TTL representation of the reminder-task resource profile.

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

    <http://hl7.org/fhir/StructureDefinition/reminder-task> a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "reminder-task"] ; #
      fhir:text [
         fhir:status [ fhir:v "extensions" ] ;
         fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition reminder-task</b></p><a name=\"reminder-task\"> </a><a name=\"hcreminder-task\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-reminder-task-definitions.html#Task\">Task</a><a name=\"Task\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/6.0.0-ballot5/task.html\">Task</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A task to be performed</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-reminder-task-definitions.html#Task.description\">description</a><a name=\"Task.description\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/datatypes.html#markdown\">markdown</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Human-readable explanation of task</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-reminder-task-definitions.html#Task.executionPeriod\">executionPeriod</a><a name=\"Task.executionPeriod\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/datatypes.html#Period\">Period</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Start and end time of execution</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-reminder-task-definitions.html#Task.authoredOn\">authoredOn</a><a name=\"Task.authoredOn\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Task Creation Date</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-reminder-task-definitions.html#Task.requester\">requester</a><a name=\"Task.requester\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/6.0.0-ballot5/references.html\">Reference</a>(<a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/device.html\">Device</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/group.html\">Group</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/organization.html\">Organization</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/patient.html\">Patient</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/practitioner.html\">Practitioner</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/practitionerrole.html\">PractitionerRole</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/relatedperson.html\">RelatedPerson</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Who is asking for task to be done</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-reminder-task-definitions.html#Task.input\">input</a><a name=\"Task.input\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/types.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Information used to perform task</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck003.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic; font-style: italic\" href=\"StructureDefinition-reminder-task-definitions.html#Task.input.value[x]\">Slices for value[x]</a><a name=\"Task.input.value_x_\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\"/><span style=\"opacity: 0.5; font-style: italic\">1</span><span style=\"opacity: 0.5; font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/6.0.0-ballot5/datatypes.html#Timing\">Timing</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5; font-style: italic\">Content to use in performing the task</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by type:$this</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0025.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-reminder-task-definitions.html#Task.input.value[x]:valueTiming\" title=\"Slice valueTiming\">value[x]:valueTiming</a><a name=\"Task.input.value_x_:valueTiming\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/6.0.0-ballot5/datatypes.html#Timing\">Timing</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Content to use in performing the task</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00241.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-reminder-task-definitions.html#Task.input.value[x]:valueTiming.repeat\">repeat</a><a name=\"Task.input.value_x_:valueTiming.repeat\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck002410.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-reminder-task-definitions.html#Task.input.value[x]:valueTiming.repeat.frequency\">frequency</a><a name=\"Task.input.value_x_:valueTiming.repeat.frequency\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/datatypes.html#positiveInt\">positiveInt</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Indicates the number of repetitions that should occur within a period. I.e. Event occurs frequency times per period</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck002410.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-reminder-task-definitions.html#Task.input.value[x]:valueTiming.repeat.period\">period</a><a name=\"Task.input.value_x_:valueTiming.repeat.period\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/datatypes.html#decimal\">decimal</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The duration to which the frequency applies. I.e. Event occurs frequency times per period</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck002400.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-reminder-task-definitions.html#Task.input.value[x]:valueTiming.repeat.periodUnit\">periodUnit</a><a name=\"Task.input.value_x_:valueTiming.repeat.periodUnit\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">s | min | h | d | wk | mo | a - unit of time (UCUM)</span></td></tr>#xD;\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:url [
         fhir:v "https://fhir.amakomaya.com/StructureDefinition/reminder-task"^^xsd:anyURI ;
         fhir:l <https://fhir.amakomaya.com/StructureDefinition/reminder-task>
      ] ; #
      fhir:version [ fhir:v "2.0.0"] ; #
      fhir:name [ fhir:v "ReminderTaskProfile"] ; #
      fhir:title [ fhir:v "Reminder Task"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:date [ fhir:v "2026-08-21T17:27:40+05:45"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "Amakomaya Nepal"] ; #
      fhir:contact ( [
         fhir:name [ fhir:v "Amakomaya Nepal" ] ;
         fhir:telecom ( [
           fhir:system [ fhir:v "url" ] ;
           fhir:value [ fhir:v "https://amakomaya.com" ]
         ] [
           fhir:system [ fhir:v "email" ] ;
           fhir:value [ fhir:v "info@amakomaya.com" ]
         ] )
      ] [
         fhir:name [ fhir:v "RC Poudel" ] ;
         fhir:telecom ( [
           fhir:system [ fhir:v "email" ] ;
           fhir:value [ fhir:v "rcpoudel@amakomaya.com" ]
         ] [
           fhir:system [ fhir:v "email" ] ;
           fhir:value [ fhir:v "rmchndrapdl@gmail.com" ]
         ] [
           fhir:system [ fhir:v "phone" ] ;
           fhir:value [ fhir:v "+977-9851341921" ]
         ] )
      ] ) ; #
      fhir:description [ fhir:v "A profile for system-generated reminder tasks created by a mobile or web application (e.g., Amakomaya App). Supports reminders for ANC visits, immunization dates, medication reminders, and follow-up actions."] ; #
      fhir:jurisdiction ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
             fhir:l <urn:iso:std:iso:3166>
           ] ;
           fhir:code [ fhir:v "NP" ]
         ] )
      ] ) ; #
      fhir:copyright [ fhir:v "Used by permission of HL7 International, all rights reserved Creative Commons License"] ; #
      fhir:fhirVersion [ fhir:v "6.0.0-ballot5"] ; #
      fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:uri [
           fhir:v "http://hl7.org/fhir/workflow"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/workflow>
         ] ;
         fhir:name [ fhir:v "Workflow Pattern" ]
      ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:uri [
           fhir:v "http://hl7.org/fhir/fivews"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/fivews>
         ] ;
         fhir:name [ fhir:v "FiveWs Pattern Mapping" ]
      ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:uri [
           fhir:v "http://hl7.org/v3"^^xsd:anyURI ;
           fhir:l <http://hl7.org/v3>
         ] ;
         fhir:name [ fhir:v "RIM Mapping" ]
      ] [
         fhir:identity [ fhir:v "v2" ] ;
         fhir:uri [
           fhir:v "http://hl7.org/v2"^^xsd:anyURI ;
           fhir:l <http://hl7.org/v2>
         ] ;
         fhir:name [ fhir:v "HL7 V2 Mapping" ]
      ] ) ; #
      fhir:kind [ fhir:v "resource"] ; #
      fhir:abstract [ fhir:v false] ; #
      fhir:type [
         fhir:v "Task"^^xsd:anyURI ;
         fhir:l fhir:Task
      ] ; #
      fhir:baseDefinition [
         fhir:v "http://hl7.org/fhir/StructureDefinition/Task"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/Task>
      ] ; #
      fhir:derivation [ fhir:v "constraint"] ; #
      fhir:snapshot [
         fhir:extension ( [
           fhir:url [
             fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version>
           ] ;
           fhir:value [
             a fhir:String ;
             fhir:v "6.0.0-ballot5"
           ]
         ] ) ;
         fhir:element ( [
           fhir:id [ fhir:v "Task" ] ;
           fhir:path [ fhir:v "Task" ] ;
           fhir:short [ fhir:v "A task to be performed" ] ;
           fhir:definition [ fhir:v "A task to be performed as a part of a workflow and the related information like inputs, outputs and execution progress. While very simple workflows can be implemented with [Request](http://build.fhir.org/request.html) alone, most workflows would require a Task (explicit or contained) as a means to track the execution progress (i.e. inputs, outputs, status). Please refer to [Fulfillment/Execution](http://build.fhir.org/request.html#fulfillment)." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:constraint ( [
             fhir:key [ fhir:v "dom-2" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ;
             fhir:expression [ fhir:v "contained.contained.empty()" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>
             ]
           ] [
             fhir:key [ fhir:v "dom-3" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ;
             fhir:expression [ fhir:v "contained.where((('#'+id.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>
             ]
           ] [
             fhir:key [ fhir:v "dom-4" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ;
             fhir:expression [ fhir:v "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>
             ]
           ] [
             fhir:key [ fhir:v "dom-5" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a security label" ] ;
             fhir:expression [ fhir:v "contained.meta.security.empty()" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>
             ]
           ] [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice>
               ] ;
               fhir:value [
                 a fhir:Boolean ;
                 fhir:v true
               ]
             ] [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation>
               ] ;
               fhir:value [
                 a fhir:Markdown ;
                 fhir:v "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
               ]
             ] ) ;
             fhir:key [ fhir:v "dom-6" ] ;
             fhir:severity [ fhir:v "warning" ] ;
             fhir:human [ fhir:v "A resource should have narrative for robust management" ] ;
             fhir:expression [ fhir:v "text.`div`.exists()" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>
             ]
           ] [
             fhir:key [ fhir:v "tsk-0" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "Last modified date must be greater than or equal to authored-on date." ] ;
             fhir:expression [ fhir:v "lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Task"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Task>
             ]
           ] [
             fhir:key [ fhir:v "tsk-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "Task.restriction is only allowed if the Task is seeking fulfillment and a focus is specified." ] ;
             fhir:expression [ fhir:v "restriction.exists() implies (code.coding.where(code='fulfill' and system='http://hl7.org/fhir/CodeSystem/task-code').exists() and focus.exists() and focus.value.ofType(Reference).exists())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Task"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Task>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "Entity, Role, or Act,ControlAct[moodCode=INT]" ]
           ] [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request, Event" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "workflow.order" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.id" ] ;
           fhir:path [ fhir:v "Task.id" ] ;
           fhir:short [ fhir:v "Logical id of this artifact" ] ;
           fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ;
           fhir:comment [ fhir:v "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resource id depends on the given use case." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Resource.id" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>
               ] ;
               fhir:value [
                 a fhir:Url ;
                 fhir:v "id"^^xsd:anyURI ;
                 fhir:l fhir:id
               ]
             ] ) ;
             fhir:code [
               fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhirpath/System.String>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ]
         ] [
           fhir:id [ fhir:v "Task.meta" ] ;
           fhir:path [ fhir:v "Task.meta" ] ;
           fhir:short [ fhir:v "Metadata about the resource" ] ;
           fhir:definition [ fhir:v "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Resource.meta" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Meta"^^xsd:anyURI ;
               fhir:l fhir:Meta
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ]
         ] [
           fhir:id [ fhir:v "Task.implicitRules" ] ;
           fhir:path [ fhir:v "Task.implicitRules" ] ;
           fhir:short [ fhir:v "A set of rules under which this content was created" ] ;
           fhir:definition [ fhir:v "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension." ] ;
           fhir:comment [ fhir:v "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Resource.implicitRules" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "uri"^^xsd:anyURI ;
               fhir:l fhir:uri
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v true ] ;
           fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation" ] ;
           fhir:isSummary [ fhir:v true ]
         ] [
           fhir:id [ fhir:v "Task.language" ] ;
           fhir:path [ fhir:v "Task.language" ] ;
           fhir:short [ fhir:v "Language of the resource content" ] ;
           fhir:definition [ fhir:v "The base language in which the resource is written." ] ;
           fhir:comment [ fhir:v "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Resource.language" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "code"^^xsd:anyURI ;
               fhir:l fhir:code
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "Language"
               ]
             ] ) ;
             fhir:strength [ fhir:v "required" ] ;
             fhir:description [ fhir:v "IETF language tag for a human language" ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/all-languages?version=6.0.0-ballot5>
             ] ;
             fhir:additional ( [
               fhir:purpose [ fhir:v "starter" ] ;
               fhir:valueSet [
                 fhir:v "http://hl7.org/fhir/ValueSet/languages|6.0.0-ballot5"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/ValueSet/languages?version=6.0.0-ballot5>
               ]
             ] )
           ]
         ] [
           fhir:id [ fhir:v "Task.text" ] ;
           fhir:path [ fhir:v "Task.text" ] ;
           fhir:short [ fhir:v "Text summary of the resource, for human interpretation" ] ;
           fhir:definition [ fhir:v "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ] ;
           fhir:comment [ fhir:v "Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ] ;
           fhir:alias ( [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "DomainResource.text" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Narrative"^^xsd:anyURI ;
               fhir:l fhir:Narrative
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "dom-6" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "Act.text?" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.contained" ] ;
           fhir:path [ fhir:v "Task.contained" ] ;
           fhir:short [ fhir:v "Contained, inline Resources" ] ;
           fhir:definition [ fhir:v "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning." ] ;
           fhir:comment [ fhir:v "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](http://build.fhir.org/resource.html#additional)." ] ;
           fhir:alias ( [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "DomainResource.contained" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Resource"^^xsd:anyURI ;
               fhir:l fhir:Resource
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "dom-2" ] [ fhir:v "dom-4" ] [ fhir:v "dom-3" ] [ fhir:v "dom-5" ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "N/A" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.extension" ] ;
           fhir:path [ fhir:v "Task.extension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Additional content defined by implementations" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "DomainResource.extension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "N/A" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.modifierExtension" ] ;
           fhir:path [ fhir:v "Task.modifierExtension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Extensions that cannot be ignored" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension)." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "DomainResource.modifierExtension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v true ] ;
           fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "N/A" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.identifier" ] ;
           fhir:path [ fhir:v "Task.identifier" ] ;
           fhir:short [ fhir:v "Task Instance Identifier" ] ;
           fhir:definition [ fhir:v "The business identifier for this task." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.identifier" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Identifier"^^xsd:anyURI ;
               fhir:l fhir:Identifier
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.identifier, Event.identifier" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.identifier" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".id" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.basedOn" ] ;
           fhir:path [ fhir:v "Task.basedOn" ] ;
           fhir:short [ fhir:v "Request fulfilled by this task" ] ;
           fhir:definition [ fhir:v "BasedOn refers to a higher-level authorization that triggered the creation of the task.  It references a \"request\" resource such as a ServiceRequest, MedicationRequest, CarePlan, etc. which is distinct from the \"request\" resource the task is seeking to fulfill.  This latter resource is referenced by focus.  For example, based on a CarePlan (= basedOn), a task is created to fulfill a ServiceRequest ( = focus ) to collect a specimen from a patient." ] ;
           fhir:comment [ fhir:v "Task.basedOn is never the same as Task.focus.  Task.basedOn will typically not be present for 'please fulfill' Tasks as a distinct authorization is rarely needed to request fulfillment.  If the Task is seeking fulfillment of an order, the order to be fulfilled is always communicated using `focus`, never basedOn.  However, authorization may be needed to perform other types of Task actions.  As an example of when both would be present, a Task seeking suspension of a prescription might have a Task.basedOn pointing to the ServiceRequest ordering surgery (which is the driver for suspending the MedicationRequest - which would be the Task.focus)." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.basedOn" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Resource|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Resource?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.basedOn, Event.basedOn" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".outboundRelationship[typeCode=FLFS].target[moodCode=INT]" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.groupIdentifier" ] ;
           fhir:path [ fhir:v "Task.groupIdentifier" ] ;
           fhir:short [ fhir:v "Requisition or grouper id" ] ;
           fhir:definition [ fhir:v "A shared identifier common to multiple independent Task and Request instances that were activated/authorized more or less simultaneously by a single author.  The presence of the same identifier on each request ties those requests together and may have business ramifications in terms of reporting of results, billing, etc.  E.g. a requisition number shared by a set of lab tests ordered together, or a prescription number shared by all meds ordered at one time." ] ;
           fhir:requirements [ fhir:v "Billing and/or reporting can be linked to whether multiple requests were created as a single unit." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.groupIdentifier" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Identifier"^^xsd:anyURI ;
               fhir:l fhir:Identifier
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.groupIdentifier" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".inboundRelationship[typeCode=COMP].source[moodCode=INT].id" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.partOf" ] ;
           fhir:path [ fhir:v "Task.partOf" ] ;
           fhir:short [ fhir:v "Composite task" ] ;
           fhir:definition [ fhir:v "Task that this particular task is part of." ] ;
           fhir:comment [ fhir:v "This should usually be 0..1." ] ;
           fhir:requirements [ fhir:v "Allows tasks to be broken down into sub-steps (and this division can occur independent of the original task)." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.partOf" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy>
               ] ;
               fhir:value [
                 a fhir:Boolean ;
                 fhir:v true
               ]
             ] ) ;
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Task|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Task?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Event.partOf" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".inboundRelationship[typeCode=COMP].source[moodCode=INT]" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.status" ] ;
           fhir:path [ fhir:v "Task.status" ] ;
           fhir:short [ fhir:v "draft | requested | received | accepted | +" ] ;
           fhir:definition [ fhir:v "The current status of the task." ] ;
           fhir:requirements [ fhir:v "These states enable coordination of task status with off-the-shelf workflow solutions that support automation of tasks." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.status" ] ;
             fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "code"^^xsd:anyURI ;
               fhir:l fhir:code
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v true ] ;
           fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "TaskStatus"
               ]
             ] ) ;
             fhir:strength [ fhir:v "required" ] ;
             fhir:description [ fhir:v "The current status of the task." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/task-status|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/task-status?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.status, Event.status" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.status" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".statusCode" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.statusReason" ] ;
           fhir:path [ fhir:v "Task.statusReason" ] ;
           fhir:short [ fhir:v "Reason for current status" ] ;
           fhir:definition [ fhir:v "An explanation as to why this task is held, failed, was refused, etc." ] ;
           fhir:comment [ fhir:v "This applies to the current status.  Look at the history of the task to see reasons for past statuses." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.statusReason" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "CodeableReference"^^xsd:anyURI ;
               fhir:l fhir:CodeableReference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Resource|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Resource?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "TaskStatusReason"
               ]
             ] ) ;
             fhir:strength [ fhir:v "example" ] ;
             fhir:description [ fhir:v "Codes to identify the reason for current status.  These will typically be specific to a particular workflow." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/task-status-reason|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/task-status-reason?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.statusReason, Event.statusReason" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN, code=\"status change\"].reasonCode" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.businessStatus" ] ;
           fhir:path [ fhir:v "Task.businessStatus" ] ;
           fhir:short [ fhir:v "E.g. \"Specimen collected\", \"IV prepped\"" ] ;
           fhir:definition [ fhir:v "Contains business-specific nuances of the business state." ] ;
           fhir:requirements [ fhir:v "There's often a need to track substates of a task - this is often variable by specific workflow implementation." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.businessStatus" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "CodeableConcept"^^xsd:anyURI ;
               fhir:l fhir:CodeableConcept
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "TaskBusinessStatus"
               ]
             ] ) ;
             fhir:strength [ fhir:v "example" ] ;
             fhir:description [ fhir:v "The domain-specific business-contextual sub-state of the task.  For example: \"Blood drawn\", \"IV inserted\", \"Awaiting physician signature\", etc." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/task-business-status|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/task-business-status?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"business status\"]" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.intent" ] ;
           fhir:path [ fhir:v "Task.intent" ] ;
           fhir:short [ fhir:v "unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option" ] ;
           fhir:definition [ fhir:v "Indicates the \"level\" of actionability associated with the Task, i.e. this a proposed task, a planned task, an actionable task, etc." ] ;
           fhir:comment [ fhir:v "This element is immutable.  Proposed tasks, planned tasks, etc. must be distinct instances.\n\nIn most cases, Tasks will have an intent of \"order\"." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.intent" ] ;
             fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "code"^^xsd:anyURI ;
               fhir:l fhir:code
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "TaskIntent"
               ]
             ] ) ;
             fhir:strength [ fhir:v "required" ] ;
             fhir:description [ fhir:v "Distinguishes whether the task is a proposal, plan or full order." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/task-intent|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/task-intent?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.intent" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.class" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".moodCode" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.priority" ] ;
           fhir:path [ fhir:v "Task.priority" ] ;
           fhir:short [ fhir:v "routine | urgent | asap | stat" ] ;
           fhir:definition [ fhir:v "Indicates how quickly the Task should be addressed with respect to other requests." ] ;
           fhir:requirements [ fhir:v "Used to identify the service level expected while performing a task." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.priority" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "code"^^xsd:anyURI ;
               fhir:l fhir:code
             ]
           ] ) ;
           fhir:meaningWhenMissing [ fhir:v "If missing, this task should be performed with normal priority" ] ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "TaskPriority"
               ]
             ] ) ;
             fhir:strength [ fhir:v "required" ] ;
             fhir:description [ fhir:v "The priority of a task (may affect service level applied to the task)." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/request-priority|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/request-priority?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.priority" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.grade" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".priorityCode" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.doNotPerform" ] ;
           fhir:path [ fhir:v "Task.doNotPerform" ] ;
           fhir:short [ fhir:v "True if Task is prohibiting action" ] ;
           fhir:definition [ fhir:v "If true indicates that the Task is asking for the specified action to *not* occur." ] ;
           fhir:comment [ fhir:v "The attributes provided with the Task qualify what is not to be done. For example, if a requestedPeriod is provided, the 'do not' request only applies within the specified time. If a requestedPerformer is specified then the 'do not' request only applies to performers of that type. Qualifiers include: code, subject, occurrence, requestedPerformer and performer.\n\nIn some cases, the Request.code may pre-coordinate prohibition into the requested action. E.g. 'NPO' (nothing by mouth), 'DNR' (do not resuscitate). If this happens, doNotPerform SHALL NOT be set to true. I.e. The resource SHALL NOT have double negation. (E.g. 'Do not DNR').\n\nWhen Task.focus refers to a Request Resource, it is that Request's doNotPerform Flag that indicates that the action should not be performed. A Task can be used to request that authorized action is not performed by having task.focus point to that request resource and use Task.code as the do not perform indicator.\n\nNote that the use of doNotPerform and negation in Task.code can cause ambiguity and the impact of this should be considered not only for task but also for all related resources." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.doNotPerform" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "boolean"^^xsd:anyURI ;
               fhir:l fhir:boolean
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v true ] ;
           fhir:isModifierReason [ fhir:v "If true, this element negates the Task. For example, instead of a request to perform a task, it is a request _not_ to perform a task." ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.doNotPerform, Event.doNotPerform" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.what[x]" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".code" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.code" ] ;
           fhir:path [ fhir:v "Task.code" ] ;
           fhir:short [ fhir:v "Task Type" ] ;
           fhir:definition [ fhir:v "A name or code (or both) briefly describing what the task involves." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.code" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "CodeableConcept"^^xsd:anyURI ;
               fhir:l fhir:CodeableConcept
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tsk-1" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "TaskCode"
               ]
             ] ) ;
             fhir:strength [ fhir:v "extensible" ] ;
             fhir:description [ fhir:v "Codes to identify what the task involves.  These will typically be specific to a particular workflow." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/task-code|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/task-code?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.code, Event.code" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.what[x]" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".code" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.description" ] ;
           fhir:path [ fhir:v "Task.description" ] ;
           fhir:short [ fhir:v "Human-readable explanation of task" ] ;
           fhir:definition [ fhir:v "A free-text description of what is to be performed." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.description" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "markdown"^^xsd:anyURI ;
               fhir:l fhir:markdown
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".text" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.focus" ] ;
           fhir:path [ fhir:v "Task.focus" ] ;
           fhir:short [ fhir:v "What task is acting on" ] ;
           fhir:definition [ fhir:v "The request being fulfilled or the resource being manipulated (changed, suspended, etc.) by this task." ] ;
           fhir:comment [ fhir:v "If multiple resources need to be manipulated, use sub-tasks.  (This ensures that status can be tracked independently for each referenced resource.). Typically a Task should only have one focus.  If multiple focuses are provided, then action must be taken on the complete set as a whole (i.e,. all must be accepted, rejected, cancelled, held, completed, etc. as a whole). If there is a possibility to have different statuses for different focuses, then there SHALL be a separate Task instance for each focus." ] ;
           fhir:requirements [ fhir:v "Used to identify the thing to be done." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.focus" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "BackboneElement"^^xsd:anyURI ;
               fhir:l fhir:BackboneElement
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tsk-1" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children or both" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.product, Event.product" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.what[x]" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".outboundRelationship[typeCode=SUBJ].target" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.focus.id" ] ;
           fhir:path [ fhir:v "Task.focus.id" ] ;
           fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
           fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
           fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.id" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>
               ] ;
               fhir:value [
                 a fhir:Url ;
                 fhir:v "string"^^xsd:anyURI ;
                 fhir:l fhir:string
               ]
             ] ) ;
             fhir:code [
               fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhirpath/System.String>
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "ele-1" ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.focus.extension" ] ;
           fhir:path [ fhir:v "Task.focus.extension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Additional content defined by implementations" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.extension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.focus.modifierExtension" ] ;
           fhir:path [ fhir:v "Task.focus.modifierExtension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension)." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v true ] ;
           fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "N/A" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.focus.value[x]" ] ;
           fhir:path [ fhir:v "Task.focus.value[x]" ] ;
           fhir:short [ fhir:v "What task is acting on" ] ;
           fhir:definition [ fhir:v "What task is acting on." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.focus.value[x]" ] ;
             fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Resource|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Resource?version=6.0.0-ballot5>
             ] )
           ] [
             fhir:code [
               fhir:v "canonical"^^xsd:anyURI ;
               fhir:l fhir:canonical
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/CanonicalResource|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/CanonicalResource?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ]
         ] [
           fhir:id [ fhir:v "Task.for" ] ;
           fhir:path [ fhir:v "Task.for" ] ;
           fhir:short [ fhir:v "Beneficiary of the Task" ] ;
           fhir:definition [ fhir:v "The entity who benefits from the performance of the service specified in the task (e.g., the patient)." ] ;
           fhir:requirements [ fhir:v "Used to track tasks outstanding for a beneficiary.  Do not use to track the task owner or creator (see owner and creator respectively).  This can also affect access control." ] ;
           fhir:alias ( [ fhir:v "Patient" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.for" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Resource|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Resource?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.subject, Event.subject" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.subject" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".participation[typeCode=RCT].role" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.encounter" ] ;
           fhir:path [ fhir:v "Task.encounter" ] ;
           fhir:short [ fhir:v "Healthcare event during which this task originated" ] ;
           fhir:definition [ fhir:v "The healthcare event  (e.g. a patient and healthcare provider interaction) during which this task was created." ] ;
           fhir:requirements [ fhir:v "For some tasks it may be important to know the link between the encounter the task originated within." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.encounter" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Encounter|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Encounter?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.encounter, Event.encounter" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.context" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN]" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.requestedPeriod" ] ;
           fhir:path [ fhir:v "Task.requestedPeriod" ] ;
           fhir:short [ fhir:v "When the task should be performed" ] ;
           fhir:definition [ fhir:v "Indicates the start and/or end of the period of time when completion of the task is desired to take place." ] ;
           fhir:comment [ fhir:v "This is typically used when the Task is *not* seeking fulfillment of a focus Request, as in that case the period would be specified on the Request and/or in the Task.restriction.period.  Instead, it is used for stand-alone tasks." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.requestedPeriod" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Period"^^xsd:anyURI ;
               fhir:l fhir:Period
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.occurrence[x]" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".effectiveTime" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.executionPeriod" ] ;
           fhir:path [ fhir:v "Task.executionPeriod" ] ;
           fhir:short [ fhir:v "Start and end time of execution" ] ;
           fhir:definition [ fhir:v "Identifies the time action was first taken against the task (start) and/or the time final action was taken against the task prior to marking it as completed (end)." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.executionPeriod" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Period"^^xsd:anyURI ;
               fhir:l fhir:Period
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Event.occurrence[x]" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.done[x]" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".effectiveTime" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.authoredOn" ] ;
           fhir:path [ fhir:v "Task.authoredOn" ] ;
           fhir:short [ fhir:v "Task Creation Date" ] ;
           fhir:definition [ fhir:v "The date and time this task was created." ] ;
           fhir:requirements [ fhir:v "Most often used along with lastUpdated to track duration of task to supporting monitoring and management." ] ;
           fhir:alias ( [ fhir:v "Created Date" ] ) ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.authoredOn" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "dateTime"^^xsd:anyURI ;
               fhir:l fhir:dateTime
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.authoredOn, Event.recorded" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.recorded" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".participation[typeCode=AUT].time" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.lastModified" ] ;
           fhir:path [ fhir:v "Task.lastModified" ] ;
           fhir:short [ fhir:v "Task Last Modified Date" ] ;
           fhir:definition [ fhir:v "The date and time of last modification to this task." ] ;
           fhir:requirements [ fhir:v "Used along with history to track task activity and time in a particular task state.  This enables monitoring and management." ] ;
           fhir:alias ( [ fhir:v "Update Date" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.lastModified" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "dateTime"^^xsd:anyURI ;
               fhir:l fhir:dateTime
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.requester" ] ;
           fhir:path [ fhir:v "Task.requester" ] ;
           fhir:short [ fhir:v "Who is asking for task to be done" ] ;
           fhir:definition [ fhir:v "The creator of the task." ] ;
           fhir:comment [ fhir:v "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead." ] ;
           fhir:requirements [ fhir:v "Identifies who created this task.  May be used by access control mechanisms (e.g., to ensure that only the creator can cancel a task)." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.requester" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Device|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Device?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Group|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Group?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Practitioner?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/RelatedPerson?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.requester" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.author" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".participation[typeCode=AUT].role" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.requestedPerformer" ] ;
           fhir:path [ fhir:v "Task.requestedPerformer" ] ;
           fhir:short [ fhir:v "Who should perform the Task" ] ;
           fhir:definition [ fhir:v "The kind of participant or specific participant that should perform the task." ] ;
           fhir:comment [ fhir:v "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead." ] ;
           fhir:requirements [ fhir:v "Use to distinguish tasks on different activity queues." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.requestedPerformer" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "CodeableReference"^^xsd:anyURI ;
               fhir:l fhir:CodeableReference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Practitioner?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/CareTeam|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/CareTeam?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/HealthcareService|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/HealthcareService?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Device|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Device?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/RelatedPerson?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Group|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Group?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "TaskPerformerType"
               ]
             ] ) ;
             fhir:strength [ fhir:v "preferred" ] ;
             fhir:description [ fhir:v "The type(s) of task performers allowed." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/performer-role|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/performer-role?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Event.performer.function, Request.performerType" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.actor" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".participation[typeCode=PRF].role.code" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.owner" ] ;
           fhir:path [ fhir:v "Task.owner" ] ;
           fhir:short [ fhir:v "Responsible individual" ] ;
           fhir:definition [ fhir:v "Party responsible for managing task execution." ] ;
           fhir:comment [ fhir:v "Tasks may be created with an owner not yet identified. Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead." ] ;
           fhir:requirements [ fhir:v "Identifies who is expected to perform this task." ] ;
           fhir:alias ( [ fhir:v "Performer" ] [ fhir:v "Executer" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.owner" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Practitioner?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/CareTeam|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/CareTeam?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/RelatedPerson?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Group|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Group?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Event.performer.actor, Request.performer" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.actor" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".participation[typeCode=PRF].role" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.performer" ] ;
           fhir:path [ fhir:v "Task.performer" ] ;
           fhir:short [ fhir:v "Who or what performed the task" ] ;
           fhir:definition [ fhir:v "The entity who performed the requested task." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.performer" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "BackboneElement"^^xsd:anyURI ;
               fhir:l fhir:BackboneElement
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children or both" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ]
         ] [
           fhir:id [ fhir:v "Task.performer.id" ] ;
           fhir:path [ fhir:v "Task.performer.id" ] ;
           fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
           fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
           fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.id" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>
               ] ;
               fhir:value [
                 a fhir:Url ;
                 fhir:v "string"^^xsd:anyURI ;
                 fhir:l fhir:string
               ]
             ] ) ;
             fhir:code [
               fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhirpath/System.String>
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "ele-1" ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.performer.extension" ] ;
           fhir:path [ fhir:v "Task.performer.extension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Additional content defined by implementations" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.extension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.performer.modifierExtension" ] ;
           fhir:path [ fhir:v "Task.performer.modifierExtension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension)." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v true ] ;
           fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "N/A" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.performer.function" ] ;
           fhir:path [ fhir:v "Task.performer.function" ] ;
           fhir:short [ fhir:v "Type of performance" ] ;
           fhir:definition [ fhir:v "A code or description of the performer of the task." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.performer.function" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "CodeableConcept"^^xsd:anyURI ;
               fhir:l fhir:CodeableConcept
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "TaskPerformerFunctionCode"
               ]
             ] ) ;
             fhir:strength [ fhir:v "example" ] ;
             fhir:description [ fhir:v "Codes to identify types of task performers." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/task-performer-function-code|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/task-performer-function-code?version=6.0.0-ballot5>
             ]
           ]
         ] [
           fhir:id [ fhir:v "Task.performer.actor" ] ;
           fhir:path [ fhir:v "Task.performer.actor" ] ;
           fhir:short [ fhir:v "Who performed the task" ] ;
           fhir:definition [ fhir:v "The actor or entity who performed the task." ] ;
           fhir:comment [ fhir:v "Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.performer.actor" ] ;
             fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Practitioner?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Device|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Device?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/CareTeam|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/CareTeam?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/RelatedPerson?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Group|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Group?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ]
         ] [
           fhir:id [ fhir:v "Task.location" ] ;
           fhir:path [ fhir:v "Task.location" ] ;
           fhir:short [ fhir:v "Where task occurs" ] ;
           fhir:definition [ fhir:v "Principal physical location where this task is performed." ] ;
           fhir:comment [ fhir:v "This should only be specified when the Task to be/being performed happens or is expected to happen primarily within the bounds of a single Location.  Other locations (e.g. source, destination, etc.) would either be reflected on the 'basedOn' Request or be conveyed as distinct Task.input values." ] ;
           fhir:requirements [ fhir:v "Provides context around the event occurrence (e.g. if it occurred inside or outside a dedicated healthcare setting)." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.location" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Location|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Location?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Event.location" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.where[x]" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".participation[typeCode=LOC].role" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.reason" ] ;
           fhir:path [ fhir:v "Task.reason" ] ;
           fhir:short [ fhir:v "Why task is needed" ] ;
           fhir:definition [ fhir:v "A description, code, or reference indicating why this task needs to be performed." ] ;
           fhir:comment [ fhir:v "This will typically not be present for Tasks with a code of 'please fulfill' as, for those, the reason for action is conveyed on the Request pointed to by Task.focus.  Some types of tasks will not need a 'reason'.  E.g. a request to discharge a patient can be inferred to be 'because the patient is ready' and this would not need a reason to be stated on the Task." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.reason" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "CodeableReference"^^xsd:anyURI ;
               fhir:l fhir:CodeableReference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Resource|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Resource?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "TaskReason"
               ]
             ] ) ;
             fhir:strength [ fhir:v "example" ] ;
             fhir:description [ fhir:v "Indicates why the task is needed.  E.g. Suspended because patient admitted to hospital." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/task-reason|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/task-reason?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Event.reason, Request.reason" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "FiveWs.why[x]" ]
           ] [
             fhir:identity [ fhir:v "v2" ] ;
             fhir:map [ fhir:v "EVN-7" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".reasonCode" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.insurance" ] ;
           fhir:path [ fhir:v "Task.insurance" ] ;
           fhir:short [ fhir:v "Associated insurance coverage" ] ;
           fhir:definition [ fhir:v "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant to the Task." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.insurance" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Coverage|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Coverage?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/ClaimResponse|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/ClaimResponse?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.insurance" ]
           ] [
             fhir:identity [ fhir:v "v2" ] ;
             fhir:map [ fhir:v "IN1/IN2" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".outboundRelationship[typeCode=COVBY].target" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.note" ] ;
           fhir:path [ fhir:v "Task.note" ] ;
           fhir:short [ fhir:v "Comments made about the task" ] ;
           fhir:definition [ fhir:v "Free-text information about the task during its lifecycle." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.note" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Annotation"^^xsd:anyURI ;
               fhir:l fhir:Annotation
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.note, Event.note" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".inboundRelationship[typeCode=SUBJ, ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value(string)" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.relevantHistory" ] ;
           fhir:path [ fhir:v "Task.relevantHistory" ] ;
           fhir:short [ fhir:v "Key events in history of the Task" ] ;
           fhir:definition [ fhir:v "Links to Provenance records for past versions of this Task that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the task." ] ;
           fhir:comment [ fhir:v "This element does not point to the Provenance associated with the *current* version of the resource - as it would be created after this version existed.  The Provenance for the current version can be retrieved with a _revinclude." ] ;
           fhir:alias ( [ fhir:v "Status History" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.relevantHistory" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Provenance|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Provenance?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.relevantHistory" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.restriction" ] ;
           fhir:path [ fhir:v "Task.restriction" ] ;
           fhir:short [ fhir:v "Constraints on fulfillment tasks" ] ;
           fhir:definition [ fhir:v "If the Task.focus is a request resource and the task is seeking fulfillment (i.e. is asking for the request to be actioned), this element identifies any limitations on what parts of the referenced request should be actioned." ] ;
           fhir:comment [ fhir:v "This element should only be used when the Task is seeking fulfillment of a request resource that authorizes a broader set of subjects, repetitions and/or time-period than the Task itself is seeking execution against.  It is not used otherwise." ] ;
           fhir:requirements [ fhir:v "Sometimes when fulfillment is sought, you don't want full fulfillment." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.restriction" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "BackboneElement"^^xsd:anyURI ;
               fhir:l fhir:BackboneElement
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tsk-1" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children or both" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "Instead of pointing to request, would point to component of request, having these characteristics" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.restriction.id" ] ;
           fhir:path [ fhir:v "Task.restriction.id" ] ;
           fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
           fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
           fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.id" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>
               ] ;
               fhir:value [
                 a fhir:Url ;
                 fhir:v "string"^^xsd:anyURI ;
                 fhir:l fhir:string
               ]
             ] ) ;
             fhir:code [
               fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhirpath/System.String>
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "ele-1" ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.restriction.extension" ] ;
           fhir:path [ fhir:v "Task.restriction.extension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Additional content defined by implementations" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.extension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.restriction.modifierExtension" ] ;
           fhir:path [ fhir:v "Task.restriction.modifierExtension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension)." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v true ] ;
           fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "N/A" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.restriction.repetitions" ] ;
           fhir:path [ fhir:v "Task.restriction.repetitions" ] ;
           fhir:short [ fhir:v "How many times to repeat" ] ;
           fhir:definition [ fhir:v "Indicates the number of times the requested action should occur." ] ;
           fhir:requirements [ fhir:v "E.g. order that requests monthly lab tests, fulfillment is sought for 1." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.restriction.repetitions" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "positiveInt"^^xsd:anyURI ;
               fhir:l fhir:positiveInt
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".repeatNumber" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.restriction.period" ] ;
           fhir:path [ fhir:v "Task.restriction.period" ] ;
           fhir:short [ fhir:v "When fulfillment is sought" ] ;
           fhir:definition [ fhir:v "The time-period for which fulfillment is sought. This must fall within the overall time period authorized in the referenced request.  E.g. ServiceRequest.occurrence[x]." ] ;
           fhir:comment [ fhir:v "This is distinct from Task.executionPeriod. ExecutionPeriod indicates when the task needs to be initiated, while Task.restriction.period specifies the subset of the overall authorization that this period covers. For example, a MedicationRequest with an overall effective period of 1 year might have a Task whose restriction.period is 2 months (i.e. satisfy 2 months of medication therapy), while the execution period might be 'between now and 5 days from now' - i.e. If you say yes to this, then you're agreeing to supply medication for that 2 month period within the next 5 days.\n\nNote that period.high is the due date representing the time by which the task should be completed." ] ;
           fhir:requirements [ fhir:v "E.g. order that authorizes 1 year's services.  Fulfillment is sought for next 3 months." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.restriction.period" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Period"^^xsd:anyURI ;
               fhir:l fhir:Period
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".effectiveTime(IVL<TS>)" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.restriction.recipient" ] ;
           fhir:path [ fhir:v "Task.restriction.recipient" ] ;
           fhir:short [ fhir:v "Individual or entity from whom fulfillment is being sought" ] ;
           fhir:definition [ fhir:v "For requests directed at multiple potential recipients or targets, this is used to specify the individual or entity from whom fulfillment is being sought." ] ;
           fhir:comment [ fhir:v "If seeking fulfillment of a ServiceRequest where the ServiceRequest.subject was a Group of devices, but the Task was only seeking execution against a single device. If just creating a Task that is to manipulate a device in the absence of a broader order, there's no need for restriction.recipient.  The Device to be manipulated would be the Task.focus (and potentially the Task.for - if the action wasn't for the benefit of a Patient or some other record)." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.restriction.recipient" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Practitioner?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/RelatedPerson?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Group|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Group?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=6.0.0-ballot5>
             ] [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Device|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Device?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v ".participation[typeCode=SBJ].role" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input" ] ;
           fhir:path [ fhir:v "Task.input" ] ;
           fhir:short [ fhir:v "Information used to perform task" ] ;
           fhir:definition [ fhir:v "Additional information that may be needed in the execution of the task." ] ;
           fhir:requirements [ fhir:v "Resources and data used to perform the task.  This data is used in the business logic of task execution, and is stored separately because it varies between workflows." ] ;
           fhir:alias ( [ fhir:v "Supporting Information" ] ) ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.input" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "BackboneElement"^^xsd:anyURI ;
               fhir:l fhir:BackboneElement
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children or both" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "???" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.id" ] ;
           fhir:path [ fhir:v "Task.input.id" ] ;
           fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
           fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
           fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.id" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>
               ] ;
               fhir:value [
                 a fhir:Url ;
                 fhir:v "string"^^xsd:anyURI ;
                 fhir:l fhir:string
               ]
             ] ) ;
             fhir:code [
               fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhirpath/System.String>
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "ele-1" ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.extension" ] ;
           fhir:path [ fhir:v "Task.input.extension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Additional content defined by implementations" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.extension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.modifierExtension" ] ;
           fhir:path [ fhir:v "Task.input.modifierExtension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension)." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v true ] ;
           fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "N/A" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.type" ] ;
           fhir:path [ fhir:v "Task.input.type" ] ;
           fhir:short [ fhir:v "Label for the input" ] ;
           fhir:definition [ fhir:v "A code or description to distinguish between inputs." ] ;
           fhir:comment [ fhir:v "The type of the input may affect how it is used in the task. If referencing a BPMN workflow or Protocol, the \"system\" is the URL for the workflow definition and the code is the \"name\" of the required input." ] ;
           fhir:requirements [ fhir:v "Inputs are named to enable task automation to bind data and pass it from one task to the next." ] ;
           fhir:alias ( [ fhir:v "Name" ] ) ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.input.type" ] ;
             fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "CodeableConcept"^^xsd:anyURI ;
               fhir:l fhir:CodeableConcept
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "TaskInputParameterType"
               ]
             ] ) ;
             fhir:strength [ fhir:v "example" ] ;
             fhir:description [ fhir:v "Codes to identify types of input parameters.  These will typically be specific to a particular workflow.  E.g. \"Comparison source\", \"Applicable consent\", \"Concomitant Medications\", etc." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/task-inputoutput-parameter-type|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/task-inputoutput-parameter-type?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "???" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]" ] ;
           fhir:path [ fhir:v "Task.input.value[x]" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "type" ] ;
               fhir:path [ fhir:v "$this" ]
             ] ) ;
             fhir:ordered [ fhir:v false ] ;
             fhir:rules [ fhir:v "closed" ]
           ] ;
           fhir:short [ fhir:v "Content to use in performing the task" ] ;
           fhir:definition [ fhir:v "The value of the input parameter as a basic type." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.input.value[x]" ] ;
             fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Timing"^^xsd:anyURI ;
               fhir:l fhir:Timing
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.supportingInfo" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "???" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming" ] ;
           fhir:path [ fhir:v "Task.input.value[x]" ] ;
           fhir:sliceName [ fhir:v "valueTiming" ] ;
           fhir:short [ fhir:v "Content to use in performing the task" ] ;
           fhir:definition [ fhir:v "The value of the input parameter as a basic type." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.input.value[x]" ] ;
             fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Timing"^^xsd:anyURI ;
               fhir:l fhir:Timing
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "workflow" ] ;
             fhir:map [ fhir:v "Request.supportingInfo" ]
           ] [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "???" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.id" ] ;
           fhir:path [ fhir:v "Task.input.value[x].id" ] ;
           fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
           fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
           fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.id" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>
               ] ;
               fhir:value [
                 a fhir:Url ;
                 fhir:v "string"^^xsd:anyURI ;
                 fhir:l fhir:string
               ]
             ] ) ;
             fhir:code [
               fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhirpath/System.String>
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "ele-1" ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.extension" ] ;
           fhir:path [ fhir:v "Task.input.value[x].extension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Additional content defined by implementations" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.extension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.modifierExtension" ] ;
           fhir:path [ fhir:v "Task.input.value[x].modifierExtension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension)." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "BackboneType.modifierExtension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v true ] ;
           fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "N/A" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.event" ] ;
           fhir:path [ fhir:v "Task.input.value[x].event" ] ;
           fhir:short [ fhir:v "When the event occurs" ] ;
           fhir:definition [ fhir:v "Identifies specific times when the event occurs." ] ;
           fhir:requirements [ fhir:v "In a Medication Administration Record, for instance, you need to take a general specification, and turn it into a precise specification." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.event" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "dateTime"^^xsd:anyURI ;
               fhir:l fhir:dateTime
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "QLIST<TS>" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat" ] ;
           fhir:short [ fhir:v "When the event is to occur" ] ;
           fhir:definition [ fhir:v "A set of rules that describe when the event is scheduled." ] ;
           fhir:requirements [ fhir:v "Many timing schedules are determined by regular repetitions." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Element"^^xsd:anyURI ;
               fhir:l fhir:Element
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children or both" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] [
             fhir:key [ fhir:v "tim-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "if there's a duration, there needs to be duration units" ] ;
             fhir:expression [ fhir:v "duration.empty() or durationUnit.exists()" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Timing"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Timing>
             ]
           ] [
             fhir:key [ fhir:v "tim-2" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "if there's a period, there needs to be period units" ] ;
             fhir:expression [ fhir:v "period.empty() or periodUnit.exists()" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Timing"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Timing>
             ]
           ] [
             fhir:key [ fhir:v "tim-4" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "duration SHALL be a non-negative value" ] ;
             fhir:expression [ fhir:v "duration.exists() implies duration >= 0" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Timing"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Timing>
             ]
           ] [
             fhir:key [ fhir:v "tim-5" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "period SHALL be a non-negative value" ] ;
             fhir:expression [ fhir:v "period.exists() implies period >= 0" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Timing"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Timing>
             ]
           ] [
             fhir:key [ fhir:v "tim-6" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "If there's a periodMax, there must be a period" ] ;
             fhir:expression [ fhir:v "periodMax.empty() or period.exists()" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Timing"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Timing>
             ]
           ] [
             fhir:key [ fhir:v "tim-7" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "If there's a durationMax, there must be a duration" ] ;
             fhir:expression [ fhir:v "durationMax.empty() or duration.exists()" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Timing"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Timing>
             ]
           ] [
             fhir:key [ fhir:v "tim-8" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "If there's a countMax, there must be a count" ] ;
             fhir:expression [ fhir:v "countMax.empty() or count.exists()" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Timing"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Timing>
             ]
           ] [
             fhir:key [ fhir:v "tim-9" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "If there's an offset, there must be a when (and not C, CM, CD, CV)" ] ;
             fhir:expression [ fhir:v "offset.empty() or (when.exists() and when.select($this in ('C' | 'CM' | 'CD' | 'CV')).allFalse())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Timing"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Timing>
             ]
           ] [
             fhir:key [ fhir:v "tim-10" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "If there's a timeOfDay, there cannot be a when, or vice versa" ] ;
             fhir:expression [ fhir:v "timeOfDay.empty() or when.empty()" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Timing"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Timing>
             ]
           ] [
             fhir:key [ fhir:v "tim-11" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "Only use startOffset when frequency is present and > 1, and period is present" ] ;
             fhir:expression [ fhir:v "startOffset.exists() implies (frequency > 1 and period.exists())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Timing"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Timing>
             ]
           ] [
             fhir:key [ fhir:v "tim-12" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "Only use endOffset when frequency is present and > 1, and period is present" ] ;
             fhir:expression [ fhir:v "endOffset.exists() implies (frequency > 1 and period.exists())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Timing"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Timing>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "Implies PIVL or EIVL" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.id" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.id" ] ;
           fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
           fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
           fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.id" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>
               ] ;
               fhir:value [
                 a fhir:Url ;
                 fhir:v "string"^^xsd:anyURI ;
                 fhir:l fhir:string
               ]
             ] ) ;
             fhir:code [
               fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhirpath/System.String>
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "ele-1" ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.extension" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.extension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Additional content defined by implementations" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.extension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.bounds[x]" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.bounds[x]" ] ;
           fhir:short [ fhir:v "Length/Range of lengths, or (Start and/or end) limits" ] ;
           fhir:definition [ fhir:v "Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.bounds[x]" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Duration"^^xsd:anyURI ;
               fhir:l fhir:Duration
             ]
           ] [
             fhir:code [
               fhir:v "Range"^^xsd:anyURI ;
               fhir:l fhir:Range
             ]
           ] [
             fhir:code [
               fhir:v "Period"^^xsd:anyURI ;
               fhir:l fhir:Period
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "IVL(TS) used in a QSI" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.count" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.count" ] ;
           fhir:short [ fhir:v "Number of times to repeat" ] ;
           fhir:definition [ fhir:v "A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values." ] ;
           fhir:comment [ fhir:v "If you have both bounds and count, then this should be understood as within the bounds period, until count times happens." ] ;
           fhir:requirements [ fhir:v "Repetitions may be limited by end time or total occurrences." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.count" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "positiveInt"^^xsd:anyURI ;
               fhir:l fhir:positiveInt
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tim-8" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "PIVL.count" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.countMax" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.countMax" ] ;
           fhir:short [ fhir:v "Maximum number of times to repeat" ] ;
           fhir:definition [ fhir:v "If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.countMax" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "positiveInt"^^xsd:anyURI ;
               fhir:l fhir:positiveInt
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tim-8" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "PIVL.count" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.duration" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.duration" ] ;
           fhir:short [ fhir:v "How long when it happens" ] ;
           fhir:definition [ fhir:v "How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration." ] ;
           fhir:comment [ fhir:v "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise)." ] ;
           fhir:requirements [ fhir:v "Some activities are not instantaneous and need to be maintained for a period of time." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.duration" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "decimal"^^xsd:anyURI ;
               fhir:l fhir:decimal
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tim-7" ] [ fhir:v "tim-1" ] [ fhir:v "tim-4" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "PIVL.phase" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.durationMax" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.durationMax" ] ;
           fhir:short [ fhir:v "How long when it happens (Max)" ] ;
           fhir:definition [ fhir:v "If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length." ] ;
           fhir:comment [ fhir:v "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise)." ] ;
           fhir:requirements [ fhir:v "Some activities are not instantaneous and need to be maintained for a period of time." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.durationMax" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "decimal"^^xsd:anyURI ;
               fhir:l fhir:decimal
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tim-7" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "PIVL.phase" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.durationUnit" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.durationUnit" ] ;
           fhir:short [ fhir:v "s | min | h | d | wk | mo | a - unit of time (UCUM)" ] ;
           fhir:definition [ fhir:v "The units of time for the duration, in UCUM units\nNormal practice is to use the 'mo' code as a calendar month when calculating the next occurrence." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.durationUnit" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "code"^^xsd:anyURI ;
               fhir:l fhir:code
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tim-1" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "UnitsOfTime"
               ]
             ] ) ;
             fhir:strength [ fhir:v "required" ] ;
             fhir:description [ fhir:v "A unit of time (units from UCUM)." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/units-of-time|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/units-of-time?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "PIVL.phase.unit" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.frequency" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.frequency" ] ;
           fhir:short [ fhir:v "Indicates the number of repetitions that should occur within a period. I.e. Event occurs frequency times per period" ] ;
           fhir:definition [ fhir:v "The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.frequency" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "positiveInt"^^xsd:anyURI ;
               fhir:l fhir:positiveInt
             ]
           ] ) ;
           fhir:meaningWhenMissing [ fhir:v "If no frequency is stated, the assumption is that the event occurs once per period, but systems SHOULD always be specific about this" ] ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "PIVL.phase" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.frequencyMax" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.frequencyMax" ] ;
           fhir:short [ fhir:v "Event occurs up to frequencyMax times per period" ] ;
           fhir:definition [ fhir:v "If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.frequencyMax" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "positiveInt"^^xsd:anyURI ;
               fhir:l fhir:positiveInt
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "PIVL.phase" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.period" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.period" ] ;
           fhir:short [ fhir:v "The duration to which the frequency applies. I.e. Event occurs frequency times per period" ] ;
           fhir:definition [ fhir:v "Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.period" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "decimal"^^xsd:anyURI ;
               fhir:l fhir:decimal
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tim-6" ] [ fhir:v "tim-5" ] [ fhir:v "tim-2" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "PIVL.phase" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.periodMax" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.periodMax" ] ;
           fhir:short [ fhir:v "Upper limit of period (3-4 hours)" ] ;
           fhir:definition [ fhir:v "If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.periodMax" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "decimal"^^xsd:anyURI ;
               fhir:l fhir:decimal
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tim-6" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "PIVL.phase" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.periodUnit" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.periodUnit" ] ;
           fhir:short [ fhir:v "s | min | h | d | wk | mo | a - unit of time (UCUM)" ] ;
           fhir:definition [ fhir:v "The units of time for the period in UCUM units\nNormal practice is to use the 'mo' code as a calendar month when calculating the next occurrence." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.periodUnit" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "code"^^xsd:anyURI ;
               fhir:l fhir:code
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tim-2" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "UnitsOfTime"
               ]
             ] ) ;
             fhir:strength [ fhir:v "required" ] ;
             fhir:description [ fhir:v "A unit of time (units from UCUM)." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/units-of-time|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/units-of-time?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "PIVL.phase.unit" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.startOffset" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.startOffset" ] ;
           fhir:short [ fhir:v "Events within the repeat period do not start until startOffset has elapsed" ] ;
           fhir:definition [ fhir:v "Indicates that the events within the period of the repeat do not start until startOffset has elapsed. Requires both frequency and period to define the repeat cycle. See notes: Periods with start or end offsets." ] ;
           fhir:comment [ fhir:v "This element is defined to support interlaced schedules, e.g. for different actions that happen on different days, but that have repeat cycles that are tied together by the context. This is a usually encountered in Dosages." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.startOffset" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Quantity"^^xsd:anyURI ;
               fhir:l fhir:Quantity
             ] ;
             fhir:profile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/SimpleQuantity?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.endOffset" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.endOffset" ] ;
           fhir:short [ fhir:v "Events within the repeat period stop once endOffset before the end of the period" ] ;
           fhir:definition [ fhir:v "Indicates that the events within the period of the repeat stop endOffset before the period ends. Requires both frequency and period to define the repeat cycle. See notes: Periods with start or end offsets." ] ;
           fhir:comment [ fhir:v "This element is defined for medication schedules that cycle like 'do something for X days, and then stop for Y days'. This can only apply where the window for repeats has a defined or known end time." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.endOffset" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Quantity"^^xsd:anyURI ;
               fhir:l fhir:Quantity
             ] ;
             fhir:profile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/SimpleQuantity|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/SimpleQuantity?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.dayOfWeek" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.dayOfWeek" ] ;
           fhir:short [ fhir:v "mon | tue | wed | thu | fri | sat | sun" ] ;
           fhir:definition [ fhir:v "If one or more days of week is provided, then the action happens only on the specified day(s)." ] ;
           fhir:comment [ fhir:v "If no days are specified, the action is assumed to happen every day as otherwise specified." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.dayOfWeek" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "code"^^xsd:anyURI ;
               fhir:l fhir:code
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "DayOfWeek"
               ]
             ] ) ;
             fhir:strength [ fhir:v "required" ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/days-of-week|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/days-of-week?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.timeOfDay" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.timeOfDay" ] ;
           fhir:short [ fhir:v "Time of day for action" ] ;
           fhir:definition [ fhir:v "Specified time of day for action to take place." ] ;
           fhir:comment [ fhir:v "When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. If there's a timeOfDay, there cannot be a when, or vice versa." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.timeOfDay" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "time"^^xsd:anyURI ;
               fhir:l fhir:time
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tim-10" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.when" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.when" ] ;
           fhir:short [ fhir:v "Code for time period of occurrence" ] ;
           fhir:definition [ fhir:v "An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur." ] ;
           fhir:comment [ fhir:v "When more than one event is listed, the event is tied to the union of the specified events." ] ;
           fhir:requirements [ fhir:v "Timings are frequently determined by occurrences such as waking, eating and sleep." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.when" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "code"^^xsd:anyURI ;
               fhir:l fhir:code
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tim-9" ] [ fhir:v "tim-10" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "EventTiming"
               ]
             ] ) ;
             fhir:strength [ fhir:v "required" ] ;
             fhir:description [ fhir:v "Real-world event relating to the schedule." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/event-timing|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/event-timing?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "EIVL.event" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.offset" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.offset" ] ;
           fhir:short [ fhir:v "Minutes from event (before or after)" ] ;
           fhir:definition [ fhir:v "The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.repeat.offset" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "unsignedInt"^^xsd:anyURI ;
               fhir:l fhir:unsignedInt
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "tim-9" ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "EIVL.offset" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.code" ] ;
           fhir:path [ fhir:v "Task.input.value[x].code" ] ;
           fhir:short [ fhir:v "C | BID | TID | QID | AM | PM | QD | QOD | +" ] ;
           fhir:definition [ fhir:v "A code for the timing schedule (or just text in code.text). Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code)." ] ;
           fhir:comment [ fhir:v "BID etc. are defined as 'at institutionally specified times'. For example, an institution may choose that BID is \"always at 7am and 6pm\".  If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or a structured representation should be used (in this case, specifying the two event times)." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Timing.code" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "CodeableConcept"^^xsd:anyURI ;
               fhir:l fhir:CodeableConcept
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "TimingAbbreviation"
               ]
             ] ) ;
             fhir:strength [ fhir:v "preferred" ] ;
             fhir:description [ fhir:v "Code for a known / defined timing pattern." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/timing-abbreviation|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/timing-abbreviation?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "QSC.code" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.output" ] ;
           fhir:path [ fhir:v "Task.output" ] ;
           fhir:short [ fhir:v "Information produced as part of task" ] ;
           fhir:definition [ fhir:v "Outputs produced by the Task." ] ;
           fhir:requirements [ fhir:v "Resources and data produced during the execution the task.  This data is generated by the business logic of task execution, and is stored separately because it varies between workflows." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.output" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "BackboneElement"^^xsd:anyURI ;
               fhir:l fhir:BackboneElement
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children or both" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "???" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.output.id" ] ;
           fhir:path [ fhir:v "Task.output.id" ] ;
           fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
           fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
           fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.id" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>
               ] ;
               fhir:value [
                 a fhir:Url ;
                 fhir:v "string"^^xsd:anyURI ;
                 fhir:l fhir:string
               ]
             ] ) ;
             fhir:code [
               fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhirpath/System.String>
             ]
           ] ) ;
           fhir:condition ( [ fhir:v "ele-1" ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.output.extension" ] ;
           fhir:path [ fhir:v "Task.output.extension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Additional content defined by implementations" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Element.extension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.output.modifierExtension" ] ;
           fhir:path [ fhir:v "Task.output.modifierExtension" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "value" ] ;
               fhir:path [ fhir:v "url" ]
             ] ) ;
             fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
             fhir:rules [ fhir:v "open" ]
           ] ;
           fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
           fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
           fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension)." ] ;
           fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Extension"^^xsd:anyURI ;
               fhir:l fhir:Extension
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:isModifier [ fhir:v true ] ;
           fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "N/A" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.output.type" ] ;
           fhir:path [ fhir:v "Task.output.type" ] ;
           fhir:short [ fhir:v "Label for output" ] ;
           fhir:definition [ fhir:v "A code or description to distinguish between outputs." ] ;
           fhir:requirements [ fhir:v "Outputs are named to enable task automation to bind data and pass it from one task to the next." ] ;
           fhir:alias ( [ fhir:v "Name" ] ) ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.output.type" ] ;
             fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "CodeableConcept"^^xsd:anyURI ;
               fhir:l fhir:CodeableConcept
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "TaskOutputParameterType"
               ]
             ] ) ;
             fhir:strength [ fhir:v "example" ] ;
             fhir:description [ fhir:v "Codes to identify types of input parameters. These will typically be specific to a particular workflow.  E.g. \"Identified issues\", \"Preliminary results\", \"Filler order\", \"Final results\", etc." ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/task-inputoutput-parameter-type|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/task-inputoutput-parameter-type?version=6.0.0-ballot5>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "???" ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.output.value[x]" ] ;
           fhir:path [ fhir:v "Task.output.value[x]" ] ;
           fhir:short [ fhir:v "Result of output" ] ;
           fhir:definition [ fhir:v "The value of the Output parameter as a basic type." ] ;
           fhir:requirements [ fhir:v "Task outputs can take any form." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Task.output.value[x]" ] ;
             fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "base64Binary"^^xsd:anyURI ;
               fhir:l fhir:base64Binary
             ]
           ] [
             fhir:code [
               fhir:v "boolean"^^xsd:anyURI ;
               fhir:l fhir:boolean
             ]
           ] [
             fhir:code [
               fhir:v "canonical"^^xsd:anyURI ;
               fhir:l fhir:canonical
             ]
           ] [
             fhir:code [
               fhir:v "code"^^xsd:anyURI ;
               fhir:l fhir:code
             ]
           ] [
             fhir:code [
               fhir:v "date"^^xsd:anyURI ;
               fhir:l fhir:date
             ]
           ] [
             fhir:code [
               fhir:v "dateTime"^^xsd:anyURI ;
               fhir:l fhir:dateTime
             ]
           ] [
             fhir:code [
               fhir:v "decimal"^^xsd:anyURI ;
               fhir:l fhir:decimal
             ]
           ] [
             fhir:code [
               fhir:v "id"^^xsd:anyURI ;
               fhir:l fhir:id
             ]
           ] [
             fhir:code [
               fhir:v "instant"^^xsd:anyURI ;
               fhir:l fhir:instant
             ]
           ] [
             fhir:code [
               fhir:v "integer"^^xsd:anyURI ;
               fhir:l fhir:integer
             ]
           ] [
             fhir:code [
               fhir:v "integer64"^^xsd:anyURI ;
               fhir:l fhir:integer64
             ]
           ] [
             fhir:code [
               fhir:v "markdown"^^xsd:anyURI ;
               fhir:l fhir:markdown
             ]
           ] [
             fhir:code [
               fhir:v "oid"^^xsd:anyURI ;
               fhir:l fhir:oid
             ]
           ] [
             fhir:code [
               fhir:v "positiveInt"^^xsd:anyURI ;
               fhir:l fhir:positiveInt
             ]
           ] [
             fhir:code [
               fhir:v "string"^^xsd:anyURI ;
               fhir:l fhir:string
             ]
           ] [
             fhir:code [
               fhir:v "time"^^xsd:anyURI ;
               fhir:l fhir:time
             ]
           ] [
             fhir:code [
               fhir:v "unsignedInt"^^xsd:anyURI ;
               fhir:l fhir:unsignedInt
             ]
           ] [
             fhir:code [
               fhir:v "uri"^^xsd:anyURI ;
               fhir:l fhir:uri
             ]
           ] [
             fhir:code [
               fhir:v "url"^^xsd:anyURI ;
               fhir:l fhir:url
             ]
           ] [
             fhir:code [
               fhir:v "uuid"^^xsd:anyURI ;
               fhir:l fhir:uuid
             ]
           ] [
             fhir:code [
               fhir:v "Address"^^xsd:anyURI ;
               fhir:l fhir:Address
             ]
           ] [
             fhir:code [
               fhir:v "Age"^^xsd:anyURI ;
               fhir:l fhir:Age
             ]
           ] [
             fhir:code [
               fhir:v "Annotation"^^xsd:anyURI ;
               fhir:l fhir:Annotation
             ]
           ] [
             fhir:code [
               fhir:v "Attachment"^^xsd:anyURI ;
               fhir:l fhir:Attachment
             ]
           ] [
             fhir:code [
               fhir:v "CodeableConcept"^^xsd:anyURI ;
               fhir:l fhir:CodeableConcept
             ]
           ] [
             fhir:code [
               fhir:v "CodeableReference"^^xsd:anyURI ;
               fhir:l fhir:CodeableReference
             ]
           ] [
             fhir:code [
               fhir:v "Coding"^^xsd:anyURI ;
               fhir:l fhir:Coding
             ]
           ] [
             fhir:code [
               fhir:v "ContactPoint"^^xsd:anyURI ;
               fhir:l fhir:ContactPoint
             ]
           ] [
             fhir:code [
               fhir:v "Count"^^xsd:anyURI ;
               fhir:l fhir:Count
             ]
           ] [
             fhir:code [
               fhir:v "Distance"^^xsd:anyURI ;
               fhir:l fhir:Distance
             ]
           ] [
             fhir:code [
               fhir:v "Duration"^^xsd:anyURI ;
               fhir:l fhir:Duration
             ]
           ] [
             fhir:code [
               fhir:v "HumanName"^^xsd:anyURI ;
               fhir:l fhir:HumanName
             ]
           ] [
             fhir:code [
               fhir:v "Identifier"^^xsd:anyURI ;
               fhir:l fhir:Identifier
             ]
           ] [
             fhir:code [
               fhir:v "Money"^^xsd:anyURI ;
               fhir:l fhir:Money
             ]
           ] [
             fhir:code [
               fhir:v "Period"^^xsd:anyURI ;
               fhir:l fhir:Period
             ]
           ] [
             fhir:code [
               fhir:v "Quantity"^^xsd:anyURI ;
               fhir:l fhir:Quantity
             ]
           ] [
             fhir:code [
               fhir:v "Range"^^xsd:anyURI ;
               fhir:l fhir:Range
             ]
           ] [
             fhir:code [
               fhir:v "Ratio"^^xsd:anyURI ;
               fhir:l fhir:Ratio
             ]
           ] [
             fhir:code [
               fhir:v "RatioRange"^^xsd:anyURI ;
               fhir:l fhir:RatioRange
             ]
           ] [
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ]
           ] [
             fhir:code [
               fhir:v "SampledData"^^xsd:anyURI ;
               fhir:l fhir:SampledData
             ]
           ] [
             fhir:code [
               fhir:v "Signature"^^xsd:anyURI ;
               fhir:l fhir:Signature
             ]
           ] [
             fhir:code [
               fhir:v "Timing"^^xsd:anyURI ;
               fhir:l fhir:Timing
             ]
           ] [
             fhir:code [
               fhir:v "ContactDetail"^^xsd:anyURI ;
               fhir:l fhir:ContactDetail
             ]
           ] [
             fhir:code [
               fhir:v "DataRequirement"^^xsd:anyURI ;
               fhir:l fhir:DataRequirement
             ]
           ] [
             fhir:code [
               fhir:v "Expression"^^xsd:anyURI ;
               fhir:l fhir:Expression
             ]
           ] [
             fhir:code [
               fhir:v "ParameterDefinition"^^xsd:anyURI ;
               fhir:l fhir:ParameterDefinition
             ]
           ] [
             fhir:code [
               fhir:v "RelatedArtifact"^^xsd:anyURI ;
               fhir:l fhir:RelatedArtifact
             ]
           ] [
             fhir:code [
               fhir:v "TriggerDefinition"^^xsd:anyURI ;
               fhir:l fhir:TriggerDefinition
             ]
           ] [
             fhir:code [
               fhir:v "UsageContext"^^xsd:anyURI ;
               fhir:l fhir:UsageContext
             ]
           ] [
             fhir:code [
               fhir:v "Availability"^^xsd:anyURI ;
               fhir:l fhir:Availability
             ]
           ] [
             fhir:code [
               fhir:v "ExtendedContactDetail"^^xsd:anyURI ;
               fhir:l fhir:ExtendedContactDetail
             ]
           ] [
             fhir:code [
               fhir:v "VirtualServiceDetail"^^xsd:anyURI ;
               fhir:l fhir:VirtualServiceDetail
             ]
           ] [
             fhir:code [
               fhir:v "Dosage"^^xsd:anyURI ;
               fhir:l fhir:Dosage
             ]
           ] [
             fhir:code [
               fhir:v "Meta"^^xsd:anyURI ;
               fhir:l fhir:Meta
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "???" ]
           ] )
         ] )
      ] ; #
      fhir:differential [
         fhir:element ( [
           fhir:id [ fhir:v "Task" ] ;
           fhir:path [ fhir:v "Task" ]
         ] [
           fhir:id [ fhir:v "Task.description" ] ;
           fhir:path [ fhir:v "Task.description" ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]
         ] [
           fhir:id [ fhir:v "Task.executionPeriod" ] ;
           fhir:path [ fhir:v "Task.executionPeriod" ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]
         ] [
           fhir:id [ fhir:v "Task.authoredOn" ] ;
           fhir:path [ fhir:v "Task.authoredOn" ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]
         ] [
           fhir:id [ fhir:v "Task.requester" ] ;
           fhir:path [ fhir:v "Task.requester" ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]
         ] [
           fhir:id [ fhir:v "Task.input" ] ;
           fhir:path [ fhir:v "Task.input" ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ]
         ] [
           fhir:id [ fhir:v "Task.input.value[x]" ] ;
           fhir:path [ fhir:v "Task.input.value[x]" ] ;
           fhir:slicing [
             fhir:discriminator ( [
               fhir:type [ fhir:v "type" ] ;
               fhir:path [ fhir:v "$this" ]
             ] ) ;
             fhir:ordered [ fhir:v false ] ;
             fhir:rules [ fhir:v "open" ]
           ]
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming" ] ;
           fhir:path [ fhir:v "Task.input.value[x]" ] ;
           fhir:sliceName [ fhir:v "valueTiming" ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Timing"^^xsd:anyURI ;
               fhir:l fhir:Timing
             ]
           ] )
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.frequency" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.frequency" ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.period" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.period" ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]
         ] [
           fhir:id [ fhir:v "Task.input.value[x]:valueTiming.repeat.periodUnit" ] ;
           fhir:path [ fhir:v "Task.input.value[x].repeat.periodUnit" ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]
         ] )
      ] . #