Central Cancer Registry Reporting Content IG
1.0.0 - STU 1 United States of America flag

Central Cancer Registry Reporting Content IG, published by HL7 International / Public Health. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-central-cancer-registry-reporting-ig/ and changes regularly. See the Directory of published versions

: Central Cancer Registry PlanDefinition - Example - TTL Representation

Draft as of 2020-11-04

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:id [ fhir:v "plandefinition-central-cancer-registry-reporting-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/central-cancer-registry-reporting/StructureDefinition/ccrr-plandefinition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-plandefinition>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>CCRR PlanDefinition Example</b></p></div>"
  ] ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/plandefinition-central-cancer-registry-reporting-example"^^xsd:anyURI] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.40.40.34.1" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "CentralCancerRegistryReportingExample"] ; # 
  fhir:title [ fhir:v "PlanDefinition Central Cancer Registry 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 "HL7 International / Public Health"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/pher" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This is the Healthcare Survey Reporting Knowledge Artifact"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "US" ]     ] )
  ] ) ; # 
  fhir:effectivePeriod [
fhir:start [ fhir:v "2021-11-01"^^xsd:date ]
  ] ; # 
  fhir:relatedArtifact ( [
fhir:type [ fhir:v "depends-on" ] ;
fhir:label [ fhir:v "Central Cancer Registry Trigger Codes" ] ;
fhir:resource [
fhir:v "http://hl7.org/fhir/us/central-cancer-registry-reporting/ValueSet/cancer-core-reportability-codes"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/central-cancer-registry-reporting/ValueSet/cancer-core-reportability-codes>     ]
  ] ) ; # 
  fhir:action ( [
fhir:id [ fhir:v "start-workflow" ] ;
fhir:description [ fhir:v "This action represents the start of the reporting workflow in response to the encounter-end event" ] ;
fhir:textEquivalent [ fhir:v "Start the reporting workflow in response to an encounter-end event" ] ;
    ( 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:id [ fhir:v "encounter-close" ] ;
      ( 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-reportable" ] ;
fhir:relationship [ fhir:v "before-start" ] ;
fhir:offset [
a fhir:Duration ;
fhir:value [ fhir:v "72"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "h" ]       ]     ] )
  ] [
fhir:id [ fhir:v "check-reportable" ] ;
fhir:description [ fhir:v "This action represents the check for suspected reportability of the cancer data." ] ;
fhir:textEquivalent [ fhir:v "Check Reportability and setup jobs for future reportability checks." ] ;
    ( 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 "execute-reporting-workflow" ]       ] )     ] ) ;
    ( fhir:action [
fhir:id [ fhir:v "is-encounter-reportable" ] ;
fhir:description [ fhir:v "This action represents the check for reportability to create the patients eICR." ] ;
fhir:textEquivalent [ fhir:v "Check Trigger Codes based on RCTC Value sets." ] ;
      ( 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 "%conditions.exists()" ]         ]       ] ) ;
      ( fhir:input [
fhir:id [ fhir:v "conditions" ] ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Condition?patient=Patient/{{context.patientId}}" ]         ] ) ;
fhir:type [ fhir:v "Condition" ] ;
        ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/central-cancer-registry-reporting/ValueSet/cancer-core-reportability-codes"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/central-cancer-registry-reporting/ValueSet/cancer-core-reportability-codes>           ]         ] )       ] ) ;
      ( fhir:relatedAction [
fhir:actionId [ fhir:v "report-cancer-data" ] ;
fhir:relationship [ fhir:v "before-start" ]       ] )     ] [
fhir:id [ fhir:v "should-continue-reporting" ] ;
      ( 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 "evaluate-condition" ]         ] )       ] ) ;
      ( fhir:condition [
fhir:kind [ fhir:v "applicability" ] ;
fhir:expression [
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "%patient.deceased[x] == null && (currentTime - previousReportSubmissionTime) < 7776000" ]         ]       ] ) ;
      ( fhir:relatedAction [
fhir:actionId [ fhir:v "check-reportable" ] ;
fhir:relationship [ fhir:v "before-start" ] ;
fhir:offset [
a fhir:Duration ;
fhir:value [ fhir:v "6"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "mo" ]         ]       ] )     ] )
  ] [
fhir:id [ fhir:v "report-cancer-data" ] ;
fhir:description [ fhir:v "This action represents the creation, validation and submission of the cancer report." ] ;
fhir:textEquivalent [ fhir:v "Check Reportability and setup jobs for future reportability checks." ] ;
    ( 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 "execute-reporting-workflow" ]       ] )     ] ) ;
    ( fhir:action [
fhir:id [ fhir:v "create-cancer-report" ] ;
fhir:description [ fhir:v "This action represents the creation of the cancer report." ] ;
fhir:textEquivalent [ fhir:v "Central Cancer Registry 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" ]         ] )       ] ) ;
      ( fhir:input [
fhir:id [ fhir:v "patient" ] ;
fhir:type [ fhir:v "Patient" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/cancer-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/cancer-patient>         ] )       ] [
fhir:id [ fhir:v "condition" ] ;
fhir:type [ fhir:v "Condition" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-primary-cancer-condition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-primary-cancer-condition>         ] )       ] [
fhir:id [ fhir:v "encounter" ] ;
fhir:type [ fhir:v "Encounter" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/cancer-encounter"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/cancer-encounter>         ] )       ] [
fhir:id [ fhir:v "mr" ] ;
fhir:type [ fhir:v "MedicationRequest" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-related-medication-request"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-related-medication-request>         ] )       ] [
fhir:id [ fhir:v "vitals" ] ;
fhir:type [ fhir:v "Observation" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/vitalsigns"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/vitalsigns>         ] )       ] [
fhir:id [ fhir:v "labs" ] ;
fhir:type [ fhir:v "Observation" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab>         ] )       ] ) ;
      ( fhir:output [
fhir:id [ fhir:v "cancer-report" ] ;
fhir:type [ fhir:v "Bundle" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle>         ] )       ] ) ;
      ( fhir:relatedAction [
fhir:actionId [ fhir:v "validate-report" ] ;
fhir:relationship [ fhir:v "before-start" ]       ] )     ] [
fhir:id [ fhir:v "validate-cancer-report" ] ;
fhir:description [ fhir:v "This action represents the validation of the cancer report." ] ;
fhir:textEquivalent [ fhir:v "Validate 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 "validate-report" ]         ] )       ] ) ;
      ( fhir:input [
fhir:id [ fhir:v "created-cancer-report" ] ;
fhir:type [ fhir:v "Bundle" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle>         ] )       ] ) ;
      ( fhir:output [
fhir:id [ fhir:v "validated-cancer-report" ] ;
fhir:type [ fhir:v "Bundle" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle>         ] )       ] ) ;
      ( fhir:relatedAction [
fhir:actionId [ fhir:v "submit-report" ] ;
fhir:relationship [ fhir:v "before-start" ]       ] )     ] [
fhir:id [ fhir:v "route-and-send-cancer-report" ] ;
fhir:description [ fhir:v "This action represents the routing and sending of the cancer report." ] ;
fhir:textEquivalent [ fhir:v "Route and send cancer 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 "submit-report" ]         ] )       ] ) ;
      ( fhir:input [
fhir:id [ fhir:v "val-cancer-report" ] ;
fhir:type [ fhir:v "Bundle" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle>         ] )       ] )     ] )
  ] ) . #