Invoice Service Location Extension¶
| Canonical | ../StructureDefinition/oscar-service-location-extension |
|---|---|
| Status | draft · 1.26.0 |
| Base | Extension (constraint) |
| Context | Invoice (element) |
| Source | FSH · JSON |
Reference to the NexusEmrCoreLocation where the billed service was delivered. Resolves Oscar's billing_on_cheader1.location (Service Location Indicator) to a typed Location resource. The SLI code is carried on Location.identifier[sliCode].
FSH
The authored source of truth: extensions/ServiceLocationExtension.fsh (edit on GitHub). One FSH file may define several related artifacts.
// ServiceLocationExtension.fsh
// Points a NexusEmrCoreInvoice at the Location where the service was delivered.
// Sourced from Oscar's billing_on_cheader1.location (the Service Location Indicator / SLI).
// The SLI code itself lives on the referenced Location as identifier[sliCode].
Extension: ServiceLocationExtension
Id: oscar-service-location-extension
Title: "Invoice Service Location Extension"
Description: "Reference to the NexusEmrCoreLocation where the billed service was delivered. Resolves Oscar's billing_on_cheader1.location (Service Location Indicator) to a typed Location resource. The SLI code is carried on Location.identifier[sliCode]."
* ^url = "../StructureDefinition/oscar-service-location-extension"
* ^status = #draft
* ^date = "2026-04-27"
* ^publisher = "WELLSTAR Technologies Corp."
* ^contact.name = "Nexus EMR FHIR Implementation Guide"
* ^contact.telecom.system = #url
* ^contact.telecom.value = ".."
* ^jurisdiction = urn:iso:std:iso:3166#CA "Canada"
* ^context[0].type = #element
* ^context[0].expression = "Invoice"
* . ^short = "Service location reference"
* . ^definition = """
Reference to the NexusEmrCoreLocation resource identifying the physical site where the billed
service was delivered. Oscar's `billing_on_cheader1.location` carries the Service Location
Indicator (SLI) as an opaque code; in FHIR the same concept is modelled as a Location resource
with `identifier[sliCode]` carrying the raw SLI value.
Converters SHOULD look up or create the referenced Location resource so consumers receive a
typed reference rather than a raw code. When multiple bills share the same SLI, they should
reference the same Location resource.
"""
* extension 0..0
* url 1..1
* value[x] 1..1 MS
* value[x] only Reference(NexusEmrCoreLocation)
* valueReference ^short = "Reference to a NexusEmrCoreLocation carrying the SLI code as identifier[sliCode]"