FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagejohnmoehrke.ORcoordination.example
Resource TypeStructureDefinition
IdStructureDefinition-Task.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/JohnMoehrke/ORcoordination/StructureDefinition-Task.html
URLhttp://johnmoehrke.github.io/ORcoordination/StructureDefinition/Task
Version0.1.0
Statusdraft
Date2026-03-27T16:45:53+00:00
NameTask
TitleTask Logical Model
Realmuv
DescriptionA conceptual model representing a task or activity that needs to be performed as part of care coordination. Captures the details of the task without prescribing a specific workflow or FHIR resource.
Typehttp://johnmoehrke.github.io/ORcoordination/StructureDefinition/Task
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition Task

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task 0..*BaseTask Logical Model
... taskId 1..1IdentifierUnique identifier for the task
... caseId 1..1IdentifierIdentifier of the case this task belongs to
... type 1..1codeTask type: VENDOR_CONFIRMATION | IMPLANT_AVAILABILITY | CONSENT_COMPLETE | CLEARANCE_COMPLETE
... assignedTo 1..1BackboneElementEntity assigned to complete the task
.... entityType 1..1codeAssigned entity type: VENDOR | FACILITY | SURGEON
.... entityId 1..1IdentifierIdentifier of the assigned entity
... dueTime 0..1dateTimeDate/time by which the task should be completed
... status 1..1codeTask status: PENDING | COMPLETED | FAILED
... completion 0..1BackboneElementCompletion details for the task
.... timestamp 0..1dateTimeWhen the task was completed
.... method 0..1codeCompletion method: SYSTEM | USER | API | MESSAGE_LINK

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "Task",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://johnmoehrke.github.io/ORcoordination/StructureDefinition/Task",
  "version": "0.1.0",
  "name": "Task",
  "title": "Task Logical Model",
  "status": "draft",
  "date": "2026-03-27T16:45:53+00:00",
  "publisher": "John Moehrke (himself)",
  "contact": [
    {
      "name": "John Moehrke (himself)",
      "telecom": [
        {
          "system": "url",
          "value": "http://MoehrkeResearch.com"
        },
        {
          "system": "email",
          "value": "JohnMoehrke@gmail.com"
        }
      ]
    }
  ],
  "description": "A conceptual model representing a task or activity that needs to be performed as part of care coordination. Captures the details of the task without prescribing a specific workflow or FHIR resource.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": false,
  "type": "http://johnmoehrke.github.io/ORcoordination/StructureDefinition/Task",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "Task",
        "path": "Task",
        "short": "Task Logical Model",
        "definition": "A conceptual model representing a task or activity that needs to be performed as part of care coordination. Captures the details of the task without prescribing a specific workflow or FHIR resource.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "Task.taskId",
        "path": "Task.taskId",
        "short": "Unique identifier for the task",
        "definition": "Unique identifier for the task",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Task.taskId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "Task.caseId",
        "path": "Task.caseId",
        "short": "Identifier of the case this task belongs to",
        "definition": "Identifier of the case this task belongs to",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Task.caseId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "Task.type",
        "path": "Task.type",
        "short": "Task type: VENDOR_CONFIRMATION | IMPLANT_AVAILABILITY | CONSENT_COMPLETE | CLEARANCE_COMPLETE",
        "definition": "Task type: VENDOR_CONFIRMATION | IMPLANT_AVAILABILITY | CONSENT_COMPLETE | CLEARANCE_COMPLETE",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Task.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Task.assignedTo",
        "path": "Task.assignedTo",
        "short": "Entity assigned to complete the task",
        "definition": "Entity assigned to complete the task",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Task.assignedTo",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "Task.assignedTo.id",
        "path": "Task.assignedTo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Task.assignedTo.extension",
        "path": "Task.assignedTo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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 manageable, 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.",
        "comment": "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Task.assignedTo.modifierExtension",
        "path": "Task.assignedTo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "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 manageable, 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).",
        "comment": "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.",
        "requirements": "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://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Task.assignedTo.entityType",
        "path": "Task.assignedTo.entityType",
        "short": "Assigned entity type: VENDOR | FACILITY | SURGEON",
        "definition": "Assigned entity type: VENDOR | FACILITY | SURGEON",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Task.assignedTo.entityType",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Task.assignedTo.entityId",
        "path": "Task.assignedTo.entityId",
        "short": "Identifier of the assigned entity",
        "definition": "Identifier of the assigned entity",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Task.assignedTo.entityId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "Task.dueTime",
        "path": "Task.dueTime",
        "short": "Date/time by which the task should be completed",
        "definition": "Date/time by which the task should be completed",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Task.dueTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Task.status",
        "path": "Task.status",
        "short": "Task status: PENDING | COMPLETED | FAILED",
        "definition": "Task status: PENDING | COMPLETED | FAILED",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Task.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Task.completion",
        "path": "Task.completion",
        "short": "Completion details for the task",
        "definition": "Completion details for the task",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Task.completion",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "Task.completion.id",
        "path": "Task.completion.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Task.completion.extension",
        "path": "Task.completion.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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 manageable, 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.",
        "comment": "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Task.completion.modifierExtension",
        "path": "Task.completion.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "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 manageable, 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).",
        "comment": "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.",
        "requirements": "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://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Task.completion.timestamp",
        "path": "Task.completion.timestamp",
        "short": "When the task was completed",
        "definition": "When the task was completed",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Task.completion.timestamp",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Task.completion.method",
        "path": "Task.completion.method",
        "short": "Completion method: SYSTEM | USER | API | MESSAGE_LINK",
        "definition": "Completion method: SYSTEM | USER | API | MESSAGE_LINK",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Task.completion.method",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Task",
        "path": "Task",
        "short": "Task Logical Model",
        "definition": "A conceptual model representing a task or activity that needs to be performed as part of care coordination. Captures the details of the task without prescribing a specific workflow or FHIR resource."
      },
      {
        "id": "Task.taskId",
        "path": "Task.taskId",
        "short": "Unique identifier for the task",
        "definition": "Unique identifier for the task",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "Task.caseId",
        "path": "Task.caseId",
        "short": "Identifier of the case this task belongs to",
        "definition": "Identifier of the case this task belongs to",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "Task.type",
        "path": "Task.type",
        "short": "Task type: VENDOR_CONFIRMATION | IMPLANT_AVAILABILITY | CONSENT_COMPLETE | CLEARANCE_COMPLETE",
        "definition": "Task type: VENDOR_CONFIRMATION | IMPLANT_AVAILABILITY | CONSENT_COMPLETE | CLEARANCE_COMPLETE",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Task.assignedTo",
        "path": "Task.assignedTo",
        "short": "Entity assigned to complete the task",
        "definition": "Entity assigned to complete the task",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Task.assignedTo.entityType",
        "path": "Task.assignedTo.entityType",
        "short": "Assigned entity type: VENDOR | FACILITY | SURGEON",
        "definition": "Assigned entity type: VENDOR | FACILITY | SURGEON",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Task.assignedTo.entityId",
        "path": "Task.assignedTo.entityId",
        "short": "Identifier of the assigned entity",
        "definition": "Identifier of the assigned entity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "Task.dueTime",
        "path": "Task.dueTime",
        "short": "Date/time by which the task should be completed",
        "definition": "Date/time by which the task should be completed",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Task.status",
        "path": "Task.status",
        "short": "Task status: PENDING | COMPLETED | FAILED",
        "definition": "Task status: PENDING | COMPLETED | FAILED",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Task.completion",
        "path": "Task.completion",
        "short": "Completion details for the task",
        "definition": "Completion details for the task",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Task.completion.timestamp",
        "path": "Task.completion.timestamp",
        "short": "When the task was completed",
        "definition": "When the task was completed",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Task.completion.method",
        "path": "Task.completion.method",
        "short": "Completion method: SYSTEM | USER | API | MESSAGE_LINK",
        "definition": "Completion method: SYSTEM | USER | API | MESSAGE_LINK",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      }
    ]
  }
}