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

This page is part of the Making EHR Data MOre available for Research and Public Health (MedMorph) Central Cancer Registry Reporting Content IG (v1.0.0: STU1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: Central Cancer Registry Reporting Specifiation Bundle (Knowledge Artifact)- Example - 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 "central-cancer-registry-reporting-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 "http://hl7.org/fhir/us/central-cancer-registry-reporting/PlanDefinition/plandefinition-central-cancer-registry-reporting-example"^^xsd:anyURI ] ;
    ( fhir:resource <http://hl7.org/fhir/us/central-cancer-registry-reporting/PlanDefinition/plandefinition-central-cancer-registry-reporting-example> )
  ] ) . # 

<http://hl7.org/fhir/us/central-cancer-registry-reporting/PlanDefinition/plandefinition-central-cancer-registry-reporting-example> a fhir:PlanDefinition ;
  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>Generated Narrative</b></p><p><b>Receiver Endpoint Address</b>: <a>Generated Summary: id: example-endpoint; 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: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/central-cancer-registry-reporting/StructureDefinition/plandefinition-central-cancer-registry-reporting-example"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.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 Public Health Work Group"] ; # 
  fhir:description [ fhir:v "This is the Healthcare Survey Reporting Knowledge Artifact"] ; # 
  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?code=C00.0&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" ]         ]       ] ) ;
      ( 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>         ] )       ] )     ] )
  ] ) . #