R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Plandefinition-predecessor-example.ttl

Clinical Decision Support Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle, JSON-LD

Plan Definition Illustrating Predecessor Relationship

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/PlanDefinition/zika-virus-intervention-initial> a fhir:PlanDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "zika-virus-intervention-initial"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Id: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">PlanDefinition/zika-virus-intervention-initial</td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Identifier: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  <b>value: </b>\n                  <span>zika-virus-intervention</span>\n               </td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Title: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">Example Zika Virus Intervention</td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Status: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">active</td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Description: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">Zika Virus Management intervention describing the CDC Guidelines for Zika Virus Reporting and Management.</td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Topic: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  <span>\n                     <b>text: </b>\n                     <span>Zika Virus Management</span>\n                  </span>\n               </td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Library: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  <b>reference: </b>\n                  <span>Library/zika-virus-intervention-logic</span>\n               </td>\n            </tr>\n         </table>\n         <p/>\n         <h2>Actions</h2>\n         <p style=\"width: 100%;\" class=\"hierarchy\">\n            <span>\n               <b>Step: </b>\n               <br/>\n               <span style=\"padding-left: 25px;\">\n                  <b>title: </b>\n                  <span>Zika Virus Assessment</span>\n                  <br/>\n               </span>\n               <span style=\"padding-left: 25px;\">\n                  <b>condition: </b>\n                  <br/>\n                  <span style=\"padding-left: 50px;\">\n                     <b>type: </b>\n                     <span>applicability</span>\n                     <br/>\n                  </span>\n                  <span style=\"padding-left: 50px;\">\n                     <b>expression: </b>\n                     <span>Is Patient Pregnant</span>\n                     <br/>\n                  </span>\n               </span>\n               <span style=\"padding-left: 25px;\">\n                  <span>\n                     <b>Step: </b>\n                     <br/>\n                     <span style=\"padding-left: 50px;\">\n                        <b>condition: </b>\n                        <br/>\n                        <span style=\"padding-left: 75px;\">\n                           <b>type: </b>\n                           <span>applicability</span>\n                           <br/>\n                        </span>\n                        <span style=\"padding-left: 75px;\">\n                           <b>expression: </b>\n                           <span>Should Administer Zika Virus Exposure Assessment</span>\n                           <br/>\n                        </span>\n                     </span>\n                     <span style=\"padding-left: 50px;\">\n                        <b>condition: </b>\n                        <br/>\n                        <span style=\"padding-left: 75px;\">\n                           <b>reference: </b>\n                           <br/>\n                           <span style=\"padding-left: 100px;\">#administer-zika-virus-exposure-assessment</span>\n                           <br/>\n                           <span>\n							 <span style=\"padding-left: 75px;\">\n								<b>description: </b>\n								<span>Administer Zika Virus Exposure Assessment</span>\n								<br/>\n							 </span>\n							 <span style=\"padding-left: 75px;\">\n								<b>category: </b>\n								<span>procedure</span>\n								<br/>\n							 </span>\n                           </span>\n                        </span>\n                     </span>\n                     <span style=\"padding-left: 50px;\"/>\n                  </span>\n                  <span>\n                     <b>Step: </b>\n                     <br/>\n                     <span style=\"padding-left: 75px;\">\n                        <b>condition: </b>\n                        <br/>\n                        <span style=\"padding-left: 100px;\">\n                           <b>type: </b>\n                           <span>applicability</span>\n                           <br/>\n                        </span>\n                        <span style=\"padding-left: 100px;\">\n                           <b>expression: </b>\n                           <span>Should Order Serum + Urine rRT-PCR Test</span>\n                           <br/>\n                        </span>\n                     </span>\n                     <span style=\"padding-left: 75px;\">\n                        <b>condition: </b>\n                        <br/>\n                        <span style=\"padding-left: 100px;\">\n                           <b>reference: </b>\n                           <br/>\n                           <span style=\"padding-left: 125px;\">ActivityDefinition/order-serum-urine-rrt-pcr-test</span>\n                           <br/>\n                        </span>\n                     </span>\n                     <span style=\"padding-left: 50px;\"/>\n                  </span>\n                  <span>\n                     <b>Step: </b>\n                     <br/>\n                     <span style=\"padding-left: 75px;\">\n                        <b>condition: </b>\n                        <br/>\n                        <span style=\"padding-left: 100px;\">\n                           <b>type: </b>\n                           <span>applicability</span>\n                           <br/>\n                        </span>\n                        <span style=\"padding-left: 100px;\">\n                           <b>expression: </b>\n                           <span>Should Order Serum Zika Virus IgM + Dengue Virus IgM</span>\n                           <br/>\n                        </span>\n                     </span>\n                     <span style=\"padding-left: 75px;\">\n                        <b>condition: </b>\n                        <br/>\n                        <span style=\"padding-left: 100px;\">\n                           <b>reference: </b>\n                           <br/>\n                           <span style=\"padding-left: 125px;\">#order-serum-zika-dengue-virus-igm</span>\n                           <br/>\n                           <span>\n                              <span style=\"padding-left: 50px;\">\n                                 <span style=\"padding-left: 50px;\">\n                                    <b>description: </b>\n                                    <span>Order Serum Zika and Dengue Virus IgM</span>\n                                    <br/>\n                                 </span>\n                                 <span style=\"padding-left: 75px;\">\n                                    <b>related:</b>\n                                    <br/>\n                                    <span style=\"padding-left: 100px;\">\n                                       <b>type: </b>\n                                       <span>documentation</span>\n                                       <br/>\n                                    </span>\n                                    <span style=\"padding-left: 100px;\">\n                                       <b>display: </b>\n                                       <span>Explanation of diagnostic tests for Zika virus and which to use based on the patients clinical and exposure history.</span>\n                                       <br/>\n                                    </span>\n                                 </span>\n                                 <span style=\"padding-left: 100px;\">\n                                    <b>category: </b>\n                                    <span>diagnostic</span>\n                                    <br/>\n                                 </span>\n                              </span>\n                           </span>\n                           <span/>\n                        </span>\n                     </span>\n                     <span style=\"padding-left: 50px;\"/>\n                  </span>\n                  <span>\n                     <b>Step: </b>\n                     <br/>\n                     <span style=\"padding-left: 75px;\">\n                        <b>condition: </b>\n                        <br/>\n                        <span style=\"padding-left: 100px;\">\n                           <b>type: </b>\n                           <span>applicability</span>\n                           <br/>\n                        </span>\n                        <span style=\"padding-left: 100px;\">\n                           <b>expression: </b>\n                           <span>Should Consider IgM Antibody Testing</span>\n                           <br/>\n                        </span>\n                     </span>\n                     <span style=\"padding-left: 75px;\">\n                        <b>condition: </b>\n                        <br/>\n                        <span style=\"padding-left: 100px;\">\n                           <b>reference: </b>\n                           <br/>\n                           <span style=\"padding-left: 125px;\">ActivityDefinition/consider-igm-antibody-testing</span>\n                           <br/>\n                        </span>\n                     </span>\n                     <span style=\"padding-left: 50px;\"/>\n                  </span>\n                  <span>\n                     <b>Step: </b>\n                     <br/>\n                     <span style=\"padding-left: 75px;\">\n                        <b>condition: </b>\n                        <br/>\n                        <span style=\"padding-left: 100px;\">\n                           <b>type: </b>\n                           <span>applicability</span>\n                           <br/>\n                        </span>\n                        <span style=\"padding-left: 100px;\">\n                           <b>expression: </b>\n                           <span>Should Provide Mosquito Prevention and Contraception Advice</span>\n                           <br/>\n                        </span>\n                     </span>\n                     <span style=\"padding-left: 50px;\">\n                        <span>\n                           <b>Step: </b>\n                           <br/>\n                           <span style=\"padding-left: 75px;\">\n                              <b>condition: </b>\n                              <br/>\n                              <span style=\"padding-left: 100px;\">\n                                 <b>reference: </b>\n                                 <br/>\n                                 <span style=\"padding-left: 125px;\">#provide-mosquito-prevention-advice</span>\n                                 <span>\n                                    <span style=\"padding-left: 75px;\">\n                                       <br/>\n                                       <span style=\"padding-left: 100px;\">\n                                          <b>description: </b>\n                                          <span>Provide mosquito prevention advice</span>\n                                          <br/>\n                                       </span>\n                                       <span style=\"padding-left: 75px;\">\n                                          <b>related:</b>\n                                          <br/>\n                                          <span style=\"padding-left: 100px;\">\n                                             <b>type: </b>\n                                             <span>documentation</span>\n                                             <br/>\n                                          </span>\n                                          <span style=\"padding-left: 100px;\">\n                                             <b>display: </b>\n                                             <span>Advice for patients about how to avoid Mosquito bites.</span>\n                                             <br/>\n                                          </span>\n                                       </span>\n                                       <span style=\"padding-left: 75px;\">\n                                          <b>related:</b>\n                                          <br/>\n                                          <span style=\"padding-left: 100px;\">\n                                             <b>type: </b>\n                                             <span>documentation</span>\n                                             <br/>\n                                          </span>\n                                          <span style=\"padding-left: 100px;\">\n                                             <b>display: </b>\n                                             <span>Advice for patients about which mosquito repellents are effective and safe to use in pregnancy. [DEET, IF3535 and Picardin are safe during]</span>\n                                             <br/>\n                                          </span>\n                                       </span>\n                                       <span style=\"padding-left: 100px;\">\n                                          <b>category: </b>\n                                          <span>communication</span>\n                                          <br/>\n                                       </span>\n                                    </span>\n                                 </span>\n                              </span>\n                           </span>\n                           <span style=\"padding-left: 75px;\"/>\n                        </span>\n                        <span>\n                           <b>Step: </b>\n                           <br/>\n                           <span style=\"padding-left: 75px;\">\n                              <b>condition: </b>\n                              <br/>\n                              <span style=\"padding-left: 100px;\">\n                                 <b>reference: </b>\n                                 <br/>\n                                 <span style=\"padding-left: 125px;\">ActivityDefinition/provide-contraception-advice</span>\n                                 <br/>\n                              </span>\n                           </span>\n                        </span>\n                     </span>\n                  </span>\n               </span>\n            </span>\n         </p>\n      </div>"
  ];
  fhir:PlanDefinition.url [ fhir:value "http://example.org/PlanDefinition/zika-virus-intervention"];
  fhir:PlanDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.value [ fhir:value "zika-virus-intervention" ]
  ];
  fhir:PlanDefinition.version [ fhir:value "1.0.0"];
  fhir:PlanDefinition.title [ fhir:value "Example Zika Virus Intervention"];
  fhir:PlanDefinition.status [ fhir:value "active"];
  fhir:PlanDefinition.date [ fhir:value "2016-11-14"^^xsd:date];
  fhir:PlanDefinition.description [ fhir:value "Zika Virus Management intervention describing the CDC Guidelines for Zika Virus Reporting and Management."];
  fhir:PlanDefinition.topic [
     fhir:index 0;
     fhir:CodeableConcept.text [ fhir:value "Zika Virus Management" ]
  ];
  fhir:PlanDefinition.relatedArtifact [
     fhir:index 0;
     fhir:RelatedArtifact.type [ fhir:value "derived-from" ];
     fhir:RelatedArtifact.url [ fhir:value "https://www.cdc.gov/mmwr/volumes/65/wr/mm6539e1.htm?s_cid=mm6539e1_w" ]
  ], [
     fhir:index 1;
     fhir:RelatedArtifact.type [ fhir:value "successor" ];
     fhir:RelatedArtifact.resource [
       fhir:link <http://hl7.org/fhir/PlanDefinition/zika-virus-intervention>;
       fhir:Reference.reference [ fhir:value "PlanDefinition/zika-virus-intervention" ]
     ]
  ];
  fhir:PlanDefinition.library [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Library/zika-virus-intervention-logic>;
     fhir:Reference.reference [ fhir:value "Library/zika-virus-intervention-logic" ]
  ];
  fhir:PlanDefinition.action [
     fhir:index 0;
     fhir:PlanDefinition.action.title [ fhir:value "Zika Virus Assessment" ];
     fhir:PlanDefinition.action.triggerDefinition [
       fhir:index 0;
       fhir:TriggerDefinition.type [ fhir:value "named-event" ];
       fhir:TriggerDefinition.name [ fhir:value "patient-view" ]
     ];
     fhir:PlanDefinition.action.condition [
       fhir:index 0;
       fhir:PlanDefinition.action.condition.kind [ fhir:value "applicability" ];
       fhir:PlanDefinition.action.condition.expression [ fhir:value "Is Patient Pregnant" ]
     ];
     fhir:PlanDefinition.action.action [
       fhir:index 0;
       fhir:PlanDefinition.action.condition [
         fhir:index 0;
         fhir:PlanDefinition.action.condition.kind [ fhir:value "applicability" ];
         fhir:PlanDefinition.action.condition.expression [ fhir:value "Should Administer Zika Virus Exposure Assessment" ]
       ];
       fhir:PlanDefinition.action.definition [
         fhir:link <http://hl7.org/fhir/ActivityDefinition/administer-zika-virus-exposure-assessment>;
         fhir:Reference.reference [ fhir:value "ActivityDefinition/administer-zika-virus-exposure-assessment" ]
       ]
     ], [
       fhir:index 1;
       fhir:PlanDefinition.action.condition [
         fhir:index 0;
         fhir:PlanDefinition.action.condition.kind [ fhir:value "applicability" ];
         fhir:PlanDefinition.action.condition.expression [ fhir:value "Should Order Serum + Urine rRT-PCR Test" ]
       ];
       fhir:PlanDefinition.action.definition [
         fhir:link <http://hl7.org/fhir/ActivityDefinition/order-serum-urine-rrt-pcr-test>;
         fhir:Reference.reference [ fhir:value "ActivityDefinition/order-serum-urine-rrt-pcr-test" ]
       ]
     ], [
       fhir:index 2;
       fhir:PlanDefinition.action.condition [
         fhir:index 0;
         fhir:PlanDefinition.action.condition.kind [ fhir:value "applicability" ];
         fhir:PlanDefinition.action.condition.expression [ fhir:value "Should Order Serum Zika Virus IgM + Dengue Virus IgM" ]
       ];
       fhir:PlanDefinition.action.definition [
         fhir:link <http://hl7.org/fhir/ActivityDefinition/order-serum-zika-dengue-virus-igm>;
         fhir:Reference.reference [ fhir:value "ActivityDefinition/order-serum-zika-dengue-virus-igm" ]
       ]
     ], [
       fhir:index 3;
       fhir:PlanDefinition.action.condition [
         fhir:index 0;
         fhir:PlanDefinition.action.condition.kind [ fhir:value "applicability" ];
         fhir:PlanDefinition.action.condition.expression [ fhir:value "Should Consider IgM Antibody Testing" ]
       ];
       fhir:PlanDefinition.action.definition [
         fhir:link <http://hl7.org/fhir/ActivityDefinition/consider-igm-antibody-testing>;
         fhir:Reference.reference [ fhir:value "ActivityDefinition/consider-igm-antibody-testing" ]
       ]
     ], [
       fhir:index 4;
       fhir:PlanDefinition.action.condition [
         fhir:index 0;
         fhir:PlanDefinition.action.condition.kind [ fhir:value "applicability" ];
         fhir:PlanDefinition.action.condition.expression [ fhir:value "Should Provide Mosquito Prevention and Contraception Advice" ]
       ];
       fhir:PlanDefinition.action.action [
         fhir:index 0;
         fhir:PlanDefinition.action.definition [
           fhir:link <http://hl7.org/fhir/ActivityDefinition/provide-mosquito-prevention-advice>;
           fhir:Reference.reference [ fhir:value "ActivityDefinition/provide-mosquito-prevention-advice" ]
         ]
       ], [
         fhir:index 1;
         fhir:PlanDefinition.action.definition [
           fhir:link <http://hl7.org/fhir/ActivityDefinition/provide-contraception-advice>;
           fhir:Reference.reference [ fhir:value "ActivityDefinition/provide-contraception-advice" ]
         ]
       ]
     ]
  ] .

<http://hl7.org/fhir/PlanDefinition/zika-virus-intervention> a fhir:PlanDefinition .

<http://hl7.org/fhir/Library/zika-virus-intervention-logic> a fhir:Library .

<http://hl7.org/fhir/ActivityDefinition/administer-zika-virus-exposure-assessment> a fhir:ActivityDefinition .

<http://hl7.org/fhir/ActivityDefinition/order-serum-urine-rrt-pcr-test> a fhir:ActivityDefinition .

<http://hl7.org/fhir/ActivityDefinition/order-serum-zika-dengue-virus-igm> a fhir:ActivityDefinition .

<http://hl7.org/fhir/ActivityDefinition/consider-igm-antibody-testing> a fhir:ActivityDefinition .

<http://hl7.org/fhir/ActivityDefinition/provide-mosquito-prevention-advice> a fhir:ActivityDefinition .

<http://hl7.org/fhir/ActivityDefinition/provide-contraception-advice> a fhir:ActivityDefinition .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/PlanDefinition/zika-virus-intervention-initial.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/PlanDefinition/zika-virus-intervention-initial.ttl> .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.