## Union of https://interop.esante.gouv.fr/ig/fhir/ror/StructureDefinition/ror-task and https://interop.esante.gouv.fr/ig/fhir/ror/StructureDefinition/ror-task

This is the set of resources that conform to either of the profiles RORTask (https://interop.esante.gouv.fr/ig/fhir/ror/StructureDefinition/ror-task) and RORTask (https://interop.esante.gouv.fr/ig/fhir/ror/StructureDefinition/ror-task). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Task | C | 0..* |  | A task to be performed dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: 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 dom-6: A resource should have narrative for robust management dom-5: If a resource is contained in another resource, it SHALL NOT have a security label inv-1: Last modified date must be greater than or equal to authored-on date.
meta | Σ | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. ele-1: All FHIR elements must have a @value or children
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation ele-1: All FHIR elements must have a @value or children
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier | S | 0..1 | Identifier | Identifiant de l'anomalie ele-1: All FHIR elements must have a @value or children
instantiatesCanonical | Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task ele-1: All FHIR elements must have a @value or children
instantiatesUri | Σ | 0..1 | uri | Formal definition of task ele-1: All FHIR elements must have a @value or children
basedOn | Σ C | 0..* | Reference(Resource) | Request fulfilled by this task ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided
groupIdentifier | Σ | 0..1 | Identifier | Requisition or grouper id ele-1: All FHIR elements must have a @value or children
partOf | Σ C | 0..* | Reference(Task | RORTask) | Composite task ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided
status | ?!S Σ | 1..1 | code | draft | requested | received | accepted | + Binding: ?? (required): The current status of the task. ele-1: All FHIR elements must have a @value or children
statusReason | Σ | 0..1 | CodeableConcept | Reason for current status Binding Description (No ValueSet): (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. ele-1: All FHIR elements must have a @value or children
businessStatus | S Σ | 1..1 | CodeableConcept | Statut métier de traitement de l'anomalie Binding: ?? (required) ele-1: All FHIR elements must have a @value or children
intent | Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: ?? (required): Distinguishes whether the task is a proposal, plan or full order. ele-1: All FHIR elements must have a @value or children
priority |  | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): The task's priority. ele-1: All FHIR elements must have a @value or children
code | S Σ | 1..1 | CodeableConcept | Thématique de l'anomalie exemples :Exactitude, Complétude, Exhaustivité Binding: ?? (required) ele-1: All FHIR elements must have a @value or children
description | S Σ | 0..1 | string | Description de l'anomalie ele-1: All FHIR elements must have a @value or children
focus | S Σ C | 1..1 | Reference(Resource) | référence vers la ressources en anomalie ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided
for | Σ C | 0..1 | Reference(Resource) | Beneficiary of the Task ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided
encounter | Σ C | 0..1 | Reference(Encounter) | Healthcare event during which this task originated ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided
executionPeriod | Σ C | 0..1 | Period | Start and end time of execution ele-1: All FHIR elements must have a @value or children per-1: If present, start SHALL have a lower value than end
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
start | S Σ | 0..1 | dateTime | Date d'envoi au destinataire du traitement de l'anomalie ele-1: All FHIR elements must have a @value or children
end | S Σ | 0..1 | dateTime | Date de fin de traitement de l'anomalie par le destinataire ele-1: All FHIR elements must have a @value or children
authoredOn | S | 1..1 | dateTime | Date création de l'anomalie ele-1: All FHIR elements must have a @value or children
lastModified | S Σ | 1..1 | dateTime | Date de dernière modification ele-1: All FHIR elements must have a @value or children
requester | S Σ C | 0..1 | Reference(ROROrganization | RORPractitioner | RORPractitionerRole | #sd-ror-organization-ror-organization) | Who is asking for task to be done ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided
performerType |  | 0..* | CodeableConcept | Requested performer Binding: ?? (preferred): The type(s) of task performers allowed. ele-1: All FHIR elements must have a @value or children
owner | S Σ C | 0..1 | Reference(ROROrganization | RORPractitioner | RORPractitionerRole | RORHealthcareService | #sd-ror-organization-ror-organization) | Responsible individual ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided
location | Σ C | 0..1 | Reference(Location | RORLocation) | Where task occurs ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided
reasonCode | S | 1..1 | CodeableConcept | Type d'action proposée en réponse Binding: ?? (required) ele-1: All FHIR elements must have a @value or children
reasonReference | C | 0..1 | Reference(Resource) | Why task is needed ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided
insurance | C | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided
note |  | 0..* | Annotation | Comments made about the task ele-1: All FHIR elements must have a @value or children
relevantHistory | C | 0..* | Reference(Provenance) | Key events in history of the Task ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided
restriction |  | 0..1 | BackboneElement | Constraints on fulfillment tasks ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
repetitions |  | 0..1 | positiveInt | How many times to repeat ele-1: All FHIR elements must have a @value or children
period | C | 0..1 | Period | When fulfillment sought ele-1: All FHIR elements must have a @value or children per-1: If present, start SHALL have a lower value than end
recipient | C | 0..* | Reference(ROROrganization | RORPractitioner | RORPractitionerRole | #sd-ror-organization-ror-organization) | For whom is fulfillment sought? ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided
input | S | 1..* | BackboneElement | Eléments en entrée pour définir l'anomalie ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
type |  | 1..1 | CodeableConcept | Label for the input Binding Description (No ValueSet): (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc. ele-1: All FHIR elements must have a @value or children
value[x] |  | 1..1 |  | Content to use in performing the task ele-1: All FHIR elements must have a @value or children
valueBase64Binary |  |  | base64Binary |
valueBoolean |  |  | boolean |
valueCanonical |  |  | canonical(Any) |
valueCode |  |  | code |
valueDate |  |  | date |
valueDateTime |  |  | dateTime |
valueDecimal |  |  | decimal |
valueId |  |  | id |
valueInstant |  |  | instant |
valueInteger |  |  | integer |
valueMarkdown |  |  | markdown |
valueOid |  |  | oid |
valuePositiveInt |  |  | positiveInt |
valueString |  |  | string |
valueTime |  |  | time |
valueUnsignedInt |  |  | unsignedInt |
valueUri |  |  | uri |
valueUrl |  |  | url |
valueUuid |  |  | uuid |
valueAddress |  |  | Address |
valueAge |  |  | Age |
valueAnnotation |  |  | Annotation |
valueAttachment |  |  | Attachment |
valueCodeableConcept |  |  | CodeableConcept |
valueCoding |  |  | Coding |
valueContactPoint |  |  | ContactPoint |
valueCount |  |  | Count |
valueDistance |  |  | Distance |
valueDuration |  |  | Duration |
valueHumanName |  |  | HumanName |
valueIdentifier |  |  | Identifier |
valueMoney |  |  | Money |
valuePeriod |  |  | Period |
valueQuantity |  |  | Quantity |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueReference |  |  | Reference(Any) |
valueSampledData |  |  | SampledData |
valueSignature |  |  | Signature |
valueTiming |  |  | Timing |
valueContactDetail |  |  | ContactDetail |
valueContributor |  |  | Contributor |
valueDataRequirement |  |  | DataRequirement |
valueExpression |  |  | Expression |
valueParameterDefinition |  |  | ParameterDefinition |
valueRelatedArtifact |  |  | RelatedArtifact |
valueTriggerDefinition |  |  | TriggerDefinition |
valueUsageContext |  |  | UsageContext |
valueDosage |  |  | Dosage |
valueMeta |  |  | Meta |
output |  | 0..* | BackboneElement | Eléments en sortie concerant le traitement de l'anomalie ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
type |  | 1..1 | CodeableConcept | Label for output Binding Description (No ValueSet): (example): 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. ele-1: All FHIR elements must have a @value or children
value[x] |  | 1..1 |  | Result of output ele-1: All FHIR elements must have a @value or children
valueBase64Binary |  |  | base64Binary |
valueBoolean |  |  | boolean |
valueCanonical |  |  | canonical(Any) |
valueCode |  |  | code |
valueDate |  |  | date |
valueDateTime |  |  | dateTime |
valueDecimal |  |  | decimal |
valueId |  |  | id |
valueInstant |  |  | instant |
valueInteger |  |  | integer |
valueMarkdown |  |  | markdown |
valueOid |  |  | oid |
valuePositiveInt |  |  | positiveInt |
valueString |  |  | string |
valueTime |  |  | time |
valueUnsignedInt |  |  | unsignedInt |
valueUri |  |  | uri |
valueUrl |  |  | url |
valueUuid |  |  | uuid |
valueAddress |  |  | Address |
valueAge |  |  | Age |
valueAnnotation |  |  | Annotation |
valueAttachment |  |  | Attachment |
valueCodeableConcept |  |  | CodeableConcept |
valueCoding |  |  | Coding |
valueContactPoint |  |  | ContactPoint |
valueCount |  |  | Count |
valueDistance |  |  | Distance |
valueDuration |  |  | Duration |
valueHumanName |  |  | HumanName |
valueIdentifier |  |  | Identifier |
valueMoney |  |  | Money |
valuePeriod |  |  | Period |
valueQuantity |  |  | Quantity |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueReference |  |  | Reference(Any) |
valueSampledData |  |  | SampledData |
valueSignature |  |  | Signature |
valueTiming |  |  | Timing |
valueContactDetail |  |  | ContactDetail |
valueContributor |  |  | Contributor |
valueDataRequirement |  |  | DataRequirement |
valueExpression |  |  | Expression |
valueParameterDefinition |  |  | ParameterDefinition |
valueRelatedArtifact |  |  | RelatedArtifact |
valueTriggerDefinition |  |  | TriggerDefinition |
valueUsageContext |  |  | UsageContext |
valueDosage |  |  | Dosage |
valueMeta |  |  | Meta |
Documentation for this format