Stream: IG creation
Topic: Referencing Search Parameters
Saul Kravitz (Sep 17 2020 at 22:41):
If I want to reference searchParameters _lastUpdated or _id in a capability statement, what works.
Referencing http://hl7.org/fhir/SearchParameter/<lower case Resourcename>-lastUpdated doesn't work.
Do I need to redefine them in my IG?
file:///Users/skravitz/git/carin-bb/fsh/build/output/qa.html#_Users_skravitz_git_carin-bb_fsh_build_input_resources_CapabilityStatement-c4bb
URL value 'http://hl7.org/fhir/SearchParameter/explanationofbenefit-lastUpdated' does not resolve
Lloyd McKenzie (Sep 17 2020 at 22:42):
@Grahame Grieve
Eric Haas (Sep 18 2020 at 01:14):
thats what we did in US Core
see for example
https://www.hl7.org/fhir/us/core/CapabilityStatement-us-core-server.html#patient
Eric Haas (Sep 18 2020 at 01:17):
the standard only references the SP : http://hl7.org/fhir/SearchParameter/Resource-id
Saul Kravitz (Sep 18 2020 at 13:52):
@Eric Haas -- when you say "thats what we did", you mean defining SearchParameter-us-core-patient-id.html , and referencing the locally defined version, correct?
Grahame Grieve (Sep 18 2020 at 19:55):
no. it means, the common parameters are defined on resource, which is why you can't find http://hl7.org/fhir/SearchParameter/<lower case Resourcename>-lastUpdated
- it's http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
Eric Haas (Sep 18 2020 at 19:57):
yep
Saul Kravitz (Sep 22 2020 at 22:54):
Yes! that does the trick... thanks much. @Eric Haas I updated your script appropriately.
Last updated: Apr 12 2022 at 19:14 UTC