Central Cancer Registry Reporting Content IG
2.0.0-ballot - STU 2 Ballot

Central Cancer Registry Reporting Content IG - Downloaded Version 2.0.0-ballot See the Directory of published versions

## : CCRR PlanDefinition - Example - TTL Representation

Page standards status: Informative

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @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:l <http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-plandefinition>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>CCRR PlanDefinition Example</b></p></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:url [
    fhir:v "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/plandefinition-central-cancer-registry-reporting-example"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/plandefinition-central-cancer-registry-reporting-example>
      ] ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
    fhir:l <urn:ietf:rfc:3986>     ] ;
    fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.40.40.34.1" ]
      ] ) ; #
      fhir:version [ fhir:v "2.0.0-ballot"] ; #
      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:l <http://terminology.hl7.org/CodeSystem/plan-definition-type>       ] ;
    fhir:code [ fhir:v "workflow-definition" ] ;
    fhir:display [ fhir:v "Workflow Definition" ]     ] )
      ] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:experimental [ fhir:v true] ; #
      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:l <urn:iso:std:iso:3166>       ] ;
    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|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/central-cancer-registry-reporting/ValueSet/cancer-core-reportability-codes?version=2.0.0>     ]
      ] ) ; #
      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-close event" ] ;
    fhir:textEquivalent [ fhir:v "Start the reporting workflow in response to an encounter-close event" ] ;
        ( fhir:code [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions>         ] ;
    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/ph-library/StructureDefinition/us-ph-named-eventtype-extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-named-eventtype-extension>         ] ;
    fhir:value [
    a fhir:CodeableConcept ;
              ( fhir:coding [
    fhir:system [
    fhir:v "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-triggerdefinition-namedevents"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-triggerdefinition-namedevents>             ] ;
    fhir:code [ fhir:v "encounter-close" ] ;
    fhir:display [ fhir:v "Indicates the close of an encounter" ]           ] )         ]       ] ) ;
    fhir:type [ fhir:v "named-event" ] ;
    fhir:name [ fhir:v "encounter-close" ]     ] ) ;
        ( 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:l <http://unitsofmeasure.org>         ] ;
    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/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions>         ] ;
    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/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions>           ] ;
    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/ph-library/StructureDefinition/us-ph-fhirquerypattern-extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-fhirquerypattern-extension>           ] ;
    fhir:value [
    a fhir:String ;
    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|2.0.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/central-cancer-registry-reporting/ValueSet/cancer-core-reportability-codes?version=2.0.0>           ]         ] )       ] ) ;
          ( 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/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions>           ] ;
    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:l <http://unitsofmeasure.org>           ] ;
    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/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions>         ] ;
    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/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions>           ] ;
    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/central-cancer-registry-reporting-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/central-cancer-registry-reporting-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:l <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/central-cancer-registry-reporting-encounter"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/central-cancer-registry-reporting-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:l <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:l <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|6.1.0"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab?version=6.1.0>         ] )       ] ) ;
          ( 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:l <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/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions>           ] ;
    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:l <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:l <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/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions>           ] ;
    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:l <http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle>         ] )       ] )     ] )
      ] ) . #