This page is part of the US Public Health Profiles Library (v1.0.0: STU 1) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions
Active as of 2022-07-31 |
Generated Narrative: PlanDefinition
Resource PlanDefinition "us-ph-plandefinition-alt-expression-example"
Profile: US Public Health PlanDefinition
url: http://example.org/fhir/PlanDefinition/us-ph-plandefinition-alt-expression-example
version: 1.0.0
name: USPublicHealthPlanDefinitionAlternativeExpressionExample
title: US Public Health PlanDefinition Alternative Expression Example
type: Workflow Definition (PlanDefinitionType#workflow-definition)
status: active
experimental: true
date: 2022-07-31 12:32:29-0500
publisher: HL7 Public Health Working Group
contact: HL7 Public Health Working Group: http://www.hl7.org/Special/committees/pher,pher@lists.HL7.org
description: An example PlanDefinition
jurisdiction: United States of America (ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code#US)
effectivePeriod: 2020-12-01 --> (ongoing)
Type | Label | Resource |
depends-on | RCTC Value Set Library of Trigger Codes | http://example.org/fhir/Library/library-rctc-example |
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 (US Public Health CodeSystem - PlanDefinition Actions#initiate-reporting-workflow)
trigger
id
encounter-startUS Public Health Named Event Type Extension: Indicates the start of an encounter (US Public Health CodeSystem - Trigger Definition Named Events#encounter-start)
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 1 h (Details: UCUM code h = '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 (US Public Health CodeSystem - PlanDefinition Actions#execute-reporting-workflow)
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 (US Public Health CodeSystem - PlanDefinition Actions#check-trigger-codes)
condition
input
Type: Condition Filter Value code In ValueSet http://example.org/fhir/ValueSet/valueset-sdtc-example input
Type: Observation Filter Value value In ValueSet http://example.org/fhir/ValueSet/valueset-sdtc-example input
Type: MedicationRequest Filter Value medication In ValueSet http://example.org/fhir/ValueSet/valueset-sdtc-example relatedAction
action
id
continue-check-reportablecode: Evaluate condition to determine reportability (US Public Health CodeSystem - PlanDefinition Actions#evaluate-condition)
condition
relatedAction
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 (US Public Health CodeSystem - PlanDefinition Actions#execute-reporting-workflow)
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 (US Public Health CodeSystem - PlanDefinition Actions#check-trigger-codes)
condition
input
Type: Condition Filter Value code In ValueSet http://example.org/fhir/ValueSet/valueset-dxtc-example input
Type: Encounter Filter Value reasonCode In ValueSet http://example.org/fhir/ValueSet/valueset-dxtc-example input
Type: Immunization Filter Value vaccineCode In ValueSet http://example.org/fhir/ValueSet/valueset-mrtc-example input
Type: ServiceRequest Filter Value code In ValueSet http://example.org/fhir/ValueSet/valueset-lotc-example input
Type: Observation Filter Value code In ValueSet http://example.org/fhir/ValueSet/valueset-lotc-example input
Type: DiagnosticReport Filter Value code In ValueSet http://example.org/fhir/ValueSet/valueset-lotc-example input
Type: ServiceRequest Filter Value code In ValueSet http://example.org/fhir/ValueSet/valueset-pctc-example input
Type: Procedure Filter Value code In ValueSet http://example.org/fhir/ValueSet/valueset-pctc-example input
Type: MedicationRequest Filter Value medication In ValueSet http://example.org/fhir/ValueSet/valueset-mrtc-example input
Type: MedicationDispense Filter Value medication In ValueSet http://example.org/fhir/ValueSet/valueset-mrtc-example input
Type: MedicationAdministration Filter Value medication In ValueSet http://example.org/fhir/ValueSet/valueset-mrtc-example input
Type: Observation Filter Value value In ValueSet http://example.org/fhir/ValueSet/valueset-ostc-example input
Type: DiagnosticReport Filter Value code In ValueSet http://example.org/fhir/ValueSet/valueset-ostc-example relatedAction
action
id
check-update-eicrcode: Evaluate condition to determine reportability (US Public Health CodeSystem - PlanDefinition Actions#evaluate-condition)
condition
input
Type: Bundle (US Public Health Document Bundle) relatedAction
action
id
is-encounter-in-progresscode: Evaluate condition to determine reportability (US Public Health CodeSystem - PlanDefinition Actions#evaluate-condition)
condition
input
Type: Encounter relatedAction
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 (US Public Health CodeSystem - PlanDefinition Actions#create-report)
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
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: US Public Health Document Bundle
RelatedActions
ActionId Relationship validate-eicr before-start action
id
anonymize-reportUS Public Health Trust Service Endpoint Extension: Endpoint/us-ph-endpoint-pha "PHAReceiver"
description: This action is used to anonymize a identifiable report
textEquivalent: Anonymize the report.
code: Anonymize the report before submitting the report (US Public Health CodeSystem - PlanDefinition Actions#anonymize-report)
input
Type: Bundle output
Type: Bundle (US Public Health Reporting Bundle)
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. (US Public Health CodeSystem - PlanDefinition Actions#validate-report)
input
id
generatedeicrreportUS Public Health Related Data Extension: eicrreport
type: Bundle
profile: US Public Health Document Bundle
output
id
valideicrreporttype: Bundle
profile: US Public Health 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 (US Public Health CodeSystem - PlanDefinition Actions#submit-report)
input
id
validatedeicrreportUS Public Health Related Data Extension: valideicrreport
type: Bundle
profile: US Public Health Document Bundle
output
id
submittedeicrreporttype: Bundle
profile: US Public Health 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 (US Public Health CodeSystem - PlanDefinition Actions#initiate-reporting-workflow)
trigger
id
encounter-modified-triggerUS Public Health Named Event Type Extension: Indicates modifications to data elements of an encounter (US Public Health CodeSystem - Trigger Definition Named Events#encounter-modified)
type: named-event
name: encounter-modified
condition
kind: applicability
Expressions
Extension Language Expression text/fhirpath %encounter.where(period.start + 1 day * %normalReportingDuration < now()).select(true) RelatedActions
ActionId Relationship create-eicr before-start