Skip to content

Commit

Permalink
Update example to use type specifier
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Mandel <[email protected]>
  • Loading branch information
johngrimes and jmandel authored Oct 25, 2023
1 parent d6b46df commit 17f9f47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ be equal to the [getResourceKey()](#getresourcekey--keytype) value returned on t
Users may pass an optional resource type (e.g. `Patient` or `Observation`) to indicate
the expected type that the reference should point to. `getReferenceKey` will return an empty collection
(effectively `null` since FHIRPath always returns collections) if the reference is not of the
expected type. For example, `Observation.subject.getReferenceKey('Patient')` would return a row key if the
expected type. For example, `Observation.subject.getReferenceKey(Patient)` would return a row key if the
subject is a patient, or the empty collection (`{}`) if not.

Implementations MUST support the relative literal form of reference (e.g. `Patient/123`), and MAY support
Expand Down

0 comments on commit 17f9f47

Please sign in to comment.