Stream: implementers
Topic: error on update/create in R4 testserver
Eric Haas (Nov 15 2018 at 18:24):
When I try to create on the R4 test server the following example from the spec with the geolocation extension added to the address element:
<?xml version="1.0" encoding="UTF-8"?> <Organization xmlns="http://hl7.org/fhir"> <id value="hl7"/> <extension xmlns="http://hl7.org/fhir" url="http://hl7.org/fhir/StructureDefinition/organization-period"> <!-- from Element: extension --> <valuePeriod> <!-- from Element: extension --> <start value="2015-02-07"/> <!-- ?? 0..1 Starting time with inclusive boundary --> </valuePeriod> </extension> <!-- HL7 itself --> <name value="Health Level Seven International"/> <alias value="HL7 International"/> <telecom> <system value="phone"/> <value value="(+1) 734-677-7777"/> </telecom> <telecom> <system value="fax"/> <value value="(+1) 734-677-6622"/> </telecom> <telecom> <system value="email"/> <value value="hq@HL7.org"/> </telecom> <address> <extension url="http://hl7.org/fhir/StructureDefinition/geolocation"> <extension url="latitude"> <valueDecimal value="34.199020000000004"/> </extension> <extension url="longitude"> <valueDecimal value="-86.155151"/> </extension> </extension> <line value="3300 Washtenaw Avenue, Suite 227"/> <city value="Ann Arbor"/> <state value="MI"/> <postalCode value="48104"/> <country value="USA"/> </address> <endpoint> <!-- Endpoint that handles the v2 messaging for the external organization --> <reference value="Endpoint/example"/> </endpoint> </Organization>
gives this 400 error:
error Organization.address.extensionElement is unknown or does not match any slice (url="http://hl7.org/fhir/StructureDefinition/geolocation") for profile http://hl7.org/fhir/StructureDefinition/Addressinvalid
Grahame Grieve (Nov 16 2018 at 06:56):
hmm. I will work on that
Simone Heckmann (Jan 16 2019 at 19:33):
Yes, have also noticed a while ago that test.fhir.org refuses Resources with unknown extensions.
Even uploading the structureDefinition of the extension doesn't seem to change that.
I'm still using the r3 endpoint, though...
Eric Haas (Sep 10 2019 at 18:53):
@GG ping on this. it is causing POSTing Synthea data to fail on the FHIR R4 Server to give me a 400 error. I will switch to hapi for now.
Last updated: Apr 12 2022 at 19:14 UTC