Release 4B

This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Plan Definition Illustrating Predecessor Relationship

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

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

[] a fhir:PlanDefinition;
  fhir:Resource.id [ fhir:value "zika-virus-intervention-initial"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  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.experimental [ fhir:value "true"];
  fhir:PlanDefinition.date [ fhir:value "2016-11-14"];
  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:RelatedArtifact.document [
       fhir:Attachment.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:value "http://example.org/fhir/PlanDefinition/zika-virus-intervention" ]
  ];
  fhir:PlanDefinition.library [
     fhir:value "http://example.org/fhir/Library/zika-virus-intervention-logic";
     fhir:index 0
  ];
  fhir:PlanDefinition.action [
     fhir:index 0;
     fhir:PlanDefinition.title [ fhir:value "Zika Virus Assessment" ];
     fhir:PlanDefinition.trigger [
       fhir:index 0;
       fhir:TriggerDefinition.type [ fhir:value "named-event" ];
       fhir:TriggerDefinition.name [ fhir:value "patient-view" ]
     ];
     fhir:PlanDefinition.condition [
       fhir:index 0;
       fhir:PlanDefinition.kind [ fhir:value "applicability" ];
       fhir:PlanDefinition.expression [
         fhir:Expression.language [ fhir:value "text/cql" ];
         fhir:Expression.expression [ fhir:value "Is Patient Pregnant" ]
       ]
     ];
     fhir:PlanDefinition.action [
       fhir:index 0;
       fhir:PlanDefinition.condition [
         fhir:index 0;
         fhir:PlanDefinition.kind [ fhir:value "applicability" ];
         fhir:PlanDefinition.expression [
           fhir:Expression.language [ fhir:value "text/cql" ];
           fhir:Expression.expression [ fhir:value "Should Administer Zika Virus Exposure Assessment" ]
         ]
       ];
       fhir:PlanDefinition.definition [ fhir:value "http://example.org/fhir/ActivityDefinition/administer-zika-virus-exposure-assessment" ]
     ], [
       fhir:index 1;
       fhir:PlanDefinition.condition [
         fhir:index 0;
         fhir:PlanDefinition.kind [ fhir:value "applicability" ];
         fhir:PlanDefinition.expression [
           fhir:Expression.language [ fhir:value "text/cql" ];
           fhir:Expression.expression [ fhir:value "Should Order Serum + Urine rRT-PCR Test" ]
         ]
       ];
       fhir:PlanDefinition.definition [ fhir:value "http://example.org/fhir/ActivityDefinition/order-serum-urine-rrt-pcr-test" ]
     ], [
       fhir:index 2;
       fhir:PlanDefinition.condition [
         fhir:index 0;
         fhir:PlanDefinition.kind [ fhir:value "applicability" ];
         fhir:PlanDefinition.expression [
           fhir:Expression.language [ fhir:value "text/cql" ];
           fhir:Expression.expression [ fhir:value "Should Order Serum Zika Virus IgM + Dengue Virus IgM" ]
         ]
       ];
       fhir:PlanDefinition.definition [ fhir:value "http://example.org/fhir/ActivityDefinition/order-serum-zika-dengue-virus-igm" ]
     ], [
       fhir:index 3;
       fhir:PlanDefinition.condition [
         fhir:index 0;
         fhir:PlanDefinition.kind [ fhir:value "applicability" ];
         fhir:PlanDefinition.expression [
           fhir:Expression.language [ fhir:value "text/cql" ];
           fhir:Expression.expression [ fhir:value "Should Consider IgM Antibody Testing" ]
         ]
       ];
       fhir:PlanDefinition.definition [ fhir:value "http://example.org/fhir/ActivityDefinition/consider-igm-antibody-testing" ]
     ], [
       fhir:index 4;
       fhir:PlanDefinition.condition [
         fhir:index 0;
         fhir:PlanDefinition.kind [ fhir:value "applicability" ];
         fhir:PlanDefinition.expression [
           fhir:Expression.language [ fhir:value "text/cql" ];
           fhir:Expression.expression [ fhir:value "Should Provide Mosquito Prevention and Contraception Advice" ]
         ]
       ];
       fhir:PlanDefinition.action [
         fhir:index 0;
         fhir:PlanDefinition.definition [ fhir:value "http://example.org/fhir/ActivityDefinition/provide-mosquito-prevention-advice" ]
       ], [
         fhir:index 1;
         fhir:PlanDefinition.definition [ fhir:value "http://example.org/fhir/ActivityDefinition/provide-contraception-advice" ]
       ]
     ]
  ] .

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


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.