This page is part of the electronic Case Reporting (eCR) (v1.0.0: STU 1) based on FHIR R4. The current version which supercedes this version is 2.1.0. For a full list of available versions, see the Directory of published versions
JSON Format: PlanDefinition-plandefinition-ersd-instance
Raw json
{ "resourceType" : "PlanDefinition", "id" : "plandefinition-ersd-instance", "meta" : { "versionId" : "42", "lastUpdated" : "2019-11-05T00:00:37.000+00:00", "profile" : [ "http://hl7.org/fhir/us/ecr/StructureDefinition/ersd-plandefinition" ] }, "text" : { "status" : "generated", "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-US\">\n <table>\n <tr>\n <td style=\"font-weight: bold\">id</td>\n <td>\n <div title=\"id\">plandefinition-ersd-instance</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">meta</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">versionId</td>\n <td>\n <div title=\"versionId\">42</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">lastUpdated</td>\n <td>\n <div title=\"lastUpdated\">2019-11-04T19:00:37.000-05:00</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">profile</td>\n <td>\n <div title=\"profile\">http://hl7.org/fhir/us/ecr/StructureDefinition/ersd-plandefinition</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">url</td>\n <td>\n <div title=\"url\">http://hl7.org/fhir/us/ecr/PlanDefinition/plandefinition-ersd-instance</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">version</td>\n <td>\n <div title=\"version\">0.1</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">name</td>\n <td>\n <div title=\"name\">PlanDefinition_eRSD_Instance</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">title</td>\n <td>\n <div title=\"title\">eRSD PlanDefinition Instance</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n <li>\n <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n <li>\n <div title=\"display\">ECA Rule</div> (<div title=\"code\">eca-rule</div> )\n </li>\n <li>\n <div title=\"system\">\n <a href=\"http://terminology.hl7.org/CodeSystem/plan-definition-type\">http://terminology.hl7.org/CodeSystem/plan-definition-type</a>\n </div>\n </li>\n </ul>\n </li>\n </ul>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">status</td>\n <td>\n <div title=\"status\">active</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">date</td>\n <td>\n <div title=\"date\">2019-09-15T12:49:11-04:00</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">action</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">description</td>\n <td>\n <div title=\"description\">\n <p>This action represents the matching of a trigger code to one of the values in the eRSD value sets.</p>\n </div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">textEquivalent</td>\n <td>\n <div title=\"textEquivalent\">Match of a code to one of the values in the eRSD value sets.</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">trigger</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">data-changed</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">data</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">CodeableConcept</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">codeFilter</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">path</td>\n <td>\n <div title=\"path\">Condition.code</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">valueSet</td>\n <td>\n <div title=\"valueSet\">http://hl7.org/fhir/us/ecr/ValueSet/valueset-dxtc-example</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">trigger</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">data-changed</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">data</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">CodeableConcept</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">codeFilter</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">path</td>\n <td>\n <div title=\"path\">Immunization.vaccineCode</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">valueSet</td>\n <td>\n <div title=\"valueSet\">http://hl7.org/fhir/us/ecr/ValueSet/valueset-iztc-example</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">trigger</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">data-changed</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">data</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">CodeableConcept</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">codeFilter</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">path</td>\n <td>\n <div title=\"path\">ServiceRequest.code</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">valueSet</td>\n <td>\n <div title=\"valueSet\">http://hl7.org/fhir/us/ecr/ValueSet/valueset-lotc-example</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">trigger</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">data-changed</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">data</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">CodeableConcept</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">codeFilter</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">path</td>\n <td>\n <div title=\"path\">Observation.code</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">valueSet</td>\n <td>\n <div title=\"valueSet\">http://hl7.org/fhir/us/ecr/ValueSet/valueset-lrtc-example</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">trigger</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">data-changed</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">data</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">CodeableConcept</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">codeFilter</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">path</td>\n <td>\n <div title=\"path\">MedicationAdministration.medicationCodeableConcept</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">valueSet</td>\n <td>\n <div title=\"valueSet\">http://hl7.org/fhir/us/ecr/ValueSet/valueset-mrtc-example</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">trigger</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">data-changed</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">data</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">CodeableConcept</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">codeFilter</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">path</td>\n <td>\n <div title=\"path\">Observation.code</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">valueSet</td>\n <td>\n <div title=\"valueSet\">http://hl7.org/fhir/us/ecr/ValueSet/valueset-ostc-example</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">action</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">description</td>\n <td>\n <div title=\"description\">\n <p>This action represents the initial creation of the eICR.</p>\n </div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">textEquivalent</td>\n <td>\n <div title=\"textEquivalent\">eICR construction delay (offsetDuration.value = x hours) - time after trigger event before an eICR should be created.</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">relatedAction</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">actionId</td>\n <td>\n <div title=\"actionId\">match-trigger</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">relationship</td>\n <td>\n <div title=\"relationship\">after</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">offsetDuration</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">value</td>\n <td>\n <div title=\"value\">1</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">unit</td>\n <td>\n <div title=\"unit\">h</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">action</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">description</td>\n <td>\n <div title=\"description\">\n <p>This action represents the periodic update of the eICR.</p>\n </div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">textEquivalent</td>\n <td>\n <div title=\"textEquivalent\">eICR periodic update (repeat.frequency = y hours) - the time after an initial eICR creation to send a new eICR as an update during long encounters.</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">trigger</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">periodic</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">timingTiming</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">repeat</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">frequency</td>\n <td>\n <div title=\"frequency\">1</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">period</td>\n <td>\n <div title=\"period\">24</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">periodUnit</td>\n <td>\n <div title=\"periodUnit\">h</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">condition</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">kind</td>\n <td>\n <div title=\"kind\">start</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">expression</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">description</td>\n <td>\n <div title=\"description\">\n <p>Encounter is active.</p>\n </div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">language</td>\n <td>\n <div title=\"language\">text/cql</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">expression</td>\n <td>\n <div title=\"expression\">encounter.period.start != null and encounter.period.end = null</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">condition</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">kind</td>\n <td>\n <div title=\"kind\">stop</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">expression</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">description</td>\n <td>\n <div title=\"description\">\n <p>Encounter is closed.</p>\n </div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">language</td>\n <td>\n <div title=\"language\">text/cql</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">expression</td>\n <td>\n <div title=\"expression\">encounter.period.end != null</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">relatedAction</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">actionId</td>\n <td>\n <div title=\"actionId\">create-eicr</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">relationship</td>\n <td>\n <div title=\"relationship\">after</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">offsetDuration</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">value</td>\n <td>\n <div title=\"value\">24</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">unit</td>\n <td>\n <div title=\"unit\">h</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">action</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">description</td>\n <td>\n <div title=\"description\">\n <p>This action represents the close out of an eICR encounter.</p>\n </div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">textEquivalent</td>\n <td>\n <div title=\"textEquivalent\">eICR encounter close out (timingTiming.repeat.duration = z hours) - the time after the end of the encounter to create the final eICR when there have been one or more trigger events.</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">trigger</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">data-added</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">data</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">Encounter</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">profile</td>\n <td>\n <div title=\"profile\">http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-encounter</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">dateFilter</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">path</td>\n <td>\n <div title=\"path\">period.end</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">relatedAction</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">actionId</td>\n <td>\n <div title=\"actionId\">create-eicr</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">relationship</td>\n <td>\n <div title=\"relationship\">after</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">timingTiming</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">repeat</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">count</td>\n <td>\n <div title=\"count\">1</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">duration</td>\n <td>\n <div title=\"duration\">24</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">durationUnit</td>\n <td>\n <div title=\"durationUnit\">h</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">frequency</td>\n <td>\n <div title=\"frequency\">1</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">action</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">description</td>\n <td>\n <div title=\"description\">\n <p>This action represents the validation of an eICR.</p>\n </div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">textEquivalent</td>\n <td>\n <div title=\"textEquivalent\">Validate eICR.</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">trigger</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">data-changed</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">name</td>\n <td>\n <div title=\"name\">eicr-created</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">data</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">type</td>\n <td>\n <div title=\"type\">Composition</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">profile</td>\n <td>\n <div title=\"profile\">http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-composition</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">action</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">description</td>\n <td>\n <div title=\"description\">\n <p>This action represents the routing and sending of an eICR.</p>\n </div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">textEquivalent</td>\n <td>\n <div title=\"textEquivalent\">Route and send eICR</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">relatedAction</td>\n <td>\n <table>\n <tr>\n <td style=\"font-weight: bold\">actionId</td>\n <td>\n <div title=\"actionId\">validate-eicr</div>\n </td>\n </tr>\n <tr>\n <td style=\"font-weight: bold\">relationship</td>\n <td>\n <div title=\"relationship\">after</div>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </div>" }, "url" : "http://hl7.org/fhir/us/ecr/PlanDefinition/plandefinition-ersd-instance", "version" : "1.0.0", "name" : "PlanDefinition_eRSD_Instance", "title" : "eRSD PlanDefinition Instance", "type" : { "coding" : [ { "system" : "http://terminology.hl7.org/CodeSystem/plan-definition-type", "code" : "eca-rule", "display" : "ECA Rule" } ] }, "status" : "active", "date" : "2019-09-15T16:49:11+00:00", "action" : [ { "id" : "match-trigger", "description" : "This action represents the matching of a trigger code to one of the values in the eRSD value sets.", "textEquivalent" : "Match of a code to one of the values in the eRSD value sets.", "trigger" : [ { "type" : "data-changed", "data" : [ { "type" : "Condition", "codeFilter" : [ { "path" : "code", "valueSet" : "http://hl7.org/fhir/us/ecr/ValueSet/valueset-dxtc-example" } ] } ] }, { "type" : "data-changed", "data" : [ { "type" : "Immunization", "codeFilter" : [ { "path" : "vaccineCode", "valueSet" : "http://hl7.org/fhir/us/ecr/ValueSet/valueset-iztc-example" } ] } ] }, { "type" : "data-changed", "data" : [ { "type" : "ServiceRequest", "codeFilter" : [ { "path" : "code", "valueSet" : "http://hl7.org/fhir/us/ecr/ValueSet/valueset-lotc-example" } ] } ] }, { "type" : "data-changed", "data" : [ { "type" : "Observation", "codeFilter" : [ { "path" : "code", "valueSet" : "http://hl7.org/fhir/us/ecr/ValueSet/valueset-lrtc-example" } ] } ] }, { "type" : "data-changed", "data" : [ { "type" : "MedicationAdministration", "codeFilter" : [ { "path" : "code", "valueSet" : "http://hl7.org/fhir/us/ecr/ValueSet/valueset-mrtc-example" } ] } ] }, { "type" : "data-changed", "data" : [ { "type" : "Observation", "codeFilter" : [ { "path" : "code", "valueSet" : "http://hl7.org/fhir/us/ecr/ValueSet/valueset-ostc-example" } ] } ] } ] }, { "id" : "create-eicr", "description" : "This action represents the initial creation of the eICR.", "textEquivalent" : "eICR construction delay (offsetDuration.value = x hours) - time after trigger event before an eICR should be created.", "relatedAction" : [ { "actionId" : "match-trigger", "relationship" : "after", "offsetDuration" : { "value" : 1, "unit" : "h" } } ] }, { "id" : "periodic-update-eicr", "description" : "This action represents the periodic update of the eICR.", "textEquivalent" : "eICR periodic update (repeat.frequency = y hours) - the time after an initial eICR creation to send a new eICR as an update during long encounters.", "trigger" : [ { "type" : "periodic", "timingTiming" : { "repeat" : { "frequency" : 1, "period" : 24, "periodUnit" : "h" } } } ], "condition" : [ { "kind" : "start", "expression" : { "description" : "Encounter is active.", "language" : "text/cql", "expression" : "encounter.period.start != null and encounter.period.end = null" } }, { "kind" : "stop", "expression" : { "description" : "Encounter is closed.", "language" : "text/cql", "expression" : "encounter.period.end != null" } } ], "relatedAction" : [ { "actionId" : "create-eicr", "relationship" : "after", "offsetDuration" : { "value" : 24, "unit" : "h" } } ] }, { "id" : "close-out-eicr", "description" : "This action represents the close out of an eICR encounter.", "textEquivalent" : "eICR encounter close out (timingTiming.repeat.duration = z hours) - the time after the end of the encounter to create the final eICR when there have been one or more trigger events.", "trigger" : [ { "type" : "data-added", "data" : [ { "type" : "Encounter", "profile" : [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-encounter" ], "dateFilter" : [ { "path" : "period.end" } ] } ] } ], "relatedAction" : [ { "actionId" : "create-eicr", "relationship" : "after" } ], "timingTiming" : { "repeat" : { "count" : 1, "duration" : 24, "durationUnit" : "h", "frequency" : 1 } } }, { "id" : "validate-eicr", "description" : "This action represents the validation of an eICR.", "textEquivalent" : "Validate eICR.", "trigger" : [ { "type" : "data-changed", "name" : "eicr-created", "data" : [ { "type" : "Composition", "profile" : [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-composition" ] } ] } ] }, { "id" : "route-and-send-eicr", "description" : "This action represents the routing and sending of an eICR.", "textEquivalent" : "Route and send eICR", "relatedAction" : [ { "actionId" : "validate-eicr", "relationship" : "after" } ] } ] }