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 - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "central-cancer-registry-reporting-specification-bundle-example",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2020-11-29T02:03:28.045+00:00",
    "profile" : [
      🔗 "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-specification-bundle"
    ]
  },
  "type" : "collection",
  "timestamp" : "2020-11-20T11:15:33-10:00",
  "entry" : [
    {
      "fullUrl" : "http://hl7.org/fhir/us/central-cancer-registry-reporting/PlanDefinition/plandefinition-central-cancer-registry-reporting-example",
      "resource" : {
        "resourceType" : "PlanDefinition",
        "id" : "plandefinition-central-cancer-registry-reporting-example",
        "meta" : {
          "versionId" : "1",
          "lastUpdated" : "2020-11-29T02:03:28.045+00:00",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-plandefinition"
          ]
        },
        "text" : {
          "status" : "extensions",
          "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>"
        },
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-receiver-endpoint",
            "valueReference" : {
              🔗 "reference" : "Endpoint/example-ph-endpoint"
            }
          }
        ],
        "url" : "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/plandefinition-central-cancer-registry-reporting-example",
        "version" : "1.0",
        "name" : "CentralCancerRegistryReportingExample",
        "title" : "PlanDefinition Central Cancer Registry Reporting Example",
        "type" : {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/plan-definition-type",
              "code" : "workflow-definition",
              "display" : "Workflow Definition"
            }
          ]
        },
        "status" : "draft",
        "experimental" : true,
        "date" : "2020-11-04T12:32:29.858-05:00",
        "publisher" : "HL7 Public Health Work Group",
        "description" : "This is the Healthcare Survey Reporting Knowledge Artifact",
        "effectivePeriod" : {
          "start" : "2021-11-01"
        },
        "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"
          }
        ],
        "action" : [
          {
            "id" : "start-workflow",
            "description" : "This action represents the start of the reporting workflow in response to the encounter-end event",
            "textEquivalent" : "Start the reporting workflow in response to an encounter-end event",
            "code" : [
              {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                    "code" : "initiate-reporting-workflow"
                  }
                ]
              }
            ],
            "trigger" : [
              {
                "id" : "encounter-close",
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-named-eventtype",
                    "valueCodeableConcept" : {
                      "coding" : [
                        {
                          "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-triggerdefinition-namedevents",
                          "code" : "encounter-end",
                          "display" : "Indicates the end of an encounter"
                        }
                      ]
                    }
                  }
                ],
                "type" : "named-event",
                "name" : "encounter-end"
              }
            ],
            "relatedAction" : [
              {
                "actionId" : "check-reportable",
                "relationship" : "before-start",
                "offsetDuration" : {
                  "value" : 72,
                  "system" : "http://unitsofmeasure.org",
                  "code" : "h"
                }
              }
            ]
          },
          {
            "id" : "check-reportable",
            "description" : "This action represents the check for suspected reportability of the cancer data.",
            "textEquivalent" : "Check Reportability and setup jobs for future reportability checks.",
            "code" : [
              {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                    "code" : "execute-reporting-workflow"
                  }
                ]
              }
            ],
            "action" : [
              {
                "id" : "is-encounter-reportable",
                "description" : "This action represents the check for reportability to create the patients eICR.",
                "textEquivalent" : "Check Trigger Codes based on RCTC Value sets.",
                "code" : [
                  {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                        "code" : "check-trigger-codes"
                      }
                    ]
                  }
                ],
                "condition" : [
                  {
                    "kind" : "applicability",
                    "expression" : {
                      "language" : "text/fhirpath",
                      "expression" : "%conditions.exists()"
                    }
                  }
                ],
                "input" : [
                  {
                    "id" : "conditions",
                    "extension" : [
                      {
                        "url" : "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension",
                        "valueString" : "Condition?code=C00.0&patient=Patient/{{context.patientId}}"
                      }
                    ],
                    "type" : "Condition",
                    "codeFilter" : [
                      {
                        "path" : "code",
                        "valueSet" : "http://hl7.org/fhir/us/central-cancer-registry-reporting/ValueSet/cancer-core-reportability-codes"
                      }
                    ]
                  }
                ],
                "relatedAction" : [
                  {
                    "actionId" : "report-cancer-data",
                    "relationship" : "before-start"
                  }
                ]
              },
              {
                "id" : "should-continue-reporting",
                "code" : [
                  {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                        "code" : "evaluate-condition"
                      }
                    ]
                  }
                ],
                "condition" : [
                  {
                    "kind" : "applicability",
                    "expression" : {
                      "language" : "text/fhirpath",
                      "expression" : "%patient.deceased[x] == null"
                    }
                  }
                ],
                "relatedAction" : [
                  {
                    "actionId" : "check-reportable",
                    "relationship" : "before-start",
                    "offsetDuration" : {
                      "value" : 6,
                      "system" : "http://unitsofmeasure.org",
                      "code" : "mo"
                    }
                  }
                ]
              }
            ]
          },
          {
            "id" : "report-cancer-data",
            "description" : "This action represents the creation, validation and submission of the cancer report.",
            "textEquivalent" : "Check Reportability and setup jobs for future reportability checks.",
            "code" : [
              {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                    "code" : "execute-reporting-workflow"
                  }
                ]
              }
            ],
            "action" : [
              {
                "id" : "create-cancer-report",
                "description" : "This action represents the creation of the cancer report.",
                "textEquivalent" : "Central Cancer Registry Report",
                "code" : [
                  {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                        "code" : "create-report"
                      }
                    ]
                  }
                ],
                "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/cancer-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"
                    ]
                  }
                ],
                "relatedAction" : [
                  {
                    "actionId" : "validate-report",
                    "relationship" : "before-start"
                  }
                ]
              },
              {
                "id" : "validate-cancer-report",
                "description" : "This action represents the validation of the cancer report.",
                "textEquivalent" : "Validate Report",
                "code" : [
                  {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                        "code" : "validate-report"
                      }
                    ]
                  }
                ],
                "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"
                    ]
                  }
                ],
                "relatedAction" : [
                  {
                    "actionId" : "submit-report",
                    "relationship" : "before-start"
                  }
                ]
              },
              {
                "id" : "route-and-send-cancer-report",
                "description" : "This action represents the routing and sending of the cancer report.",
                "textEquivalent" : "Route and send cancer report",
                "code" : [
                  {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                        "code" : "submit-report"
                      }
                    ]
                  }
                ],
                "input" : [
                  {
                    "id" : "val-cancer-report",
                    "type" : "Bundle",
                    "profile" : [
                      🔗 "http://hl7.org/fhir/us/central-cancer-registry-reporting/StructureDefinition/ccrr-reporting-bundle"
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  ]
}