-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Profiled CodeableConcept (and instance bugfix for 1.4)
- Loading branch information
Chris Grenz
committed
May 7, 2016
1 parent
ada40e4
commit 7b61bef
Showing
2 changed files
with
145 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
<StructureDefinition xmlns="http://hl7.org/fhir"> | ||
<url value="http://example.com/fhir/SD/codeable-with-systems" /> | ||
<name value="codeable-with-systems" /> | ||
<description value="An example of a type profile with named slices." /> | ||
<fhirVersion value="1.4.0" /> | ||
<kind value="datatype" /> | ||
<abstract value="false" /> | ||
<status value="default" /> | ||
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/CodeableConcept" /> | ||
<snapshot> | ||
<element> | ||
<path value="Element" /> | ||
<min value="0" /> | ||
<max value="*" /> | ||
<type> | ||
<code value="CodeableConcept" /> | ||
</type> | ||
</element> | ||
<element> | ||
<path value="Element.id" /> | ||
<representation value="xmlAttr" /> | ||
<short value="xml:id (or equivalent in JSON)" /> | ||
<definition value="unique id for the element within a resource (for internal references)." /> | ||
<min value="0" /> | ||
<max value="1" /> | ||
<type> | ||
<code value="id" /> | ||
</type> | ||
<mapping> | ||
<identity value="rim" /> | ||
<map value="n/a" /> | ||
</mapping> | ||
</element> | ||
<element> | ||
<path value="Element.extension" /> | ||
<short value="Additional Content defined by implementations" /> | ||
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." /> | ||
<comments value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." /> | ||
<alias value="extensions" /> | ||
<alias value="user content" /> | ||
<min value="0" /> | ||
<max value="*" /> | ||
<type> | ||
<code value="Extension" /> | ||
</type> | ||
</element> | ||
<element> | ||
<path value="Element.coding" /> | ||
<slicing> | ||
<discriminator value="system" /> | ||
<rules value="open" /> | ||
</slicing> | ||
<min value="0" /> | ||
<max value="*" /> | ||
<type> | ||
<code value="Coding" /> | ||
</type> | ||
</element> | ||
<element> | ||
<path value="Element.coding" /> | ||
<name value="LOINC" /> | ||
<min value="0" /> | ||
<max value="*" /> | ||
<type> | ||
<code value="Coding" /> | ||
</type> | ||
</element> | ||
<element> | ||
<path value="Element.coding.system" /> | ||
<name value="LOINC.system" /> | ||
<min value="1" /> | ||
<max value="1" /> | ||
<type> | ||
<code value="uri" /> | ||
</type> | ||
<fixedUri value="http://loinc.org" /> | ||
</element> | ||
<element> | ||
<path value="Element.coding" /> | ||
<name value="SNOMED" /> | ||
<min value="0" /> | ||
<max value="*" /> | ||
<type> | ||
<code value="Coding" /> | ||
</type> | ||
</element> | ||
<element> | ||
<path value="Element.coding.system" /> | ||
<name value="SNOMED.system" /> | ||
<min value="1" /> | ||
<max value="1" /> | ||
<type> | ||
<code value="uri" /> | ||
</type> | ||
<fixedUri value="http://snomed.info/sct" /> | ||
</element> | ||
<element> | ||
<path value="Element.text" /> | ||
<short value="Plain text representation of the concept" /> | ||
<definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." /> | ||
<comments value="Very often the text is the same as a displayName of one of the codings." /> | ||
<requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." /> | ||
<min value="0" /> | ||
<max value="1" /> | ||
<type> | ||
<code value="string" /> | ||
</type> | ||
<isSummary value="true" /> | ||
<mapping> | ||
<identity value="v2" /> | ||
<map value="C*E.9. But note many systems use C*E.2 for this" /> | ||
</mapping> | ||
<mapping> | ||
<identity value="rim" /> | ||
<map value="./originalText[mediaType/code="text/plain"]/data" /> | ||
</mapping> | ||
<mapping> | ||
<identity value="orim" /> | ||
<map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" /> | ||
</mapping> | ||
</element> | ||
</snapshot> | ||
<differential> | ||
<element> | ||
<path value="Element.coding" /> | ||
<slicing> | ||
<discriminator value="system" /> | ||
<rules value="open" /> | ||
</slicing> | ||
</element> | ||
<element> | ||
<path value="Element.coding.system" /> | ||
<name value="LOINC.system" /> | ||
<min value="1" /> | ||
<fixedUri value="http://loinc.org" /> | ||
</element> | ||
<element> | ||
<path value="Element.coding.system" /> | ||
<name value="SNOMED.system" /> | ||
<min value="1" /> | ||
<fixedUri value="http://snomed.info/sct" /> | ||
</element> | ||
</differential> | ||
</StructureDefinition> |