This page is part of the Making EHR Data MOre available for Research and Public Health (MedMorph) Research Content IG (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
<PlanDefinition xmlns="http://hl7.org/fhir">
<id value="plandefinition-example"/>
<meta>
<versionId value="1"/>
<lastUpdated value="2020-11-29T02:03:28.045+00:00"/>
<profile
value="http://hl7.org/fhir/us/medmorph-research-dex/StructureDefinition/medmorph-research-dex-plandefinition"/>
</meta>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>PlanDefinition Narrative</b></p></div>
</text>
<extension
url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-receiverAddress">
<valueReference>
<reference value="Endpoint/example-healthcare-endpoint"/>
</valueReference>
</extension>
<url
value="http://hl7.org/fhir/us/medmorph-research-dex/StructureDefinition/plandefinition-example"/>
<version value="0.1.0"/>
<name value="PlanDefinitionExample"/>
<title value="PlanDefinition Example"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/plan-definition-type"/>
<code value="workflow-definition"/>
<display value="Workflow Definition"/>
</coding>
</type>
<status value="draft"/>
<experimental value="true"/>
<date value="2020-11-04T12:32:29.858-05:00"/>
<publisher value="HL7 International - Public Health Work Group"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/Special/committees/pher"/>
</telecom>
</contact>
<description
value="This is the MedMorph Research Data Exchange Knowledge Artifact"/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="US"/>
</coding>
</jurisdiction>
<effectivePeriod>
<start value="2021-11-01"/>
</effectivePeriod>
<relatedArtifact>
<type value="depends-on"/>
<label value="Example.org Research program Registered Participants"/>
<resource value="http://example.org/fhir/r4/Group/research-participants"/>
</relatedArtifact>
<action id="start-workflow">
<description
value="This action represents the start of the extraction workflow in response to the periodic timer event"/>
<textEquivalent
value="This action represents the start of the extraction workflow in response to the periodic timer event"/>
<code>
<coding>
<system
value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
<code value="initiate-reporting-workflow"/>
</coding>
</code>
<trigger id="periodic-timer">
<extension
url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-us-ph-namedEventType">
<valueCodeableConcept>
<coding>
<system
value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-triggerdefinition-namedevents"/>
<code value="periodic-timer"/>
<display value="Setup Periodic Timer"/>
</coding>
</valueCodeableConcept>
</extension>
<type value="named-event"/>
<name value="periodic-timer"/>
</trigger>
<relatedAction>
<actionId value="extract-data"/>
<relationship value="before-start"/>
<offsetDuration>
<value value="1"/>
<system value="http://unitsofmeasure.org"/>
<code value="h"/>
</offsetDuration>
</relatedAction>
</action>
<action id="extract-data">
<description
value="This execution of the action represents the extraction of data from an EHR."/>
<textEquivalent value="Check Participant Registration"/>
<code>
<coding>
<system
value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
<code value="extract-research-data"/>
</coding>
</code>
<input id="researchGroup">
<type value="Group"/>
<profile
value="http://hl7.org/fhir/us/medmorph/StructureDefinition/research-participant-group"/>
</input>
</action>
</PlanDefinition>