--- type: "example" title: "PlanDefinition Example: plandefinition-predecessor-example" resource: "PlanDefinition" example: "plandefinition-predecessor-example" --- # PlanDefinition Example: plandefinition-predecessor-example Plan Definition Illustrating Predecessor Relationship ## Narrative | **Id:** | | --- | | PlanDefinition/zika-virus-intervention-initial | | **Identifier:** | | --- | | **value:** zika-virus-intervention | | **Title:** | | --- | | Example Zika Virus Intervention | | **Status:** | | --- | | active | | **Description:** | | --- | | Zika Virus Management intervention describing the CDC Guidelines for Zika Virus Reporting and Management. | | **Topic:** | | --- | | **text:** Zika Virus Management | | **Library:** | | --- | | **reference:** Library/zika-virus-intervention-logic | ## Actions **Step:** **title:** Zika Virus Assessment **condition:** **type:** applicability **expression:** Is Patient Pregnant **Step:** **condition:** **type:** applicability **expression:** Should Administer Zika Virus Exposure Assessment **condition:** **reference:** #administer-zika-virus-exposure-assessment **description:** Administer Zika Virus Exposure Assessment **category:** procedure **Step:** **condition:** **type:** applicability **expression:** Should Order Serum + Urine rRT-PCR Test **condition:** **reference:** ActivityDefinition/order-serum-urine-rrt-pcr-test **Step:** **condition:** **type:** applicability **expression:** Should Order Serum Zika Virus IgM + Dengue Virus IgM **condition:** **reference:** #order-serum-zika-dengue-virus-igm **description:** Order Serum Zika and Dengue Virus IgM **related:** **type:** documentation **display:** Explanation of diagnostic tests for Zika virus and which to use based on the patients clinical and exposure history. **category:** diagnostic **Step:** **condition:** **type:** applicability **expression:** Should Consider IgM Antibody Testing **condition:** **reference:** ActivityDefinition/consider-igm-antibody-testing **Step:** **condition:** **type:** applicability **expression:** Should Provide Mosquito Prevention and Contraception Advice **Step:** **condition:** **reference:** #provide-mosquito-prevention-advice **description:** Provide mosquito prevention advice **related:** **type:** documentation **display:** Advice for patients about how to avoid Mosquito bites. **related:** **type:** documentation **display:** Advice for patients about which mosquito repellents are effective and safe to use in pregnancy. \[DEET, IF3535 and Picardin are safe during\] **category:** communication **Step:** **condition:** **reference:** ActivityDefinition/provide-contraception-advice ## Example XML ```xml
Id:
PlanDefinition/zika-virus-intervention-initial

Identifier:
value: zika-virus-intervention

Title:
Example Zika Virus Intervention

Status:
active

Description:
Zika Virus Management intervention describing the CDC Guidelines for Zika Virus Reporting and Management.

Topic:
text: Zika Virus Management

Library:
reference: Library/zika-virus-intervention-logic

Actions

Step:
title: Zika Virus Assessment
condition:
type: applicability
expression: Is Patient Pregnant
Step:
condition:
type: applicability
expression: Should Administer Zika Virus Exposure Assessment
condition:
reference:
#administer-zika-virus-exposure-assessment
description: Administer Zika Virus Exposure Assessment
category: procedure
Step:
condition:
type: applicability
expression: Should Order Serum + Urine rRT-PCR Test
condition:
reference:
ActivityDefinition/order-serum-urine-rrt-pcr-test
Step:
condition:
type: applicability
expression: Should Order Serum Zika Virus IgM + Dengue Virus IgM
condition:
reference:
#order-serum-zika-dengue-virus-igm
description: Order Serum Zika and Dengue Virus IgM
related:
type: documentation
display: Explanation of diagnostic tests for Zika virus and which to use based on the patients clinical and exposure history.
category: diagnostic
Step:
condition:
type: applicability
expression: Should Consider IgM Antibody Testing
condition:
reference:
ActivityDefinition/consider-igm-antibody-testing
Step:
condition:
type: applicability
expression: Should Provide Mosquito Prevention and Contraception Advice
Step:
condition:
reference:
#provide-mosquito-prevention-advice
description: Provide mosquito prevention advice
related:
type: documentation
display: Advice for patients about how to avoid Mosquito bites.
related:
type: documentation
display: Advice for patients about which mosquito repellents are effective and safe to use in pregnancy. [DEET, IF3535 and Picardin are safe during]
category: communication
Step:
condition:
reference:
ActivityDefinition/provide-contraception-advice

<status value="active"/> <date value="2016-11-14"/> <description value="Zika Virus Management intervention describing the CDC Guidelines for Zika Virus Reporting and Management."/> <topic> <text value="Zika Virus Management"/> </topic> <relatedArtifact> <type value="derived-from"/> <document> <url value="https://www.cdc.gov/mmwr/volumes/65/wr/mm6539e1.htm?s_cid=mm6539e1_w"/> </document> </relatedArtifact> <relatedArtifact> <type value="successor"/> <resource value="http://example.org/fhir/PlanDefinition/zika-virus-intervention"/> </relatedArtifact> <library value="http://example.org/fhir/Library/zika-virus-intervention-logic"/> <action> <title value="Zika Virus Assessment"/> <trigger> <type value="named-event"/> <name value="patient-view"/> </trigger> <condition> <kind value="applicability"/> <expression> <language value="text/cql-identifier"/> <expression value="Is Patient Pregnant"/> </expression> </condition> <action> <condition> <kind value="applicability"/> <expression> <language value="text/cql-identifier"/> <expression value="Should Administer Zika Virus Exposure Assessment"/> </expression> </condition> <definitionCanonical value="http://example.org/fhir/ActivityDefinition/administer-zika-virus-exposure-assessment"/> </action> <action> <condition> <kind value="applicability"/> <expression> <language value="text/cql-identifier"/> <expression value="Should Order Serum + Urine rRT-PCR Test"/> </expression> </condition> <definitionCanonical value="http://example.org/fhir/ActivityDefinition/order-serum-urine-rrt-pcr-test"/> </action> <action> <condition> <kind value="applicability"/> <expression> <language value="text/cql-identifier"/> <expression value="Should Order Serum Zika Virus IgM + Dengue Virus IgM"/> </expression> </condition> <definitionCanonical value="http://example.org/fhir/ActivityDefinition/order-serum-zika-dengue-virus-igm"/> </action> <action> <condition> <kind value="applicability"/> <expression> <language value="text/cql-identifier"/> <expression value="Should Consider IgM Antibody Testing"/> </expression> </condition> <definitionCanonical value="http://example.org/fhir/ActivityDefinition/consider-igm-antibody-testing"/> </action> <action> <condition> <kind value="applicability"/> <expression> <language value="text/cql-identifier"/> <expression value="Should Provide Mosquito Prevention and Contraception Advice"/> </expression> </condition> <action> <definitionCanonical value="http://example.org/fhir/ActivityDefinition/provide-mosquito-prevention-advice"/> </action> <action> <definitionCanonical value="http://example.org/fhir/ActivityDefinition/provide-contraception-advice"/> </action> </action> </action> </PlanDefinition> ```