HL7 FHIR® Implementation Guide: Electronic Case Reporting (eCR) - US Realm, published by HL7 International / Public Health. This guide is not an authorized publication; it is the continuous build for version 2.1.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/case-reporting/ and changes regularly. See the Directory of published versions
Active as of 2020-07-31 |
Generated Narrative: PlanDefinition plandefinition-ersd-instance-example
Variable: 14
(normalReportingDuration)
url: PlanDefinition eRSD PlanDefinition Instance Example
identifier: Uniform Resource Identifier (URI)/urn:oid:2.16.840.1.113883.4.642.40.46.34.3
version: 2.1.2
name: PlanDefinition_eRSD_Instance_Example
title: eRSD PlanDefinition Instance Example
type: Workflow Definition
status: Active
experimental: true
date: 2020-07-31 12:32:29-0500
publisher: HL7 International / Public Health
contact: HL7 International / Public Health: http://www.hl7.org/Special/committees/pher
description:
An example ersd PlanDefinition
jurisdiction: United States of America
effectivePeriod: 2020-12-01 --> (ongoing)
Type | Label | Resource |
Depends On | RCTC Value Set Library of Trigger Codes | Reportable Condition Trigger Codes (RCTC) Example Library |
action
id
start-workflowdescription: This action represents the start of the reporting workflow in response to the encounter-start event.
textEquivalent: Start the reporting workflow in response to an encounter-start event
code: Initiate a reporting workflow
trigger
id
encounter-startUS Public Health Named Event Type Extension: Indicates the start of an encounter
type: Named Event
name: encounter-start
input
id
patientUS Public Health FHIR Query Pattern Extension: Patient/{{context.patientId}}
type: Patient
input
id
encounterUS Public Health FHIR Query Pattern Extension: Encounter/{{context.encounterId}}
type: Encounter
RelatedActions
ActionId Relationship Offset[x] check-suspected-disorder Before Start No display for Duration (value: 1; system: http://unitsofmeasure.org; code: h)
action
id
check-suspected-disorderdescription: This action represents the start of the check suspected disorder reporting workflow in response to the encounter-start event.
textEquivalent: Check suspected disorders for immediate reportability and setup jobs for future reportability checks.
code: Execute a series of actions to accomplish reporting
action
id
is-encounter-suspected-disorderdescription: This action represents the check for suspected disorder reportability to create the patients eICR.
textEquivalent: Check Trigger Codes based on Suspected Reportable Value set.
code: Evaluate candidate patient's data against trigger codes to determine reportability
condition
kind: Applicability
Expressions
Extension Language Expression FHIRPath %modifiedConditions.exists() or %modifiedLabResults.exists() or %modifiedMedicationOrders.exists() input
id
modifiedConditionsUS Public Health FHIR Query Pattern Extension: Condition?patient=Patient/{{context.patientId}}
type: Condition
CodeFilters
Path ValueSet code Example Suspected Disorder Triggers for Public Health Reporting input
id
modifiedLabResultsUS Public Health FHIR Query Pattern Extension: Observation?patient=Patient/{{context.patientId}}
type: Observation
CodeFilters
Path ValueSet value Example Lab Order Test Triggers for Public Health Reporting input
id
modifiedMedicationOrdersUS Public Health FHIR Query Pattern Extension: MedicationRequest?patient=Patient/{{context.patientId}}
type: MedicationRequest
CodeFilters
Path ValueSet medication Example Medications Triggers for Public Health Reporting RelatedActions
ActionId Relationship create-eicr Before Start action
id
continue-check-reportablecode: Evaluate condition to determine reportability
condition
kind: Applicability
Expressions
Extension Language Expression FHIRPath %encounter.where((status = 'in-progress' and period.start + 1 day * %normalReportingDuration >= now()) or (status = 'finished' and period.end + 72 hours >= now())).select(true) RelatedActions
ActionId Relationship Offset[x] check-reportable Before Start No display for Duration (value: 6; comparator: <=; system: http://unitsofmeasure.org; code: h)
action
id
check-reportabledescription: This action represents the check for suspected reportability of the eICR.
textEquivalent: Check Reportability and setup jobs for future reportability checks.
code: Execute a series of actions to accomplish reporting
action
id
is-encounter-reportabledescription: This action represents the check for reportability to create the patients eICR.
textEquivalent: Check Trigger Codes based on RCTC Value sets.
code: Evaluate candidate patient's data against trigger codes to determine reportability
condition
kind: Applicability
Expressions
Extension Language Expression FHIRPath %encounter.where(period.start + 1 day * %normalReportingDuration >= now()).select(true) and (%conditions.exists() or %encounters.exists() or %immunizations.exists() or %procedures.exists() or %procedureOrders.exists() or %labOrders.exists() or %labTests.exists() or %labResults.exists() or %medicationAdministrations.exists() or %medicationOrders.exists() or %medicationDispenses.exists()) input
id
conditionsUS Public Health FHIR Query Pattern Extension: Condition?patient=Patient/{{context.patientId}}
type: Condition
CodeFilters
Path ValueSet code Example Diagnosis Problem Triggers for Public Health Reporting input
id
encountersUS Public Health Related Data Extension: encounter
type: Encounter
CodeFilters
Path ValueSet reasonCode Example Diagnosis Problem Triggers for Public Health Reporting input
id
immunizationsUS Public Health FHIR Query Pattern Extension: Immunization?patient=Patient/{{context.patientId}}
type: Immunization
CodeFilters
Path ValueSet vaccineCode Example Medications Triggers for Public Health Reporting input
id
labOrdersUS Public Health FHIR Query Pattern Extension: ServiceRequest?patient=Patient/{{context.patientId}}
type: ServiceRequest
CodeFilters
Path ValueSet code Example Lab Order Test Triggers for Public Health Reporting input
id
labTestsUS Public Health FHIR Query Pattern Extension: Observation?patient=Patient/{{context.patientId}}
type: Observation
CodeFilters
Path ValueSet code Example Lab Order Test Triggers for Public Health Reporting input
id
diagnosticOrdersUS Public Health FHIR Query Pattern Extension: DiagnosticReport?patient=Patient/{{context.patientId}}
type: DiagnosticReport
CodeFilters
Path ValueSet code Example Lab Order Test Triggers for Public Health Reporting input
id
procedureOrdersUS Public Health FHIR Query Pattern Extension: ServiceRequest?patient=Patient/{{context.patientId}}
type: ServiceRequest
CodeFilters
Path ValueSet code Example Procedure Triggers for Public Health Reporting input
id
proceduresUS Public Health FHIR Query Pattern Extension: Procedure?patient=Patient/{{context.patientId}}
type: Procedure
CodeFilters
Path ValueSet code Example Procedure Triggers for Public Health Reporting input
id
medicationOrdersUS Public Health FHIR Query Pattern Extension: MedicationRequest?patient=Patient/{{context.patientId}}
type: MedicationRequest
CodeFilters
Path ValueSet medication Example Medications Triggers for Public Health Reporting input
id
medicationDispensesUS Public Health FHIR Query Pattern Extension: MedicationDispense?patient=Patient/{{context.patientId}}
type: MedicationDispense
CodeFilters
Path ValueSet medication Example Medications Triggers for Public Health Reporting input
id
medicationAdministrationsUS Public Health FHIR Query Pattern Extension: MedicationAdministration?patient=Patient/{{context.patientId}}
type: MedicationAdministration
CodeFilters
Path ValueSet medication Example Medications Triggers for Public Health Reporting input
id
labResultsUS Public Health Related Data Extension: labTests
type: Observation
CodeFilters
Path ValueSet value Example Organism Substance Triggers for Public Health Reporting input
id
diagnosticResultsUS Public Health Related Data Extension: diagnosticOrders
type: DiagnosticReport
CodeFilters
Path ValueSet code Example Organism Substance Triggers for Public Health Reporting RelatedActions
ActionId Relationship create-eicr Before Start action
id
check-update-eicrcode: Evaluate condition to determine reportability
condition
kind: Applicability
Expressions
Extension Language Expression FHIRPath ((%lasteicr.last().entry[2].resource as Bundle).entry.first().resource as Composition).date < now() - 72 hours input
id
lasteicrUS Public Health Related Data Extension: eicrreport
type: Bundle
profile: eICR Document Bundle
RelatedActions
ActionId Relationship create-eicr Before Start action
id
is-encounter-in-progresscode: Evaluate condition to determine reportability
condition
kind: Applicability
Expressions
Extension Language Expression FHIRPath %inprogressencounter.where(status = 'in-progress' and period.start + 1 day * %normalReportingDuration >= now() or (status = 'finished' and period.end + 72 hours >= now())).exists() input
id
inprogressencounterUS Public Health Related Data Extension: encounter
type: Encounter
RelatedActions
ActionId Relationship Offset[x] check-reportable Before Start No display for Duration (value: 6; comparator: <=; system: http://unitsofmeasure.org; code: h) action
id
is-encounter-completedcode: Complete reporting for the patient
condition
kind: Applicability
Expressions
Extension Language Expression FHIRPath %completedEncounter.exists(status = 'finished') input
id
completedEncounterUS Public Health Related Data Extension: encounter
type: Encounter
action
id
create-eicrdescription: This action represents the creation of the eICR. It subsequently calls validate.
textEquivalent: Create eICR
code: Create a Report containing Patient's data for patients who passed the check-reportability test
input
id
patientdataUS Public Health Related Data Extension: patient
type: Patient
profile: US Core Patient Profile
input
id
conditiondataUS Public Health Related Data Extension: conditions
type: Condition
profile: US Core Condition Profile
input
id
encounterdataUS Public Health Related Data Extension: encounter
type: Encounter
profile: US Core Encounter Profile
input
id
mrdataUS Public Health Related Data Extension: medicationOrders
type: MedicationRequest
profile: US Core MedicationRequest Profile
input
id
immzdataUS Public Health Related Data Extension: immunizations
type: Immunization
profile: US Core Immunization Profile
input
id
procdataUS Public Health Related Data Extension: procedures
type: Procedure
profile: US Core Procedure Profile
input
id
labResultdataUS Public Health Related Data Extension: labResults
type: Observation
input
id
labOrderdataUS Public Health Related Data Extension: labOrders
type: ServiceRequest
profile: ServiceRequest
input
id
diagnosticResultdataUS Public Health Related Data Extension: diagnosticResults
type: DiagnosticReport
profile: US Core DiagnosticReport Profile for Laboratory Results Reporting
input
id
diagnosticOrderdataUS Public Health Related Data Extension: diagnosticOrders
type: DiagnosticReport
profile: US Core DiagnosticReport Profile for Laboratory Results Reporting
output
id
eicrreporttype: Bundle
profile: eICR Document Bundle
RelatedActions
ActionId Relationship validate-eicr Before Start
action
id
validate-eicrdescription: This action represents the validation of the eICR. It subsequently calls route-and-send.
textEquivalent: Validate eICR
code: Validate Report against specified profiles and terminologies.
input
id
generatedeicrreportUS Public Health Related Data Extension: eicrreport
type: Bundle
profile: eICR Document Bundle
output
id
valideicrreporttype: Bundle
profile: eICR Document Bundle
RelatedActions
ActionId Relationship route-and-send-eicr Before Start
action
id
route-and-send-eicrdescription: This action represents the routing and sending of the eICR.
textEquivalent: Route and send eICR
code: Submit the report to specified endpoint
input
id
validatedeicrreportUS Public Health Related Data Extension: valideicrreport
type: Bundle
profile: eICR Document Bundle
output
id
submittedeicrreporttype: Bundle
profile: eICR Document Bundle
action
id
encounter-modifieddescription: This action represents the start of the reporting workflow in response to the encounter-modified event
textEquivalent: Start the reporting workflow in response to an encounter-modified event
code: Initiate a reporting workflow
trigger
id
encounter-modified-triggerUS Public Health Named Event Type Extension: Indicates modifications to data elements of an encounter
type: Named Event
name: encounter-modified
condition
kind: Applicability
Expressions
Extension Language Expression FHIRPath %encounter.where(period.start + 1 day * %normalReportingDuration < now()).select(true) RelatedActions
ActionId Relationship create-eicr Before Start