{
"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",
"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 Work Group",
"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": "cancer-registry-reporting-0.1.0",
"extension": [ {
"url": "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-receiverAddress",
"valueReference": {
"reference": "Endpoint/example-ph-endpoint"
}
}, {
"url": "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-authorSignature",
"valueSignature": {
"who": {
"reference": "Organization/example-pha-org"
},
"data": "L44u",
"type": [ {
"code": "1.2.840.10065.1.12.1.5",
"system": "urn:iso-astm:E1762-95:2013",
"display": "Verification Signature"
} ],
"when": "2020-11-03T22:39:24.000+00:00",
"sigFormat": "application/signature+xml",
"targetFormat": "application/fhir+xml"
}
} ],
"status": "draft",
"id": "a2620c71-8e6d-4ed0-bff4-6de2a5de3730",
"kind": null,
"url": "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/plandefinition-central-cancer-registry-reporting-example",
"action": [ {
"id": "start-workflow",
"code": [ {
"coding": [ {
"code": "initiate-reporting-workflow",
"system": "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"
} ]
} ],
"trigger": [ {
"id": "encounter-close",
"name": "encounter-close",
"type": "named-event",
"extension": [ {
"url": "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-us-ph-namedEventType",
"valueCodeableConcept": {
"coding": [ {
"code": "encounter-close",
"system": "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-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/medmorph/CodeSystem/us-ph-plandefinition-actions"
} ]
} ],
"action": [ {
"id": "is-encounter-reportable",
"code": [ {
"coding": [ {
"code": "check-trigger-codes",
"system": "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"
} ]
} ],
"input": [ {
"id": "conditions",
"type": "Condition",
"extension": [ {
"url": "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension",
"valueString": "Condition?code=C00.0&patient=Patient/{{context.patientId}}"
} ],
"codeFilter": [ {
"path": "code",
"valueSet": "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"
} ]
} ],
"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/medmorph/CodeSystem/us-ph-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/medmorph/CodeSystem/us-ph-plandefinition-actions"
} ]
} ],
"action": [ {
"id": "create-cancer-report",
"code": [ {
"coding": [ {
"code": "create-report",
"system": "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"
} ]
} ],
"input": [ {
"id": "patient",
"type": "Patient",
"profile": [ "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/cancer-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/us-ph-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" ]
} ],
"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/medmorph/CodeSystem/us-ph-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/medmorph/CodeSystem/us-ph-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": "0.1.0",
"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"
} ],
"contact": [ {
"telecom": [ {
"value": "http://hl7.org/Special/committees/pher",
"system": "url"
} ]
} ],
"effectivePeriod": {
"start": "2021-11-01"
}
}