Stream: Vulcan/SoA
Topic: Activity Milestones
Geoff Low (Jan 15 2021 at 13:08):
Heres a sample example using an extension to add milestones to an activity definition
{
"resourceType": "ActivityDefinition",
"id": "SubjectRandomizationDate",
"meta": {
"profile": [
"http://example.org/br-and-r/soa/StructureDefinition/SOA-planned-study-activity-definition"
]
},
"text": {
"status": "extensions",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>Study Milestone</b>: <span title=\"Codes: {http://ncimeta.nci.nih.gov C114209}\">Subject is Randomized</span></p><p><b>Study Milestone</b>: <span title=\"Codes: {http://ncimeta.nci.nih.gov C161417}\">Subject Entered Into Trial</span></p><p><b>url</b>: <a href=\"http://example.org/br-and-r/soa/ActivityDefinition/SubjectRandomizationDate\">http://example.org/br-and-r/soa/ActivityDefinition/SubjectRandomizationDate</a></p><p><b>version</b>: 0.1.0</p><p><b>status</b>: active</p><p><b>date</b>: 15-Jan-2021 12:59:03</p></div>"
},
"extension": [
{
"url": "http://example.org/br-and-r/soa/StructureDefinition/soa-study-activity-milestne",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ncimeta.nci.nih.gov",
"code": "C114209",
"display": "Subject is Randomized"
}
]
}
},
{
"url": "http://example.org/br-and-r/soa/StructureDefinition/soa-study-activity-milestne",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ncimeta.nci.nih.gov",
"code": "C161417",
"display": "Subject Entered Into Trial"
}
]
}
}
],
"url": "http://example.org/br-and-r/soa/ActivityDefinition/SubjectRandomizationDate",
"version": "0.1.0",
"status": "active",
"date": "2021-01-15T12:59:03+00:00"
}
Hugh Glover (Jan 15 2021 at 15:48):
I think you will have to unpack the purpose of this for me at least. How does any machine processing know that these are milestones? Can't the structure be represented by nested actions each with an associate activity definition?
I think we have to see extensions as a last resort when there is no other sensible way to do something.
Geoff Low (Jan 15 2021 at 16:17):
I think the discussion was that it was needed to be able to annotate certain activities as being important from a business/analytical perspective ; this was using explicit semantics (ie associating an activity with a particular milestone as defined). I think there's equally a good (probably even better) to make use of the useContext attribute. The idea would be that a record/observation would be linked to the activity definition as discussed yesterday and then the context of the milestone would be applied to the finding.
Last updated: Apr 12 2022 at 19:14 UTC