Répertoire national de l’Offre et des Ressources en santé et accompagnement médico-social
0.5.0-snapshot-1 - ci-build

Répertoire national de l’Offre et des Ressources en santé et accompagnement médico-social - Local Development build (v0.5.0-snapshot-1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: RORTask - Mappings

Draft as of 2025-02-17

Mappings for the ror-task resource profile.

### Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

RORTask
Task | Request, Event
identifier | Request.identifier, Event.identifier
instantiatesCanonical | Request.instantiatesCanonical, Event.instantiatesCanonical
instantiatesUri | Event.instantiatesUrl
basedOn | Request.basedOn, Event.basedOn
groupIdentifier | Request.groupIdentifier
partOf | Event.partOf
status | Request.status, Event.status
intent | Request.intent
priority | Request.priority
code | Request.code, Event.code
for | Request.subject, Event.subject
encounter | Request.context, Event.context
executionPeriod | Event.occurrence[x]
authoredOn | Request.authoredOn
requester | Request.requester
performerType | Event.performer.role, Request.performerType
owner | Event.performer.actor, Request.performer
location | Request.reasonCode, Event.reasonCode
reasonCode | Event.location
reasonReference | Request.reasonReference, Event.reasonReference
insurance | Request.insurance
note | Request.note, Event.note
relevantHistory | Request.relevantHistory

### Mappings for RIM Mapping (http://hl7.org/v3)

RORTask
Task | Entity. Role, or Act, ControlAct[moodCode=INT]
meta | n/a, N/A
implicitRules | n/a
language | n/a
text | n/a, N/A, Act.text?
contained | Entity. Role, or Act, N/A
extension | n/a, N/A
modifierExtension | n/a, N/A
identifier | n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .id
instantiatesCanonical | n/a, .outboundRelationship[typeCode=DEFN].target
instantiatesUri | n/a, .outboundRelationship[typeCode=DEFN].target
basedOn | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=FLFS].target[moodCode=INT]
groupIdentifier | n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .inboundRelationship[typeCode=COMP].source[moodCode=INT].id
partOf | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .inboundRelationship[typeCode=COMP].source[moodCode=INT]
status | n/a, .statusCode
statusReason | n/a, CD, .inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN, code="status change"].reasonCode
businessStatus | n/a, CD, .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="business status"]
intent | n/a, .moodCode
priority | n/a, .priorityCode
code | n/a, CD, .code
description | n/a, .text
focus | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=SUBJ].target
for | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=RCT].role
encounter | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN]
executionPeriod | n/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], .effectiveTime
id | n/a
extension | n/a, N/A
start | n/a, ./low
end | n/a, ./high
authoredOn | n/a, .participation[typeCode=AUT].time
lastModified | n/a, .inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime
requester | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=AUT].role
performerType | n/a, CD, .participation[typeCode=PRF].role.code
owner | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=PRF].role
location | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=LOC].role
reasonCode | n/a, CD, .reasonCode
reasonReference | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=RSON].target
insurance | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COVBY].target
note | n/a, Act, .inboundRelationship[typeCode=SUBJ, ].source[classCode=OBS, moodCode=EVN, code="annotation"].value(string)
relevantHistory | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]
restriction | n/a, Instead of pointing to request, would point to component of request, having these characteristics
id | n/a
extension | n/a, N/A
modifierExtension | n/a, N/A
repetitions | n/a, .repeatNumber
period | n/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], .effectiveTime(IVL<TS>)
recipient | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=SBJ].role
input | n/a, ???
id | n/a
extension | n/a, N/A
modifierExtension | n/a, N/A
type | n/a, CD, ???
value[x] | n/a, ???
input (ruleErrorId) | n/a, ???
id | n/a
extension | n/a, N/A
modifierExtension | n/a, N/A
type | n/a, CD, ???
value[x] | n/a, ???
input (errorValue) | n/a, ???
id | n/a
extension | n/a, N/A
modifierExtension | n/a, N/A
type | n/a, CD, ???
value[x] | n/a, ???
input (proposedValue) | n/a, ???
id | n/a
extension | n/a, N/A
modifierExtension | n/a, N/A
type | n/a, CD, ???
value[x] | n/a, ???
input (pathElementError) | n/a, ???
id | n/a
extension | n/a, N/A
modifierExtension | n/a, N/A
type | n/a, CD, ???
value[x] | n/a, ???
input (systemRequester) | n/a, ???
id | n/a
extension | n/a, N/A
modifierExtension | n/a, N/A
type | n/a, CD, ???
value[x] | n/a, ???
input (identifierRequester) | n/a, ???
id | n/a
extension | n/a, N/A
modifierExtension | n/a, N/A
type | n/a, CD, ???
value[x] | n/a, ???
output | n/a, ???
id | n/a
extension | n/a, N/A
modifierExtension | n/a, N/A
type | n/a, CD, ???
value[x] | n/a, ???
output (newValue) | n/a, ???
id | n/a
extension | n/a, N/A
modifierExtension | n/a, N/A
type | n/a, CD, ???
value[x] | n/a, ???
output (identifierAnalyst) | n/a, ???
id | n/a
extension | n/a, N/A
modifierExtension | n/a, N/A
type | n/a, CD, ???
value[x] | n/a, ???

### Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

RORTask
Task |
identifier | FiveWs.identifier
status | FiveWs.status
intent | FiveWs.class
priority | FiveWs.grade
code | FiveWs.what[x]
focus | FiveWs.what[x]
for | FiveWs.subject[x], FiveWs.subject
encounter | FiveWs.context
executionPeriod | FiveWs.done[x]
authoredOn | FiveWs.recorded
requester | FiveWs.author
performerType | FiveWs.actor
owner | FiveWs.actor
location | FiveWs.where[x]
reasonCode | FiveWs.why[x]
reasonReference | FiveWs.why[x]

### Mappings for HL7 v2 Mapping (http://hl7.org/v2)

RORTask
Task |
identifier | CX / EI (occasionally, more often EI maps to a resource id or a URL)
groupIdentifier | CX / EI (occasionally, more often EI maps to a resource id or a URL)
statusReason | CE/CNE/CWE
businessStatus | CE/CNE/CWE
code | CE/CNE/CWE
executionPeriod | DR
start | DR.1
end | DR.2
performerType | CE/CNE/CWE
reasonCode | CE/CNE/CWE, EVN.7
insurance | IN1/IN2
note | N/A
restriction |
period | DR
input |
type | CE/CNE/CWE
input (ruleErrorId) |
type | CE/CNE/CWE
input (errorValue) |
type | CE/CNE/CWE
input (proposedValue) |
type | CE/CNE/CWE
input (pathElementError) |
type | CE/CNE/CWE
input (systemRequester) |
type | CE/CNE/CWE
input (identifierRequester) |
type | CE/CNE/CWE
output |
type | CE/CNE/CWE
output (newValue) |
type | CE/CNE/CWE
output (identifierAnalyst) |
type | CE/CNE/CWE