Making EHR Data More available for Research and Public Health (MedMorph)
0.1.0 - STU Ballot

This page is part of the Making EHR Data MOre available for Research and Public Health (MedMorph) (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Plan Definition example for Cancer Reporting - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:PlanDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "plandefinition-cancer-example"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "1" ];
     fhir:Meta.lastUpdated [ fhir:value "2020-11-29T02:03:28.045+00:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-plandefinition";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-plandefinition>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>Receiver Endpoint Address</b>: <a href=\"Endpoint-example-ph-endpoint.html\">Generated Summary: id: pha-endpoint-id; status: active; <span title=\"{http://terminology.hl7.org/CodeSystem/endpoint-connection-type hl7-fhir-rest}\">HL7 FHIR</span>; name: PHAReceiver; endpointmanager@example.pha.org; period: 2020-11-20 --&gt; (ongoing); <span title=\"Codes: {http://hl7.org/fhir/resource-types Bundle}\">Bundle</span>; payloadMimeType: application/fhir+xml, payloadMimeType: application/fhir+json; address: http://example.pha.org/fhir</a></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>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-receiverAddress" ];
     fhir:Extension.valueReference [
       fhir:Reference.reference [ fhir:value "Endpoint/example-ph-endpoint" ]     ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-authorSignature" ];
     fhir:Extension.valueSignature [
       fhir:Signature.type [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "urn:iso-astm:E1762-95:2013" ];
         fhir:Coding.code [ fhir:value "1.2.840.10065.1.12.1.5" ];
         fhir:Coding.display [ fhir:value "Verification Signature" ]       ];
       fhir:Signature.when [ fhir:value "2015-08-26T22:39:24.000+00:00"^^xsd:dateTime ];
       fhir:Signature.who [
         fhir:Reference.reference [ fhir:value "Organization/example-pha-org" ]       ];
       fhir:Signature.targetFormat [ fhir:value "application/fhir+xml" ];
       fhir:Signature.sigFormat [ fhir:value "application/signature+xml" ];
       fhir:Signature.data [ fhir:value "Li4u"^^xsd:base64Binary ]     ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-asyncIndicator" ];
     fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
  ], [
     fhir:index 3;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-expectedResponseTime" ];
     fhir:Extension.valueDuration [
       fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "min" ]     ]
  ];
  fhir:PlanDefinition.url [ fhir:value "http://hl7.org/fhir/us/medmorph/StructureDefinition/plandefinition-cancer-example"];
  fhir:PlanDefinition.version [ fhir:value "0.1.0"];
  fhir:PlanDefinition.name [ fhir:value "PlanDefinitionCancerExample"];
  fhir:PlanDefinition.title [ fhir:value "PlanDefinition Cancer Reporting Example"];
  fhir:PlanDefinition.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/plan-definition-type" ];
       fhir:Coding.code [ fhir:value "workflow-definition" ];
       fhir:Coding.display [ fhir:value "Workflow Definition" ]     ]
  ];
  fhir:PlanDefinition.status [ fhir:value "draft"];
  fhir:PlanDefinition.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:PlanDefinition.date [ fhir:value "2020-11-04T12:32:29.858-05:00"^^xsd:dateTime];
  fhir:PlanDefinition.publisher [ fhir:value "HL7 International - Public Health Work Group"];
  fhir:PlanDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/Special/committees/pher" ]     ]
  ];
  fhir:PlanDefinition.description [ fhir:value "This is the Cancer Reporting Knowledge Artifact"];
  fhir:PlanDefinition.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ]     ]
  ];
  fhir:PlanDefinition.effectivePeriod [
     fhir:Period.start [ fhir:value "2020-11-01"^^xsd:date ]
  ];
  fhir:PlanDefinition.relatedArtifact [
     fhir:index 0;
     fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
     fhir:RelatedArtifact.label [ fhir:value "Cancer Trigger Codes" ];
     fhir:RelatedArtifact.resource [
       fhir:value "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example";
       fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example>     ]
  ];
  fhir:PlanDefinition.action [
     fhir:index 0;
     fhir:Element.id [ fhir:value "initiate-reporting-workflow" ];
     fhir:PlanDefinition.action.description [ fhir:value "This action represents the start of a reporting workflow." ];
     fhir:PlanDefinition.action.textEquivalent [ fhir:value "Initiate Reporting Workflow" ];
     fhir:PlanDefinition.action.code [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions" ];
         fhir:Coding.code [ fhir:value "initiate-reporting-workflow" ]       ]     ];
     fhir:PlanDefinition.action.trigger [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-us-ph-namedEventType" ];
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-triggerdefinition-namedevents" ];
             fhir:Coding.code [ fhir:value "encounter-close" ];
             fhir:Coding.display [ fhir:value "Indicates the close of an encounter" ]           ]         ]       ];
       fhir:TriggerDefinition.type [ fhir:value "named-event" ];
       fhir:TriggerDefinition.name [ fhir:value "encounter-close" ]     ];
     fhir:PlanDefinition.action.input [
       fhir:index 0;
       fhir:DataRequirement.type [ fhir:value "Patient" ]     ], [
       fhir:index 1;
       fhir:DataRequirement.type [ fhir:value "Encounter" ]     ];
     fhir:PlanDefinition.action.relatedAction [
       fhir:index 0;
       fhir:PlanDefinition.action.relatedAction.actionId [ fhir:value "check-trigger-codes" ];
       fhir:PlanDefinition.action.relatedAction.relationship [ fhir:value "before-start" ];
       fhir:PlanDefinition.action.relatedAction.offsetDuration [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "min" ]       ]     ]
  ], [
     fhir:index 1;
     fhir:Element.id [ fhir:value "check-trigger-codes" ];
     fhir:PlanDefinition.action.description [ fhir:value "This action represents the execution of the checking trigger codes in the  workflow." ];
     fhir:PlanDefinition.action.textEquivalent [ fhir:value "Check Trigger Codes" ];
     fhir:PlanDefinition.action.action [
       fhir:index 0;
       fhir:PlanDefinition.action.code [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions" ];
           fhir:Coding.code [ fhir:value "check-trigger-codes" ]         ]       ];
       fhir:PlanDefinition.action.condition [
         fhir:index 0;
         fhir:PlanDefinition.action.condition.kind [ fhir:value "applicability" ];
         fhir:PlanDefinition.action.condition.expression [
           fhir:Expression.language [ fhir:value "text/fhirpath" ];
           fhir:Expression.expression [ fhir:value "Condition.code.memberof(http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example)" ]         ]       ];
       fhir:PlanDefinition.action.input [
         fhir:index 0;
         fhir:DataRequirement.type [ fhir:value "Patient" ]       ], [
         fhir:index 1;
         fhir:DataRequirement.type [ fhir:value "Encounter" ]       ];
       fhir:PlanDefinition.action.relatedAction [
         fhir:index 0;
         fhir:PlanDefinition.action.relatedAction.actionId [ fhir:value "create-report" ];
         fhir:PlanDefinition.action.relatedAction.relationship [ fhir:value "before-start" ]       ]     ]
  ], [
     fhir:index 2;
     fhir:Element.id [ fhir:value "create-report" ];
     fhir:PlanDefinition.action.description [ fhir:value "This action represents the creation of a cancer report." ];
     fhir:PlanDefinition.action.textEquivalent [ fhir:value "Create Report" ];
     fhir:PlanDefinition.action.code [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions" ];
         fhir:Coding.code [ fhir:value "create-report" ]       ]     ];
     fhir:PlanDefinition.action.output [
       fhir:index 0;
       fhir:DataRequirement.type [ fhir:value "Bundle" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle>       ]     ]
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.