{ "description": "This is the MedMorph Research Data Exchange Knowledge Artifact", "_filename": "example/PlanDefinition-plandefinition-example.json", "package_name": "hl7.fhir.us.medmorph", "date": "2020-11-04T12:32:29.858-05:00", "meta": { "profile": [ "http://hl7.org/fhir/us/medmorph-research-dex/StructureDefinition/medmorph-research-dex-plandefinition" ], "versionId": "1", "lastUpdated": "2020-11-29T02:03:28.045+00:00" }, "publisher": "HL7 International - Public Health Work Group", "jurisdiction": [ { "coding": [ { "code": "US", "system": "urn:iso:std:iso:3166" } ] } ], "name": "PlanDefinitionExample", "type": "{:coding [{:system \\\"http://terminology.hl7.org/CodeSystem/plan-definition-type\\\", :code \\\"workflow-definition\\\", :display \\\"Workflow Definition\\\"}]}", "experimental": "true", "resourceType": "PlanDefinition", "title": "PlanDefinition Example", "package_version": "research-dex-0.1.0", "extension": [ { "url": "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-receiverAddress", "valueReference": { "reference": "Endpoint/example-healthcare-endpoint" } } ], "status": "draft", "id": "c9c7a139-3a84-4dde-9c7a-46c3fede405c", "kind": null, "url": "http://hl7.org/fhir/us/medmorph-research-dex/StructureDefinition/plandefinition-example", "action": [ { "id": "start-workflow", "code": [ { "coding": [ { "code": "initiate-reporting-workflow", "system": "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions" } ] } ], "trigger": [ { "id": "periodic-timer", "name": "periodic-timer", "type": "named-event", "extension": [ { "url": "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-us-ph-namedEventType", "valueCodeableConcept": { "coding": [ { "code": "periodic-timer", "system": "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-triggerdefinition-namedevents", "display": "Setup Periodic Timer" } ] } } ] } ], "description": "This action represents the start of the extraction workflow in response to the periodic timer event", "relatedAction": [ { "actionId": "extract-data", "relationship": "before-start", "offsetDuration": { "code": "h", "value": 1, "system": "http://unitsofmeasure.org" } } ], "textEquivalent": "This action represents the start of the extraction workflow in response to the periodic timer event" }, { "id": "extract-data", "code": [ { "coding": [ { "code": "extract-research-data", "system": "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions" } ] } ], "input": [ { "id": "researchGroup", "type": "Group", "profile": [ "http://hl7.org/fhir/us/medmorph/StructureDefinition/research-participant-group" ] } ], "description": "This execution of the action represents the extraction of data from an EHR.", "textEquivalent": "Check Participant Registration" } ], "version": "0.1.0", "relatedArtifact": [ { "type": "depends-on", "label": "Example.org Research program Registered Participants", "resource": "http://example.org/fhir/r4/Group/research-participants" } ], "contact": [ { "telecom": [ { "value": "http://hl7.org/Special/committees/pher", "system": "url" } ] } ], "effectivePeriod": { "start": "2021-11-01" } }