This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "FHIR Extensibility Page"

From HL7Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
[[Category:Active FHIR Discussion]]
 
[[Category:Active FHIR Discussion]]
  
 +
Also see discussion on page [[Extensibility Page|here]].
  
= Context of the extension =
+
==Extension applied at invalid location==
The specification mentions a set of contexts of an extension. The spec is just a bit to terse to fully understand what they entail. So, below I have given my interpretation of them, as a candidate for extending the documentation:
+
When extensions are defined, we identify what resource path (or possibly pattern) they apply to.  What happens if an extension is received that references an id on a location that isn't actually a legal extension for that element?  Presume that's an error. Are applications expected to check this?  (At least for extensions they support?)  For that matter, do we need to make any statements about what systems can or should do if they receive an instance that contains an error?  Are they allowed to process it?
 
 
* A particular element in a single resource - In instances, these extension elements can be found under the Resource.extensions element and refer to an element in the same resource (by use of id/idref, but we're going to change that?). Logically, this extension becomes a child element of that referenced element.
 
 
 
 
 
 
 
 
 
*Anywhere a particular data type is used
 
*A set of elements across one or more resources
 
*A particular context in one of the mapped reference models
 
*Another extension
 
 
 
(TODO: rest will follow, called into a meeting, sorry)
 

Latest revision as of 03:38, 5 June 2013

Also see discussion on page here.

Extension applied at invalid location

When extensions are defined, we identify what resource path (or possibly pattern) they apply to. What happens if an extension is received that references an id on a location that isn't actually a legal extension for that element? Presume that's an error. Are applications expected to check this? (At least for extensions they support?) For that matter, do we need to make any statements about what systems can or should do if they receive an instance that contains an error? Are they allowed to process it?