FHIR Chat · Base profiles · implementers

Stream: implementers

Topic: Base profiles


view this post on Zulip Rick Geimer (Mar 16 2016 at 15:50):

Cross-posting to implementers since I don't think anyone saw this on the committers channel.

Anyone know how to base one profile on another profile in a way that works with the build? For example, in guides/ccda/StructureDefinition/ccda-ccd-composition.xml, I'd like to have the following:
<base value="http://hl7.org/fhir/StructureDefinition/ccda-us-realm-header-composition" />
But the build keeps failing unless I do this instead:
<base value="http://hl7.org/fhir/StructureDefinition/Composition"/>
Any ideas?

view this post on Zulip Garner Eugene Mangrum Jr. (Apr 06 2016 at 18:58):

"identifier": [
{
"use": "temp",
"value": "Encounter_Roel_20130404",
"_value": {
"fhir_comments": [
" 0..1 The use of this identifier "
]
}
}
],

view this post on Zulip Garner Eugene Mangrum Jr. (Apr 06 2016 at 19:01):

I've seen a number of examples where there are "extra properties" like the "_value" and "fhir_comments" in the examples on http://hl7.org/fhir. I do not see how these extra properties can be or are defined on any profile. Can anyone point me to a profile or structuredefinition that shows how extra properties are added? For instance from http://hl7.org/fhir/encounter-example-f201-20130404.json.html:

"identifier": [
{
"use": "temp",
"value": "Encounter_Roel_20130404",
"_value": {
"fhir_comments": [
" 0..1 The use of this identifier "
]
}
}
],

view this post on Zulip Eric Haas (Apr 06 2016 at 19:51):

"There is no inherent support in JSON for a comment syntax. As a convention, content that would be comments in an XML representation is represented in a property with the name fhir_comments, which is an array of strings, which can appear on any JSON object. This is heavily used in example instances, e.g. in this specification, but not usually used in production systems (and production systems may choose to reject resources with comments in them)" http://hl7-fhir.github.io/json.html#xml

view this post on Zulip Eric Haas (Apr 06 2016 at 19:52):

http://hl7-fhir.github.io/json.html#primitive

explains the "_value" syntax

view this post on Zulip Garner Eugene Mangrum Jr. (Apr 07 2016 at 01:00):

Thanks for the explaination Eric Haas. That explains it perfectly.


Last updated: Apr 12 2022 at 19:14 UTC