Stream: implementers
Topic: STU3 RI rejects unknown extensions
Eric Haas (Jun 14 2018 at 17:31):
I'm getting the following message when I load resources with extensions to the RI and the resources do not load. Result of a batch operation...
Here is the resources in question:
<?xml version="1.0" encoding="UTF-8"?>
<Observation xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir file:///C:/Users/Eric/Documents/HL7/FHIR/BUILD_EDIT_FILES/fhir-all-xsd%20-STU3/allergyintolerance.xsd">
<id value="mrp-example1"/>
<extension url="http://hl7.org/fhir/ig/davinci/StructureDefinition/ext-location">
<valueReference>
<reference value="Location/hl7east"/>
</valueReference>
</extension>
<meta>
<profile value="http://hl7.org/fhir/ig/davinci/StructureDefinition/mrp-observation"/>
</meta>
<status value="final"/>
<category>
<text value="MRP"/>
</category>
<code>
<coding>
<system value="http://www.ama-assn.org/go/cpt"/>
<code value="1111F"/>
<display value="Medication Reconciliation"/>
</coding>
<text value="Medication Reconciliation"/>
</code>
<subject>
<reference value="Patient/example"/>
<display value="Amy Shaw"/>
</subject>
<effectiveDateTime value="2018-06-13"/>
<performer>
<extension url="http://hl7.org/fhir/ig/davinci/StructureDefinition/ext-practiitionerRole">
<valueReference>
<reference value="PractitionerRole/example"/>
</valueReference>
</extension>
</performer>
<valueCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="255594003"/>
<display value="Complete (qualifier value)"/>
</coding>
<text value="Completed"></text>
</valueCodeableConcept>
</Observation>
here is the error message:
Operation Outcome for :Update Resource Observation/mrp-example1 Severity Location Details Diagnostics Type warning StructureDefinition reference "http://hl7.org/fhir/ig/davinci/StructureDefinition/mrp-observation" could not be resolved invalid information A Reference without an actual reference should have a display structure error Observation.performer.extension Element is unknown or does not match any slice (url="http://hl7.org/fhir/ig/davinci/StructureDefinition/ext-practiitionerRole") for profile http://hl7.org/fhir/StructureDefinition/Reference invalid
not sure which is best stream for this but this is similar to errors I'm getting in the IG-Publisher and I suspect they are related.
Grahame Grieve (Jun 14 2018 at 20:28):
we need more context. Which RI? what were you doing when you got this error?
Eric Haas (Jun 14 2018 at 21:29):
Posting or Putting a Resource: PUT http://test.fhir.org/r3/Observation/mrp-example1
Last updated: Apr 12 2022 at 19:14 UTC