Stream: implementers
Topic: Custom extension and resolvable URL
Maria Hu (Oct 15 2021 at 20:30):
Custom extensions should have resolvable URLs, how can I generate a resolvable URL without having to go through the extension registration process? Pls advise, thanks.
Lloyd McKenzie (Oct 15 2021 at 20:31):
Host your extension on a server somewhere (stable) and make the extension URL the URL of the StructureDefinition on that server.
Lloyd McKenzie (Oct 15 2021 at 20:32):
Also note that it's a SHOULD, not a SHALL.
Maria Hu (Oct 15 2021 at 21:10):
Lloyd McKenzie said:
Host your extension on a server somewhere (stable) and make the extension URL the URL of the StructureDefinition on that server.
Can I apply the fhir infoway url like this: https://fhir.infoway-inforoute.ca/StructureDefinition/ca-bc-gender-pronoun?
Maria Hu (Oct 15 2021 at 21:12):
Lloyd McKenzie said:
Also note that it's a SHOULD, not a SHALL.
glad it's Should, not SHALL :blush:
Lloyd McKenzie (Oct 15 2021 at 22:13):
You can. It'd be very nice if Infoway could make that resolve (or redirect) to the definition.
Maria Hu (Oct 15 2021 at 22:49):
Does anyone has a sample Custom Extension with a resolvable URL ? I'd like to see an example, please share thanks.
Lloyd McKenzie (Oct 15 2021 at 22:51):
The ones defined within HL7 IGs all resolve (once the IGs are published) because our machinery is set up to do that.
Lloyd McKenzie (Oct 15 2021 at 22:52):
The principles aren't any different for doing your own.
Lloyd McKenzie (Oct 15 2021 at 22:53):
Alternatively, you can submit your concept to HL7 and we can define it as a 'standard' one. (gender-pronoun seems like a prime candidate for going that route...)
Brian Alper (Oct 15 2021 at 23:40):
Though we have not used it yet, we are planning a Custom Extension to support coding.system-display with a non-URL value when the coding system is known but the coding.system URL value is not known. When users enter coding system data with a non-URL value like "ICD-10" we have sufficient data for human understanding but it would not meet the FHIR specification. We created a Custom Extension with "url":"https://fevir.net/resources/StructureDefinition/18147" and that URL is resolvable at https://fevir.net/resources/StructureDefinition/18147 as Lloyd suggests.
Richard Townley-O'Neill (Oct 18 2021 at 03:22):
This extension from AU Base is resolvable
http://hl7.org.au/fhir/StructureDefinition/ihi-record-status
Others are not resolvable. The work has not been done yet.
Last updated: Apr 12 2022 at 19:14 UTC