Making Electronic Data More available for Research and Public Health (MedMorph)
1.0.0 - STU 1 United States of America flag

Making Electronic Data More available for Research and Public Health (MedMorph), published by HL7 International - Public Health Work Group. This is not an authorized publication; it is the continuous build for version 1.0.0). This version is based on the current content of https://github.com/HL7/fhir-medmorph/ and changes regularly. 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:id [ fhir:v "specification-bundle-example"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "1" ] ;
fhir:lastUpdated [ fhir:v "2020-11-29T02:03:28.045+00:00"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-specification-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-specification-bundle>     ] )
  ] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:timestamp [ fhir:v "2020-11-20T11:15:33-10:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "PlanDefinition/plandefinition-cancer-example"^^xsd:anyURI ] ;
    ( fhir:resource <PlanDefinition/plandefinition-cancer-example> )
  ] [
fhir:fullUrl [ fhir:v "ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ] ;
    ( fhir:resource <ValueSet/valueset-cancer-trigger-codes-example> )
  ] ) . # 

<PlanDefinition/plandefinition-cancer-example> a fhir:PlanDefinition ;
  fhir:id [ fhir:v "plandefinition-cancer-example"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "1" ] ;
fhir:lastUpdated [ fhir:v "2020-11-29T02:03:28.045+00:00"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-plandefinition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-plandefinition>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: PlanDefinition</b><a name=\"plandefinition-cancer-example\"> </a></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 &quot;plandefinition-cancer-example&quot; Version &quot;1&quot; Updated &quot;2020-11-29 02:03:28+0000&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-ph-plandefinition.html\">US Public Health PlanDefinition</a></p></div><p><b>US Public Health Receiver Endpoint</b>: <a href=\"Endpoint-example-ph-endpoint.html\">Endpoint/example-ph-endpoint</a> &quot;PHAReceiver&quot;</p><p><b>US Public Health Async Indicator Extension</b>: true</p><p><b>US Public Health Expected Response Time Extension</b>: 1 min<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code min = 'min')</span></p><p><b>url</b>: <code>http://hl7.org/fhir/us/medmorph/StructureDefinition/plandefinition-cancer-example</code></p><p><b>version</b>: 1.0</p><p><b>name</b>: PlanDefinitionCancerExample</p><p><b>title</b>: PlanDefinition Cancer Reporting Example</p><p><b>type</b>: Workflow Definition <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-plan-definition-type.html\">PlanDefinitionType</a>#workflow-definition)</span></p><p><b>status</b>: draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2020-11-04 12:32:29-0500</p><p><b>publisher</b>: MedMorph</p><p><b>description</b>: This is the Cancer Reporting Knowledge Artifact</p><p><b>effectivePeriod</b>: 2020-11-01 --&gt; (ongoing)</p><h3>RelatedArtifacts</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Label</b></td><td><b>Resource</b></td></tr><tr><td>*</td><td>depends-on</td><td>Cancer Trigger Codes</td><td><a href=\"Bundle-specification-bundle-example.html\">SNOMED Cancer Codes Example</a></td></tr></table><blockquote><p><b>action</b></p><blockquote><p><b>id</b></p>initiate-reporting-workflow</blockquote><p><b>description</b>: This action represents the start of a reporting workflow.</p><p><b>textEquivalent</b>: Initiate Reporting Workflow</p><p><b>code</b>: Initiate a reporting workflow <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-us-ph-plandefinition-actions.html\">US Public Health PlanDefinition Action Codes</a>#initiate-reporting-workflow)</span></p><h3>Triggers</h3><table class=\"grid\"><tr><td>-</td><td><b>Extension</b></td><td><b>Type</b></td><td><b>Name</b></td></tr><tr><td>*</td><td/><td>named-event</td><td>encounter-end</td></tr></table><h3>RelatedActions</h3><table class=\"grid\"><tr><td>-</td><td><b>ActionId</b></td><td><b>Relationship</b></td><td><b>Offset[x]</b></td></tr><tr><td>*</td><td>check-trigger-codes</td><td>before-start</td><td>1 min<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code min = 'min')</span></td></tr></table></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>id</b></p>check-trigger-codes</blockquote><p><b>description</b>: This action represents the execution of the checking trigger codes in the  workflow.</p><p><b>textEquivalent</b>: Check Trigger Codes</p><blockquote><p><b>action</b></p><p><b>code</b>: Evaluate candidate patient's data against trigger codes to determine reportability <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-us-ph-plandefinition-actions.html\">US Public Health PlanDefinition Action Codes</a>#check-trigger-codes)</span></p><blockquote><p><b>condition</b></p></blockquote><blockquote><p><b>relatedAction</b></p></blockquote></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>id</b></p>create-report</blockquote><p><b>description</b>: This action represents the creation of a cancer report.</p><p><b>textEquivalent</b>: Create Report</p><p><b>code</b>: Create a report for submission to a PHA or a Research Organization <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-us-ph-plandefinition-actions.html\">US Public Health PlanDefinition Action Codes</a>#create-report)</span></p></blockquote></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-receiver-endpoint"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Endpoint/example-ph-endpoint" ]     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-async-indicator"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-expected-responsetime"^^xsd:anyURI ] ;
fhir:value [
a fhir:Duration ;
fhir:value [ fhir:v "1"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "min" ]     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/plandefinition-cancer-example"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0"] ; # 
  fhir:name [ fhir:v "PlanDefinitionCancerExample"] ; # 
  fhir:title [ fhir:v "PlanDefinition Cancer Reporting Example"] ; # 
  fhir:type [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/plan-definition-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "workflow-definition" ] ;
fhir:display [ fhir:v "Workflow Definition" ]     ] )
  ] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2020-11-04T12:32:29.858-05:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "MedMorph"] ; # 
  fhir:description [ fhir:v "This is the Cancer Reporting Knowledge Artifact"] ; # 
  fhir:effectivePeriod [
fhir:start [ fhir:v "2020-11-01"^^xsd:date ]
  ] ; # 
  fhir:relatedArtifact ( [
fhir:type [ fhir:v "depends-on" ] ;
fhir:label [ fhir:v "Cancer Trigger Codes" ] ;
fhir:resource [
fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example>     ]
  ] ) ; # 
  fhir:action ( [
fhir:id [ fhir:v "initiate-reporting-workflow" ] ;
fhir:description [ fhir:v "This action represents the start of a reporting workflow." ] ;
fhir:textEquivalent [ fhir:v "Initiate Reporting Workflow" ] ;
    ( fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "initiate-reporting-workflow" ]       ] )     ] ) ;
    ( fhir:trigger [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-named-eventtype"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
          ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-triggerdefinition-namedevents"^^xsd:anyURI ] ;
fhir:code [ fhir:v "encounter-end" ] ;
fhir:display [ fhir:v "Indicates the end of an encounter" ]           ] )         ]       ] ) ;
fhir:type [ fhir:v "named-event" ] ;
fhir:name [ fhir:v "encounter-end" ]     ] ) ;
    ( fhir:relatedAction [
fhir:actionId [ fhir:v "check-trigger-codes" ] ;
fhir:relationship [ fhir:v "before-start" ] ;
fhir:offset [
a fhir:Duration ;
fhir:value [ fhir:v "1"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "min" ]       ]     ] )
  ] [
fhir:id [ fhir:v "check-trigger-codes" ] ;
fhir:description [ fhir:v "This action represents the execution of the checking trigger codes in the  workflow." ] ;
fhir:textEquivalent [ fhir:v "Check Trigger Codes" ] ;
    ( fhir:action [
      ( fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "check-trigger-codes" ]         ] )       ] ) ;
      ( fhir:condition [
fhir:kind [ fhir:v "applicability" ] ;
fhir:expression [
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "Condition.code.memberof(http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example)" ]         ]       ] ) ;
      ( fhir:relatedAction [
fhir:actionId [ fhir:v "create-report" ] ;
fhir:relationship [ fhir:v "before-start" ]       ] )     ] )
  ] [
fhir:id [ fhir:v "create-report" ] ;
fhir:description [ fhir:v "This action represents the creation of a cancer report." ] ;
fhir:textEquivalent [ fhir:v "Create Report" ] ;
    ( fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "create-report" ]       ] )     ] )
  ] ) . #     <library value="http://aphl.org/fhir/ecr/Library/RuleFiltersCancer|1.0.0"/> 

<ValueSet/valueset-cancer-trigger-codes-example> a fhir:ValueSet ;
  fhir:id [ fhir:v "valueset-cancer-trigger-codes-example"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "1" ] ;
fhir:lastUpdated [ fhir:v "2020-11-30T23:10:42.057+00:00"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-valueset"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-valueset>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This value set includes trigger code examples for cancer reporting</p></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/valueset-steward"^^xsd:anyURI ] ;
fhir:value [
a fhir:ContactDetail ;
fhir:name [ fhir:v "CSTE Steward" ]     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/valueset-author"^^xsd:anyURI ] ;
fhir:value [
a fhir:ContactDetail ;
fhir:name [ fhir:v "CSTE Author" ]     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "3.0.0"] ; # 
  fhir:name [ fhir:v "SNOMEDCancerCodesExample"] ; # 
  fhir:title [ fhir:v "SNOMED Cancer Codes Example"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2018-08-01"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 Public Health Work Group (http://www.hl7.org/Special/committees/pher/index.cfm)"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "HL7 International - Public Health" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/pher" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "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:useContext ( [
fhir:code [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "program" ]     ] ;
fhir:value [
a fhir:CodeableConcept ;
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-valueset-usecontext-codes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "ph-reporting" ] ;
fhir:display [ fhir:v "ValueSet is to be used in the context of public health reporting use cases." ]       ] )     ]
  ] ) ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "US" ] ;
fhir:display [ fhir:v "United States of America" ]     ] ) ;
fhir:text [ fhir:v "United States of America" ]
  ] ) ; # 
  fhir:copyright [ fhir:v "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:compose [
    ( fhir:include [
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
      ( fhir:concept [
fhir:code [ fhir:v "281566005" ] ;
fhir:display [ fhir:v "Abdominothoracic neuroblastoma" ]       ] )     ] )
  ] . #