This page is part of the Making EHR Data MOre available for Research and Public Health (MedMorph) (v0.2.0: STU 1 Draft) 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-cancer-example"/>
<meta>
<versionId value="1"/>
<lastUpdated value="2020-11-29T02:03:28.045+00:00"/>
<profile
value="http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-plandefinition"/>
</meta>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource "plandefinition-cancer-example" Version "1" Updated "2020-11-29T02:03:28.045Z" </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-us-ph-plandefinition.html">MedMorph PlanDefinition</a></p></div><p><b>Receiver Endpoint Address</b>: <a href="Endpoint-example-ph-endpoint.html">Endpoint/example-ph-endpoint</a> "PHAReceiver"</p><p><b>Author Signature</b>: </p><p><b style="color: maroon">Exception generating Narrative: type org.hl7.fhir.r5.model.Signature not handled - should not be here</b></p></div>
</text>
<extension
url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-receiverAddress">
<valueReference>
<reference value="Endpoint/example-ph-endpoint"/>
</valueReference>
</extension>
<extension
url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-authorSignature">
<valueSignature>
<type>
<system value="urn:iso-astm:E1762-95:2013"/>
<code value="1.2.840.10065.1.12.1.5"/>
<display value="Verification Signature"/>
</type>
<when value="2015-08-26T22:39:24.000+00:00"/>
<who>
<reference value="Organization/example-pha-org"/>
</who>
<targetFormat value="application/fhir+xml"/>
<sigFormat value="application/signature+xml"/>
<data value="Li4u"/>
</valueSignature>
</extension>
<extension
url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-asyncIndicator">
<valueBoolean value="true"/>
</extension>
<extension
url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-expectedResponseTime">
<valueDuration>
<value value="1"/>
<system value="http://unitsofmeasure.org"/>
<code value="min"/>
</valueDuration>
</extension>
<url
value="http://hl7.org/fhir/us/medmorph/StructureDefinition/plandefinition-cancer-example"/>
<version value="0.2.0"/>
<name value="PlanDefinitionCancerExample"/>
<title value="PlanDefinition Cancer Reporting 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 Cancer Reporting Knowledge Artifact"/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="US"/>
</coding>
</jurisdiction>
<effectivePeriod>
<start value="2020-11-01"/>
</effectivePeriod>
<relatedArtifact>
<type value="depends-on"/>
<label value="Cancer Trigger Codes"/>
<resource
value="http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"/>
</relatedArtifact>
<action id="initiate-reporting-workflow">
<description
value="This action represents the start of a reporting workflow."/>
<textEquivalent value="Initiate Reporting Workflow"/>
<code>
<coding>
<system
value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
<code value="initiate-reporting-workflow"/>
</coding>
</code>
<trigger>
<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="encounter-close"/>
<display value="Indicates the close of an encounter"/>
</coding>
</valueCodeableConcept>
</extension>
<type value="named-event"/>
<name value="encounter-close"/>
</trigger>
<input>
<type value="Patient"/>
</input>
<input>
<extension
url="http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension">
<valueString value="/Encounter?patient={context.patientId}"/>
</extension>
<type value="Encounter"/>
</input>
<relatedAction>
<actionId value="check-trigger-codes"/>
<relationship value="before-start"/>
<offsetDuration>
<value value="1"/>
<system value="http://unitsofmeasure.org"/>
<code value="min"/>
</offsetDuration>
</relatedAction>
</action>
<action id="check-trigger-codes">
<description
value="This action represents the execution of the checking trigger codes in the workflow."/>
<textEquivalent value="Check Trigger Codes"/>
<action>
<code>
<coding>
<system
value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
<code value="check-trigger-codes"/>
</coding>
</code>
<condition>
<kind value="applicability"/>
<expression>
<language value="text/fhirpath"/>
<expression
value="Condition.code.memberof(http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example)"/>
</expression>
</condition>
<input>
<type value="Patient"/>
</input>
<input>
<type value="Encounter"/>
</input>
<relatedAction>
<actionId value="create-report"/>
<relationship value="before-start"/>
</relatedAction>
</action>
</action>
<action id="create-report">
<description value="This action represents the creation of a cancer report."/>
<textEquivalent value="Create Report"/>
<code>
<coding>
<system
value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
<code value="create-report"/>
</coding>
</code>
<output>
<type value="Bundle"/>
<profile
value="http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle"/>
</output>
</action>
</PlanDefinition>