observation-secondaryFinding.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="observation-secondaryFinding" />
  4   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
  5     <valueCode value="oo" />
  6   </extension>
  7   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
  8     <valueInteger value="1" />
  9   </extension>
 10   <url value="http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding" />
 11   <version value="4.0.1" />
 12   <name value="secondaryFinding" />
 13   <title value="Secondary Finding" />
 14   <status value="draft" />
 15   <date value="2015-03-02" />
 16   <publisher value="Health Level Seven, Inc. - OO WG" />
 17   <contact>
 18     <telecom>
 19       <system value="url" />
 20       <value value="http://hl7.org/special/committees/orders" />
 21     </telecom>
 22   </contact>
 23   <description value="Secondary findings are genetic test results that provide information about variants in a gene unrelated to the primary purpose for the testing, most often discovered when [Whole Exome Sequencing (WES)](https://en.wikipedia.org/wiki/Exome_sequencing) or [Whole Genome Sequencing (WGS)](https://en.wikipedia.org/wiki/Whole_genome_sequencing) is performed. This extension should be used to denote when a genetic finding is being shared as a secondary finding, and ideally refer to a corresponding guideline or policy statement.

For more detail, please see:
https://ghr.nlm.nih.gov/primer/testing/secondaryfindings." />
 24   <fhirVersion value="4.0.1" />
 25   <mapping>
 26     <identity value="rim" />
 27     <uri value="http://hl7.org/v3" />
 28     <name value="RIM Mapping" />
 29   </mapping>
 30   <kind value="complex-type" />
 31   <abstract value="false" />
 32   <context>
 33     <type value="element" />
 34     <expression value="Observation" />
 35   </context>
 36   <type value="Extension" />
 37   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
 38   <derivation value="constraint" />
 39   <snapshot>
 40     <element id="Extension">
 41       <path value="Extension" />
 42       <short value="Secondary findings are genetic test results that provide information about variants in a gene unrelated to the primary purpose for the testing, most often discovered when [Whole Exome Sequencing (WES)](https://en.wikipedia.org/wiki/Exome_sequencing) or [Whole Genome Sequencing (WGS)](https://en.wikipedia.org/wiki/Whole_genome_sequencing) is performed. This extension should be used to denote when a genetic finding is being shared as a secondary finding, and ideally refer to a corresponding guideline or policy statement.

For more detail, please see:
https://ghr.nlm.nih.gov/primer/testing/secondaryfindings" />
 43       <definition value="Secondary findings are genetic test results that provide information about variants in a gene unrelated to the primary purpose for the testing, most often discovered when [Whole Exome Sequencing (WES)](https://en.wikipedia.org/wiki/Exome_sequencing) or [Whole Genome Sequencing (WGS)](https://en.wikipedia.org/wiki/Whole_genome_sequencing) is performed. This extension should be used to denote when a genetic finding is being shared as a secondary finding, and ideally refer to a corresponding guideline or policy statement.

For more detail, please see:
https://ghr.nlm.nih.gov/primer/testing/secondaryfindings." />
 44       <min value="0" />
 45       <max value="1" />
 46       <base>
 47         <path value="Extension" />
 48         <min value="0" />
 49         <max value="*" />
 50       </base>
 51       <condition value="ele-1" />
 52       <constraint>
 53         <key value="ele-1" />
 54         <severity value="error" />
 55         <human value="All FHIR elements must have a @value or children" />
 56         <expression value="hasValue() or (children().count() > id.count())" />
 57         <xpath value="@value|f:*|h:div" />
 58         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 59       </constraint>
 60       <constraint>
 61         <key value="ext-1" />
 62         <severity value="error" />
 63         <human value="Must have either extensions or value[x], not both" />
 64         <expression value="extension.exists() != value.exists()" />
 65         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
 66         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
 67       </constraint>
 68       <isModifier value="false" />
 69     </element>
 70     <element id="Extension.id">
 71       <path value="Extension.id" />
 72       <representation value="xmlAttr" />
 73       <short value="Unique id for inter-element referencing" />
 74       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
 75       <min value="0" />
 76       <max value="1" />
 77       <base>
 78         <path value="Element.id" />
 79         <min value="0" />
 80         <max value="1" />
 81       </base>
 82       <type>
 83         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
 84           <valueUrl value="string" />
 85         </extension>
 86         <code value="http://hl7.org/fhirpath/System.String" />
 87       </type>
 88       <isModifier value="false" />
 89       <isSummary value="false" />
 90       <mapping>
 91         <identity value="rim" />
 92         <map value="n/a" />
 93       </mapping>
 94     </element>
 95     <element id="Extension.extension">
 96       <path value="Extension.extension" />
 97       <slicing>
 98         <discriminator>
 99           <type value="value" />
100           <path value="url" />
101         </discriminator>
102         <description value="Extensions are always sliced by (at least) url" />
103         <rules value="open" />
104       </slicing>
105       <short value="Extension" />
106       <definition value="An Extension" />
107       <min value="0" />
108       <max value="0" />
109       <base>
110         <path value="Element.extension" />
111         <min value="0" />
112         <max value="*" />
113       </base>
114       <type>
115         <code value="Extension" />
116       </type>
117       <constraint>
118         <key value="ele-1" />
119         <severity value="error" />
120         <human value="All FHIR elements must have a @value or children" />
121         <expression value="hasValue() or (children().count() > id.count())" />
122         <xpath value="@value|f:*|h:div" />
123         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
124       </constraint>
125       <constraint>
126         <key value="ext-1" />
127         <severity value="error" />
128         <human value="Must have either extensions or value[x], not both" />
129         <expression value="extension.exists() != value.exists()" />
130         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
131         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
132       </constraint>
133       <isModifier value="false" />
134       <isSummary value="false" />
135     </element>
136     <element id="Extension.url">
137       <path value="Extension.url" />
138       <representation value="xmlAttr" />
139       <short value="identifies the meaning of the extension" />
140       <definition value="Source of the definition for the extension code - a logical name or a URL." />
141       <comment value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." />
142       <min value="1" />
143       <max value="1" />
144       <base>
145         <path value="Extension.url" />
146         <min value="1" />
147         <max value="1" />
148       </base>
149       <type>
150         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
151           <valueUrl value="uri" />
152         </extension>
153         <code value="http://hl7.org/fhirpath/System.String" />
154       </type>
155       <fixedUri value="http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding" />
156       <isModifier value="false" />
157       <isSummary value="false" />
158       <mapping>
159         <identity value="rim" />
160         <map value="N/A" />
161       </mapping>
162     </element>
163     <element id="Extension.value[x]">
164       <path value="Extension.value[x]" />
165       <short value="Value of extension" />
166       <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)." />
167       <min value="1" />
168       <max value="1" />
169       <base>
170         <path value="Extension.value[x]" />
171         <min value="0" />
172         <max value="1" />
173       </base>
174       <type>
175         <code value="CodeableConcept" />
176       </type>
177       <constraint>
178         <key value="ele-1" />
179         <severity value="error" />
180         <human value="All FHIR elements must have a @value or children" />
181         <expression value="hasValue() or (children().count() > id.count())" />
182         <xpath value="@value|f:*|h:div" />
183         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
184       </constraint>
185       <isModifier value="false" />
186       <isSummary value="false" />
187       <binding>
188         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
189           <valueString value="SecondaryFinding" />
190         </extension>
191         <strength value="extensible" />
192         <description value="Codes to denote a guideline or policy statement.when a genetic test result is being shared as a secondary finding." />
193         <valueSet value="http://hl7.org/fhir/ValueSet/secondary-finding" />
194       </binding>
195       <mapping>
196         <identity value="rim" />
197         <map value="N/A" />
198       </mapping>
199     </element>
200   </snapshot>
201   <differential>
202     <element id="Extension">
203       <path value="Extension" />
204       <short value="Secondary findings are genetic test results that provide information about variants in a gene unrelated to the primary purpose for the testing, most often discovered when [Whole Exome Sequencing (WES)](https://en.wikipedia.org/wiki/Exome_sequencing) or [Whole Genome Sequencing (WGS)](https://en.wikipedia.org/wiki/Whole_genome_sequencing) is performed. This extension should be used to denote when a genetic finding is being shared as a secondary finding, and ideally refer to a corresponding guideline or policy statement.

For more detail, please see:
https://ghr.nlm.nih.gov/primer/testing/secondaryfindings" />
205       <definition value="Secondary findings are genetic test results that provide information about variants in a gene unrelated to the primary purpose for the testing, most often discovered when [Whole Exome Sequencing (WES)](https://en.wikipedia.org/wiki/Exome_sequencing) or [Whole Genome Sequencing (WGS)](https://en.wikipedia.org/wiki/Whole_genome_sequencing) is performed. This extension should be used to denote when a genetic finding is being shared as a secondary finding, and ideally refer to a corresponding guideline or policy statement.

For more detail, please see:
https://ghr.nlm.nih.gov/primer/testing/secondaryfindings." />
206       <min value="0" />
207       <max value="1" />
208     </element>
209     <element id="Extension.extension">
210       <path value="Extension.extension" />
211       <max value="0" />
212     </element>
213     <element id="Extension.url">
214       <path value="Extension.url" />
215       <fixedUri value="http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding" />
216     </element>
217     <element id="Extension.value[x]">
218       <path value="Extension.value[x]" />
219       <min value="1" />
220       <type>
221         <code value="CodeableConcept" />
222       </type>
223       <binding>
224         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
225           <valueString value="SecondaryFinding" />
226         </extension>
227         <strength value="extensible" />
228         <description value="Codes to denote a guideline or policy statement.when a genetic test result is being shared as a secondary finding." />
229         <valueSet value="http://hl7.org/fhir/ValueSet/secondary-finding" />
230       </binding>
231     </element>
232   </differential>
233 </StructureDefinition>