{
"description": "Defines a single activity within an Instruction, such as a medication administration. ",
"_filename": "StructureDefinition-ACTIVITY.json",
"package_name": "openehr.base",
"date": "2025-09-06T15:35:39+10:00",
"derivation": "specialization",
"publisher": "openEHR + HL7",
"fhirVersion": "5.0.0",
"jurisdiction": [ {
"coding": [ {
"code": "001",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
} ]
} ],
"name": "ACTIVITY",
"mapping": [ {
"uri": "http://hl7.org/v3",
"name": "RIM Mapping",
"identity": "rim"
} ],
"abstract": false,
"type": "http://openehr.org/fhir/StructureDefinition/ACTIVITY",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": "ACTIVITY",
"package_version": "0.1.0-snapshot",
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/web-source",
"valueUrl": "https://specifications.openehr.org/releases/RM/development/ehr.html#_activity_class"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
"valueCanonical": "#concept"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint",
"valueCode": "element-view-replace-cardinality"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 3,
"_valueInteger": {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
} ]
}
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "informative",
"_valueCode": {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
} ]
}
} ],
"snapshot": {
"element": [ {
"constraint": [ {
"key": "Links_valid",
"human": "Links valid must be present",
"source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE",
"severity": "error",
"expression": "links.exists() implies links.empty().not()"
}, {
"key": "Archetyped_valid",
"human": "Archetyped valid must satisfy exclusive conditions",
"source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE",
"severity": "error",
"expression": "is_archetype_root() xor archetype_details .empty()"
}, {
"key": "Archetype_node_id_valid",
"human": "Archetype node id valid must not be empty",
"source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE",
"severity": "error",
"expression": "archetype_node_id.empty().not()"
}, {
"key": "Action_archetype_id_valid",
"human": "Action archetype id valid must not be empty",
"severity": "error",
"expression": "action_archetype_id.empty().not()"
} ],
"path": "ACTIVITY",
"min": 0,
"definition": "Defines a single activity within an Instruction, such as a medication administration. ",
"isModifier": false,
"short": "Defines a single activity within an Instruction, such as a medication administration.",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"max": "*",
"id": "ACTIVITY",
"base": {
"max": "*",
"min": 0,
"path": "Base"
}
}, {
"path": "ACTIVITY.name",
"min": 1,
"definition": "Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users.",
"isModifier": false,
"short": "Runtime name of this fragment, used to build runtime paths.",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/DV-TEXT"
} ],
"max": "1",
"id": "ACTIVITY.name",
"base": {
"max": "1",
"min": 1,
"path": "LOCATABLE.name"
}
}, {
"path": "ACTIVITY.archetype_node_id",
"min": 1,
"definition": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g. `at0005`. This value enables a 'standardised' name for this node to be generated, by referring to the generating archetype local terminology. \n\nAt an archetype root point, the value of this attribute is always the stringified form of the `_archetype_id_` found in the `_archetype_details_` object.",
"isModifier": false,
"short": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.",
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "ACTIVITY.archetype-node-id",
"base": {
"max": "1",
"min": 1,
"path": "LOCATABLE.archetype_node_id"
}
}, {
"path": "ACTIVITY.uid",
"min": 0,
"definition": "Optional globally unique object identifier for root points of archetyped structures.",
"isModifier": false,
"short": "Optional globally unique object identifier for root points of archetyped structures.",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/UID-BASED-ID"
} ],
"max": "1",
"id": "ACTIVITY.uid",
"base": {
"max": "1",
"min": 0,
"path": "LOCATABLE.uid"
}
}, {
"path": "ACTIVITY.links",
"min": 0,
"definition": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on). Links may be to structures in other compositions.",
"isModifier": false,
"short": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on).",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/LINK"
} ],
"max": "*",
"id": "ACTIVITY.links",
"base": {
"max": "*",
"min": 0,
"path": "LOCATABLE.links"
}
}, {
"path": "ACTIVITY.archetype_details",
"min": 0,
"definition": "Details of archetyping used on this node.",
"isModifier": false,
"short": "Details of archetyping used on this node.",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/ARCHETYPED"
} ],
"max": "1",
"id": "ACTIVITY.archetype-details",
"base": {
"max": "1",
"min": 0,
"path": "LOCATABLE.archetype_details"
}
}, {
"path": "ACTIVITY.feeder_audit",
"min": 0,
"definition": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
"isModifier": false,
"short": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/FEEDER-AUDIT"
} ],
"max": "1",
"id": "ACTIVITY.feeder-audit",
"base": {
"max": "1",
"min": 0,
"path": "LOCATABLE.feeder_audit"
}
}, {
"path": "ACTIVITY.timing",
"min": 0,
"definition": "Timing of the activity, in the form of a parsable string. If used, the preferred syntax is ISO8601 'R' format, but other formats may be used including HL7 GTS.\n\nMay be omitted if:\n\n* timing is represented structurally in the `_description_` attribute (e.g. via archetyped elements), or\n* unavailable, e.g. imported legacy data; in such cases, the `INSTRUCTION._narrative_` should carry text that indicates the timing of its `_activities_`.",
"isModifier": false,
"short": "Timing of the activity, in the form of a parsable string.",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/DV-PARSABLE"
} ],
"max": "1",
"id": "ACTIVITY.timing",
"base": {
"max": "1",
"min": 0,
"path": "ACTIVITY.timing"
}
}, {
"path": "ACTIVITY.action_archetype_id",
"min": 1,
"definition": "Perl-compliant regular expression pattern, enclosed in '//' delimiters, indicating the valid identifiers of archetypes for Actions corresponding to this Activity specification. \n\nDefaults to `/.*/`, meaning any archetype.",
"isModifier": false,
"short": "Perl-compliant regular expression pattern, enclosed in '//' delimiters, indicating the valid identifiers of archetypes for Actions corresponding to this Activity specification.",
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "ACTIVITY.action-archetype-id",
"base": {
"max": "1",
"min": 1,
"path": "ACTIVITY.action_archetype_id"
}
}, {
"path": "ACTIVITY.description",
"min": 1,
"definition": "Description of the activity, in the form of an archetyped structure.",
"isModifier": false,
"short": "Description of the activity, in the form of an archetyped structure.",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/ITEM-STRUCTURE"
} ],
"max": "1",
"id": "ACTIVITY.description",
"base": {
"max": "1",
"min": 1,
"path": "ACTIVITY.description"
}
} ],
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "0.1.0-snapshot"
} ]
},
"status": "active",
"id": "7de41f3c-d24b-42b2-918a-cb3d8d7349b6",
"kind": "logical",
"url": "http://openehr.org/fhir/StructureDefinition/ACTIVITY",
"version": "0.1.0-snapshot",
"differential": {
"element": [ {
"id": "ACTIVITY",
"max": "*",
"min": 0,
"path": "ACTIVITY",
"short": "Defines a single activity within an Instruction, such as a medication administration.",
"constraint": [ {
"key": "Action_archetype_id_valid",
"human": "Action archetype id valid must not be empty",
"severity": "error",
"expression": "action_archetype_id.empty().not()"
} ],
"definition": "Defines a single activity within an Instruction, such as a medication administration. ",
"isModifier": false
}, {
"id": "ACTIVITY.timing",
"max": "1",
"min": 0,
"path": "ACTIVITY.timing",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/DV-PARSABLE"
} ],
"short": "Timing of the activity, in the form of a parsable string.",
"definition": "Timing of the activity, in the form of a parsable string. If used, the preferred syntax is ISO8601 'R' format, but other formats may be used including HL7 GTS.\n\nMay be omitted if:\n\n* timing is represented structurally in the `_description_` attribute (e.g. via archetyped elements), or\n* unavailable, e.g. imported legacy data; in such cases, the `INSTRUCTION._narrative_` should carry text that indicates the timing of its `_activities_`.",
"isModifier": false
}, {
"id": "ACTIVITY.action-archetype-id",
"max": "1",
"min": 1,
"path": "ACTIVITY.action_archetype_id",
"type": [ {
"code": "string"
} ],
"short": "Perl-compliant regular expression pattern, enclosed in '//' delimiters, indicating the valid identifiers of archetypes for Actions corresponding to this Activity specification.",
"definition": "Perl-compliant regular expression pattern, enclosed in '//' delimiters, indicating the valid identifiers of archetypes for Actions corresponding to this Activity specification. \n\nDefaults to `/.*/`, meaning any archetype.",
"isModifier": false
}, {
"id": "ACTIVITY.description",
"max": "1",
"min": 1,
"path": "ACTIVITY.description",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/ITEM-STRUCTURE"
} ],
"short": "Description of the activity, in the form of an archetyped structure.",
"definition": "Description of the activity, in the form of an archetyped structure.",
"isModifier": false
} ]
},
"contact": [ {
"telecom": [ {
"value": "http://www.openehr.org",
"system": "url"
} ]
} ],
"baseDefinition": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
}