Mappings for the task resource.
| Task | ControlAct[moodCode=INT] |
| identifier | .id |
| definition[x] | .outboundRelationship[typeCode=DEFN].target |
| basedOn | .outboundRelationship[typeCode=FLFS].target[moodCode=INT] |
| groupIdentifier | .inboundRelationship[typeCode=COMP].source[moodCode=INT].id |
| partOf | .inboundRelationship[typeCode=COMP].source[moodCode=INT] |
| status | .statusCode |
| statusReason | .inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN, code="status change"].reasonCode |
| businessStatus | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="business status"] |
| intent | .moodCode |
| priority | .priorityCode |
| code | .code |
| description | .text |
| focus | .outboundRelationship[typeCode=SUBJ].target |
| for | .participation[typeCode=RCT].role |
| context | .inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN] |
| executionPeriod | |
| authoredOn | .participation[typeCode=AUT].time |
| lastModified | .inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime |
| requester | .participation[typeCode=AUT].role |
| agent | .player |
| onBehalfOf | .scoper |
| performerType | .participation[typeCode=PRF].role.code |
| owner | .participation[typeCode=PRF].role |
| reason | .reasonCode |
| note | .inboundRelationship[typeCode=SUBJ, ].source[classCode=OBS, moodCode=EVN, code="annotation"].value(string) |
| relevantHistory | .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN] |
| restriction | Instead of pointing to request, would point to component of request, having these characteristics |
| repetitions | .repeatNumber |
| period | .effectiveTime(IVL<TS>) |
| recipient | .participation[typeCode=SBJ].role |
| input | ??? |
| type | ??? |
| value[x] | ??? |
| output | ??? |
| type | ??? |
| value[x] | ??? |
| Task | Request, Event |
| identifier | Request.identifier, Event.identifier |
| definition[x] | Request.definition, Event.definition |
| basedOn | Request.basedOn, Definition.basedOn |
| groupIdentifier | Request.groupIdentifier |
| partOf | Event.partOf |
| status | Request.status, Event.status |
| statusReason | |
| businessStatus | |
| intent | Request.intent |
| priority | Request.priority |
| code | Request.code, Event.code |
| description | |
| focus | |
| for | Request.subject, Event.subject |
| context | Request.context, Event.context |
| executionPeriod | Event.occurrence[x] |
| authoredOn | Request.authoredOn |
| lastModified | |
| requester | Request.requester |
| agent | Request.requester.agent |
| onBehalfOf | Request.requester.onBehalfOf |
| performerType | Event.performer.role, Request.performerType |
| owner | Event.performer.actor, Request.performer |
| reason | Request.reasonCode, Event.reasonCodeableConcept |
| note | Request.note, Event.note |
| relevantHistory | Request.relevantHistory |
| restriction | |
| repetitions | |
| period | |
| recipient | |
| input | |
| type | |
| value[x] | |
| output | |
| type | |
| value[x] | |