{
"description": "This is the Healthcare Survey Reporting Knowledge Artifact",
"_filename": "example/PlanDefinition-plandefinition-central-cancer-registry-reporting-example.json",
"package_name": "hl7.fhir.us.central-cancer-registry-reporting",
"date": "2020-11-04T12:32:29.858-05:00",
"meta": {
"profile": [ "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-plandefinition" ],
"versionId": "1",
"lastUpdated": "2020-11-29T02:03:28.045+00:00"
},
"publisher": "HL7 International / Public Health",
"jurisdiction": [ {
"coding": [ {
"code": "US",
"system": "urn:iso:std:iso:3166"
} ]
} ],
"name": "CentralCancerRegistryReportingExample",
"type": "{:coding [{:system \\\"http://terminology.hl7.org/CodeSystem/plan-definition-type\\\", :code \\\"workflow-definition\\\", :display \\\"Workflow Definition\\\"}]}",
"experimental": "true",
"resourceType": "PlanDefinition",
"title": "PlanDefinition Central Cancer Registry Reporting Example",
"package_version": "2.0.0-ballot",
"status": "draft",
"id": "2db48fe3-566a-4cd2-80ae-a47e1d862189",
"kind": null,
"url": "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/plandefinition-central-cancer-registry-reporting-example",
"identifier": [ {
"value": "urn:oid:2.16.840.1.113883.4.642.40.40.34.1",
"system": "urn:ietf:rfc:3986"
} ],
"action": [ {
"id": "start-workflow",
"code": [ {
"coding": [ {
"code": "initiate-reporting-workflow",
"system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"
} ]
} ],
"trigger": [ {
"id": "encounter-close",
"name": "encounter-close",
"type": "named-event",
"extension": [ {
"url": "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-named-eventtype-extension",
"valueCodeableConcept": {
"coding": [ {
"code": "encounter-close",
"system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-triggerdefinition-namedevents",
"display": "Indicates the close of an encounter"
} ]
}
} ]
} ],
"description": "This action represents the start of the reporting workflow in response to the encounter-close event",
"relatedAction": [ {
"actionId": "check-reportable",
"relationship": "before-start",
"offsetDuration": {
"code": "h",
"value": 72,
"system": "http://unitsofmeasure.org"
}
} ],
"textEquivalent": "Start the reporting workflow in response to an encounter-close event"
}, {
"id": "check-reportable",
"code": [ {
"coding": [ {
"code": "execute-reporting-workflow",
"system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"
} ]
} ],
"action": [ {
"id": "is-encounter-reportable",
"code": [ {
"coding": [ {
"code": "check-trigger-codes",
"system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"
} ]
} ],
"input": [ {
"id": "conditions",
"type": "Condition",
"extension": [ {
"url": "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-fhirquerypattern-extension",
"valueString": "Condition?patient=Patient/{{context.patientId}}"
} ],
"codeFilter": [ {
"path": "code",
"valueSet": "http://hl7.org/fhir/us/central-cancer-registry-reporting/ValueSet/cancer-core-reportability-codes|2.0.0"
} ]
} ],
"condition": [ {
"kind": "applicability",
"expression": {
"language": "text/fhirpath",
"expression": "%conditions.exists()"
}
} ],
"description": "This action represents the check for reportability to create the patients eICR.",
"relatedAction": [ {
"actionId": "report-cancer-data",
"relationship": "before-start"
} ],
"textEquivalent": "Check Trigger Codes based on RCTC Value sets."
}, {
"id": "should-continue-reporting",
"code": [ {
"coding": [ {
"code": "evaluate-condition",
"system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"
} ]
} ],
"condition": [ {
"kind": "applicability",
"expression": {
"language": "text/fhirpath",
"expression": "%patient.deceased[x] == null && (currentTime - previousReportSubmissionTime) < 7776000"
}
} ],
"relatedAction": [ {
"actionId": "check-reportable",
"relationship": "before-start",
"offsetDuration": {
"code": "mo",
"value": 6,
"system": "http://unitsofmeasure.org"
}
} ]
} ],
"description": "This action represents the check for suspected reportability of the cancer data.",
"textEquivalent": "Check Reportability and setup jobs for future reportability checks."
}, {
"id": "report-cancer-data",
"code": [ {
"coding": [ {
"code": "execute-reporting-workflow",
"system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"
} ]
} ],
"action": [ {
"id": "create-cancer-report",
"code": [ {
"coding": [ {
"code": "create-report",
"system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"
} ]
} ],
"input": [ {
"id": "patient",
"type": "Patient",
"profile": [ "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/central-cancer-registry-reporting-patient" ]
}, {
"id": "condition",
"type": "Condition",
"profile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-primary-cancer-condition" ]
}, {
"id": "encounter",
"type": "Encounter",
"profile": [ "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/central-cancer-registry-reporting-encounter" ]
}, {
"id": "mr",
"type": "MedicationRequest",
"profile": [ "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-related-medication-request" ]
}, {
"id": "vitals",
"type": "Observation",
"profile": [ "http://hl7.org/fhir/StructureDefinition/vitalsigns" ]
}, {
"id": "labs",
"type": "Observation",
"profile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|6.1.0" ]
} ],
"output": [ {
"id": "cancer-report",
"type": "Bundle",
"profile": [ "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle" ]
} ],
"description": "This action represents the creation of the cancer report.",
"relatedAction": [ {
"actionId": "validate-report",
"relationship": "before-start"
} ],
"textEquivalent": "Central Cancer Registry Report"
}, {
"id": "validate-cancer-report",
"code": [ {
"coding": [ {
"code": "validate-report",
"system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"
} ]
} ],
"input": [ {
"id": "created-cancer-report",
"type": "Bundle",
"profile": [ "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle" ]
} ],
"output": [ {
"id": "validated-cancer-report",
"type": "Bundle",
"profile": [ "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle" ]
} ],
"description": "This action represents the validation of the cancer report.",
"relatedAction": [ {
"actionId": "submit-report",
"relationship": "before-start"
} ],
"textEquivalent": "Validate Report"
}, {
"id": "route-and-send-cancer-report",
"code": [ {
"coding": [ {
"code": "submit-report",
"system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"
} ]
} ],
"input": [ {
"id": "val-cancer-report",
"type": "Bundle",
"profile": [ "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle" ]
} ],
"description": "This action represents the routing and sending of the cancer report.",
"textEquivalent": "Route and send cancer report"
} ],
"description": "This action represents the creation, validation and submission of the cancer report.",
"textEquivalent": "Check Reportability and setup jobs for future reportability checks."
} ],
"version": "2.0.0-ballot",
"relatedArtifact": [ {
"type": "depends-on",
"label": "Central Cancer Registry Trigger Codes",
"resource": "http://hl7.org/fhir/us/central-cancer-registry-reporting/ValueSet/cancer-core-reportability-codes|2.0.0"
} ],
"contact": [ {
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/pher",
"system": "url"
} ]
} ],
"effectivePeriod": {
"start": "2021-11-01"
}
}