Skip to content

Commit

Permalink
#16730: Add notes about convertDateTimeToReceiverLocalTimezone to mig…
Browse files Browse the repository at this point in the history
…rating receivers doc
  • Loading branch information
the-andrew committed Dec 10, 2024
1 parent 164926e commit e5ebfb9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions prime-router/docs/onboarding-users/migrating-receivers.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ In order to migrate existing covid pipeline settings to the UP a few settings ne
* `schemaName:` Schema name specifies how the RS FHIR bundle should be translated to HL7 if the receiver's format is HL7.
If they're receiving HL7 v2 ORU_R01. The schema name can be updated to `azure:/metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml`.
If the receiver has any specific receiver transforms the schema name should be updated to point to the schema location.
* `convertDateTimesToReceiverLocalTime` This setting is no longer able to be used directly. If this setting is present, it should be set to `false`. To enable similar functionality to convert datetimes instead, an enrichment schema can be added under the `enrichmentSchemaNames` list.
* `jurisdictionalFilter:` The jurisdictional filter needs to be updated to use FHIR path.
The most common way to route messages to a STLT is based on the patient's or performer's state.
The FHIR path for that looks like this: `"(Bundle.entry.resource.ofType(ServiceRequest)[0].requester.resolve().organization.resolve().address.state = 'MT') or (Bundle.entry.resource.ofType(Patient).address.state = 'MT')"`
Expand Down Expand Up @@ -120,6 +121,9 @@ After updating the receiver to route messages to the UP it should look like this
conditionFilter:
# Accept COVID only
- "(%resource.code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code in ('840539006')).exists())"
enrichmentSchemaNames:
# Example enrichment schema for US Mountain time zone
- "azure:/fhir_transforms/common/datetime-to-local/datetime-to-local-us-mtz.yml"
```

### 3. Send test message from SimpleReport to STLT
Expand Down

0 comments on commit e5ebfb9

Please sign in to comment.