Making EHR Data More available for Research and Public Health (MedMorph)
0.2.0 - STU 1 draft

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

: Example of a Specification Bundle for a Knowledge Artifact containing a PlanDefinition and ValueSet - 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:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "specification-bundle-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-specification-bundle";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-specification-bundle>     ]
  ];
  fhir:Bundle.type [ fhir:value "collection"];
  fhir:Bundle.timestamp [ fhir:value "2020-11-20T11:15:33-10:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "PlanDefinition/plandefinition-cancer-example" ];
     fhir:Bundle.entry.resource <PlanDefinition/plandefinition-cancer-example>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "ValueSet/valueset-cancer-trigger-codes-example" ];
     fhir:Bundle.entry.resource <ValueSet/valueset-cancer-trigger-codes-example>
  ].

<PlanDefinition/plandefinition-cancer-example> a fhir:PlanDefinition;
  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><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>"
  ];
  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-27T08:39:24+10: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 "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 "MedMorph"];
  fhir:PlanDefinition.description [ fhir:value "This is the Cancer Reporting Knowledge Artifact"];
  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.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.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" ]       ]     ]
  ].

<ValueSet/valueset-cancer-trigger-codes-example> a fhir:ValueSet;
  fhir:Resource.id [ fhir:value "valueset-cancer-trigger-codes-example"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "1" ];
     fhir:Meta.lastUpdated [ fhir:value "2020-11-30T23:10:42.057+00:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-valueset";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-valueset>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This value set includes trigger code examples for cancer reporting</p></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-steward" ];
     fhir:Extension.valueContactDetail [
       fhir:ContactDetail.name [ fhir:value "CSTE Steward" ]     ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-author" ];
     fhir:Extension.valueContactDetail [
       fhir:ContactDetail.name [ fhir:value "CSTE Author" ]     ]
  ];
  fhir:ValueSet.url [ fhir:value "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"];
  fhir:ValueSet.version [ fhir:value "3.0.0"];
  fhir:ValueSet.name [ fhir:value "SNOMEDCancerCodesExample"];
  fhir:ValueSet.title [ fhir:value "SNOMED Cancer Codes Example"];
  fhir:ValueSet.status [ fhir:value "draft"];
  fhir:ValueSet.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:ValueSet.date [ fhir:value "2018-08-01"^^xsd:date];
  fhir:ValueSet.publisher [ fhir:value "HL7 Public Health Work Group (http://www.hl7.org/Special/committees/pher/index.cfm)"];
  fhir:ValueSet.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "HL7 International - Public Health" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/pher" ]     ]
  ];
  fhir:ValueSet.description [ fhir:value "This example set of values contains diagnoses or problems that represent that the patient may have a potentially reportable condition regardless of the clinical presentation of the condition"];
  fhir:ValueSet.useContext [
     fhir:index 0;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
       fhir:Coding.code [ fhir:value "program" ]     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-valueset-usecontext-codes" ];
         fhir:Coding.code [ fhir:value "ph-reporting" ];
         fhir:Coding.display [ fhir:value "ValueSet is to be used in the context of public health reporting use cases." ]       ]     ]
  ];
  fhir:ValueSet.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:Coding.display [ fhir:value "United States of America" ]     ];
     fhir:CodeableConcept.text [ fhir:value "United States of America" ]
  ];
  fhir:ValueSet.copyright [ fhir:value "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement"];
  fhir:ValueSet.compose [
     fhir:ValueSet.compose.include [
       fhir:index 0;
       fhir:ValueSet.compose.include.system [ fhir:value "http://snomed.info/sct" ];
       fhir:ValueSet.compose.include.concept [
         fhir:index 0;
         fhir:ValueSet.compose.include.concept.code [ fhir:value "281566005" ];
         fhir:ValueSet.compose.include.concept.display [ fhir:value "Abdominothoracic neuroblastoma" ]       ]     ]
  ].

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

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