Fix #370 - Validation failure when validating certain STU3 resources

This commit is contained in:
James Agnew 2016-06-08 14:21:18 -07:00
parent 7123205a83
commit 0a2b4290ed
170 changed files with 1299555 additions and 738434 deletions

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.jpa.provider.dstu3; package ca.uhn.fhir.jpa.provider.dstu3;
/*
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import static org.apache.commons.lang3.StringUtils.defaultString; import static org.apache.commons.lang3.StringUtils.defaultString;
import static org.apache.commons.lang3.StringUtils.isNotBlank; import static org.apache.commons.lang3.StringUtils.isNotBlank;

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.jpa.term; package ca.uhn.fhir.jpa.term;
/*
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import java.util.List; import java.util.List;
import ca.uhn.fhir.rest.method.RequestDetails; import ca.uhn.fhir.rest.method.RequestDetails;

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.jpa.term; package ca.uhn.fhir.jpa.term;
/*
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import org.hl7.fhir.dstu3.hapi.validation.IValidationSupport; import org.hl7.fhir.dstu3.hapi.validation.IValidationSupport;
public interface IHapiTerminologySvcDstu3 extends IHapiTerminologySvc, IValidationSupport { public interface IHapiTerminologySvcDstu3 extends IHapiTerminologySvc, IValidationSupport {

View File

@ -1,5 +1,6 @@
package ca.uhn.fhirtest.config; package ca.uhn.fhirtest.config;
import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
@ -8,6 +9,7 @@ import org.springframework.context.annotation.Import;
import ca.uhn.fhir.context.FhirVersionEnum; import ca.uhn.fhir.context.FhirVersionEnum;
import ca.uhn.fhir.to.FhirTesterMvcConfig; import ca.uhn.fhir.to.FhirTesterMvcConfig;
import ca.uhn.fhir.to.TesterConfig; import ca.uhn.fhir.to.TesterConfig;
import ca.uhn.fhirtest.mvc.SubscriptionPlaygroundController;
//@formatter:off //@formatter:off
/** /**
@ -89,5 +91,10 @@ public class FhirTesterConfig {
return retVal; return retVal;
} }
@Bean(autowire=Autowire.BY_TYPE)
public SubscriptionPlaygroundController subscriptionPlaygroundController() {
return new SubscriptionPlaygroundController();
}
} }
//@formatter:on //@formatter:on

View File

@ -1,5 +1,7 @@
package org.hl7.fhir.dstu3.hapi.validation; package org.hl7.fhir.dstu3.hapi.validation;
import static org.apache.commons.lang3.StringUtils.isNotBlank;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collections; import java.util.Collections;
@ -24,10 +26,12 @@ import org.hl7.fhir.dstu3.model.OperationOutcome.IssueSeverity;
import org.hl7.fhir.dstu3.model.Resource; import org.hl7.fhir.dstu3.model.Resource;
import org.hl7.fhir.dstu3.model.ResourceType; import org.hl7.fhir.dstu3.model.ResourceType;
import org.hl7.fhir.dstu3.model.StructureDefinition; import org.hl7.fhir.dstu3.model.StructureDefinition;
import org.hl7.fhir.dstu3.model.UriType;
import org.hl7.fhir.dstu3.model.ValueSet; import org.hl7.fhir.dstu3.model.ValueSet;
import org.hl7.fhir.dstu3.model.ValueSet.ConceptReferenceComponent; import org.hl7.fhir.dstu3.model.ValueSet.ConceptReferenceComponent;
import org.hl7.fhir.dstu3.model.ValueSet.ConceptSetComponent; import org.hl7.fhir.dstu3.model.ValueSet.ConceptSetComponent;
import org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionComponent; import org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionComponent;
import org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionContainsComponent;
import org.hl7.fhir.dstu3.terminologies.ValueSetExpander; import org.hl7.fhir.dstu3.terminologies.ValueSetExpander;
import org.hl7.fhir.dstu3.terminologies.ValueSetExpanderFactory; import org.hl7.fhir.dstu3.terminologies.ValueSetExpanderFactory;
import org.hl7.fhir.dstu3.terminologies.ValueSetExpanderSimple; import org.hl7.fhir.dstu3.terminologies.ValueSetExpanderSimple;
@ -223,26 +227,42 @@ public final class HapiWorkerContext implements IWorkerContext, ValueSetExpander
@Override @Override
public ValidationResult validateCode(String theSystem, String theCode, String theDisplay, ValueSet theVs) { public ValidationResult validateCode(String theSystem, String theCode, String theDisplay, ValueSet theVs) {
for (ConceptSetComponent nextComposeConceptSet : theVs.getCompose().getInclude()) { ValueSetExpansionOutcome expandedValueSet = expand(theVs);
if (theSystem == null || StringUtils.equals(theSystem, nextComposeConceptSet.getSystem())) { for (ValueSetExpansionContainsComponent next : expandedValueSet.getValueset().getExpansion().getContains()) {
if (nextComposeConceptSet.getConcept().isEmpty()) { if (next.getSystem().equals(theSystem) && next.getCode().equals(theCode)) {
ValidationResult retVal = validateCode(nextComposeConceptSet.getSystem(), theCode, theDisplay); ConceptDefinitionComponent definition = new ConceptDefinitionComponent();
if (retVal != null && retVal.isOk()) { definition.setCode(next.getCode());
return retVal; definition.setDisplay(next.getDisplay());
} ValidationResult retVal = new ValidationResult(definition);
} else { return retVal;
for (ConceptReferenceComponent nextComposeCode : nextComposeConceptSet.getConcept()) {
ConceptDefinitionComponent conceptDef = new ConceptDefinitionComponent();
conceptDef.setCode(nextComposeCode.getCode());
conceptDef.setDisplay(nextComposeCode.getDisplay());
ValidationResult retVal = validateCodeSystem(theCode, conceptDef);
if (retVal != null && retVal.isOk()) {
return retVal;
}
}
}
} }
} }
// for (UriType nextComposeImport : theVs.getCompose().getImport()) {
// if (isNotBlank(nextComposeImport.getValue())) {
// aaa
// }
// }
// for (ConceptSetComponent nextComposeConceptSet : theVs.getCompose().getInclude()) {
// if (theSystem == null || StringUtils.equals(theSystem, nextComposeConceptSet.getSystem())) {
// if (nextComposeConceptSet.getConcept().isEmpty()) {
// ValidationResult retVal = validateCode(nextComposeConceptSet.getSystem(), theCode, theDisplay);
// if (retVal != null && retVal.isOk()) {
// return retVal;
// }
// } else {
// for (ConceptReferenceComponent nextComposeCode : nextComposeConceptSet.getConcept()) {
// ConceptDefinitionComponent conceptDef = new ConceptDefinitionComponent();
// conceptDef.setCode(nextComposeCode.getCode());
// conceptDef.setDisplay(nextComposeCode.getDisplay());
// ValidationResult retVal = validateCodeSystem(theCode, conceptDef);
// if (retVal != null && retVal.isOk()) {
// return retVal;
// }
// }
// }
// }
// }
return new ValidationResult(IssueSeverity.ERROR, "Unknown code[" + theCode + "] in system[" + theSystem + "]"); return new ValidationResult(IssueSeverity.ERROR, "Unknown code[" + theCode + "] in system[" + theSystem + "]");
} }

View File

@ -38,6 +38,7 @@ import org.hl7.fhir.dstu3.model.CodeType;
import org.hl7.fhir.dstu3.model.Observation; import org.hl7.fhir.dstu3.model.Observation;
import org.hl7.fhir.dstu3.model.Observation.ObservationStatus; import org.hl7.fhir.dstu3.model.Observation.ObservationStatus;
import org.hl7.fhir.dstu3.model.Patient; import org.hl7.fhir.dstu3.model.Patient;
import org.hl7.fhir.dstu3.model.RelatedPerson;
import org.hl7.fhir.dstu3.model.StringType; import org.hl7.fhir.dstu3.model.StringType;
import org.hl7.fhir.dstu3.model.StructureDefinition; import org.hl7.fhir.dstu3.model.StructureDefinition;
import org.hl7.fhir.dstu3.model.ValueSet; import org.hl7.fhir.dstu3.model.ValueSet;
@ -83,6 +84,25 @@ public class FhirInstanceValidatorDstu3Test {
myValidConcepts.add(theSystem + "___" + theCode); myValidConcepts.add(theSystem + "___" + theCode);
} }
/**
* See #370
*/
@Test
public void testValidateRelatedPerson() {
/*
* Try with a code that is in http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype
* and therefore should validate
*/
RelatedPerson rp = new RelatedPerson();
rp.getPatient().setReference("Patient/1");
rp.getRelationship().addCoding().setSystem("http://hl7.org/fhir/patient-contact-relationship").setCode("emergency");
ValidationResult results = myVal.validateWithResult(rp);
List<SingleValidationMessage> outcome = logResultsAndReturnNonInformationalOnes(results);
assertThat(outcome, empty());
}
@Test @Test
// @Ignore // @Ignore
public void testValidateBuiltInProfiles() throws Exception { public void testValidateBuiltInProfiles() throws Exception {

View File

@ -1,278 +1,263 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Age"/> <id value="Age"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/Age"/>
<status value="generated"/> <name value="Age"/>
<div xmlns="http://www.w3.org/1999/xhtml"> <status value="draft"/>
<h2>Data type Age</h2> <publisher value="HL7 FHIR Standard"/>
<p>A duration (length of time) with a UCUM code</p> <contact>
<h3>Rule</h3> <telecom>
<p>There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive.</p> <system value="other"/>
<p>XPath:</p> <value value="http://hl7.org/fhir"/>
<blockquote> </telecom>
<pre>(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value=&#39;http://unitsofmeasure.org&#39;) and not(contains(f:value/@value, &#39;-&#39;))</pre> </contact>
</blockquote> <date value="2015-11-11T10:54:01-05:00"/>
</div> <description value="A duration (length of time) with a UCUM code"/>
</text> <fhirVersion value="1.0.2"/>
<url value="http://hl7.org/fhir/StructureDefinition/Age"/> <kind value="datatype"/>
<name value="Age"/> <constrainedType value="Quantity"/>
<status value="draft"/> <abstract value="false"/>
<publisher value="HL7 FHIR Standard"/> <base value="http://hl7.org/fhir/StructureDefinition/Quantity"/>
<contact> <snapshot>
<telecom> <element>
<system value="other"/> <path value="Quantity"/>
<value value="http://hl7.org/fhir"/> <name value="Age"/>
</telecom> <short value="A duration (length of time) with a UCUM code"/>
</contact> <definition value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive."/>
<date value="2015-11-11T10:54:01-05:00"/> <comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."/>
<description value="A duration (length of time) with a UCUM code"/> <min value="0"/>
<fhirVersion value="1.0.2"/> <max value="*"/>
<kind value="datatype"/> <base>
<constrainedType value="Quantity"/> <path value="Quantity"/>
<abstract value="false"/> <min value="0"/>
<base value="http://hl7.org/fhir/StructureDefinition/Quantity"/> <max value="*"/>
<snapshot> </base>
<element> <type>
<path value="Quantity"/> <code value="Quantity"/>
<name value="Age"/> </type>
<short value="A duration (length of time) with a UCUM code"/> <constraint>
<definition value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive."/> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."/> <valueString value="code.empty() or system"/>
<min value="0"/> </extension>
<max value="*"/> <key value="qty-3"/>
<base> <severity value="error"/>
<path value="Quantity"/> <human value="If a code for the unit is present, the system SHALL also be present"/>
<min value="0"/> <xpath value="not(exists(f:code)) or exists(f:system)"/>
<max value="*"/> </constraint>
</base> <constraint>
<type> <key value="age-1"/>
<code value="Quantity"/> <severity value="error"/>
</type> <human value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive."/>
<constraint> <xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org') and not(contains(f:value/@value, '-'))"/>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> </constraint>
<valueString value="code.empty() or system"/> <isSummary value="true"/>
</extension> <mapping>
<key value="qty-3"/> <identity value="v2"/>
<severity value="error"/> <map value="SN (see also Range) or CQ"/>
<human value="If a code for the unit is present, the system SHALL also be present"/> </mapping>
<xpath value="not(exists(f:code)) or exists(f:system)"/> <mapping>
</constraint> <identity value="rim"/>
<constraint> <map value="PQ, IVL&lt;PQ>, MO, CO, depending on the values"/>
<key value="age-1"/> </mapping>
<severity value="error"/> </element>
<human value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive."/> <element>
<xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value=&#39;http://unitsofmeasure.org&#39;) and not(contains(f:value/@value, &#39;-&#39;))"/> <path value="Quantity.id"/>
</constraint> <representation value="xmlAttr"/>
<isSummary value="true"/> <short value="xml:id (or equivalent in JSON)"/>
<mapping> <definition value="unique id for the element within a resource (for internal references)."/>
<identity value="v2"/> <min value="0"/>
<map value="SN (see also Range) or CQ"/> <max value="1"/>
</mapping> <base>
<mapping> <path value="Quantity.id"/>
<identity value="rim"/> <min value="0"/>
<map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values"/> <max value="1"/>
</mapping> </base>
</element> <type>
<element> <code value="id"/>
<path value="Quantity.id"/> </type>
<representation value="xmlAttr"/> <mapping>
<short value="xml:id (or equivalent in JSON)"/> <identity value="rim"/>
<definition value="unique id for the element within a resource (for internal references)."/> <map value="n/a"/>
<min value="0"/> </mapping>
<max value="1"/> </element>
<base> <element>
<path value="Quantity.id"/> <path value="Quantity.extension"/>
<min value="0"/> <short value="Additional Content defined by implementations"/>
<max value="1"/> <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."/>
</base> <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."/>
<type> <alias value="extensions"/>
<code value="id"/> <alias value="user content"/>
</type> <min value="0"/>
<mapping> <max value="*"/>
<identity value="rim"/> <base>
<map value="n/a"/> <path value="Quantity.extension"/>
</mapping> <min value="0"/>
</element> <max value="*"/>
<element> </base>
<path value="Quantity.extension"/> <type>
<short value="Additional Content defined by implementations"/> <code value="Extension"/>
<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."/> </type>
<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."/> <mapping>
<alias value="extensions"/> <identity value="rim"/>
<alias value="user content"/> <map value="n/a"/>
<min value="0"/> </mapping>
<max value="*"/> </element>
<base> <element>
<path value="Quantity.extension"/> <path value="Quantity.value"/>
<min value="0"/> <short value="Numerical value (with implicit precision)"/>
<max value="*"/> <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
</base> <comments value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
<type> <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
<code value="Extension"/> <min value="0"/>
</type> <max value="1"/>
<mapping> <base>
<identity value="rim"/> <path value="Quantity.value"/>
<map value="n/a"/> <min value="0"/>
</mapping> <max value="1"/>
</element> </base>
<element> <type>
<path value="Quantity.value"/> <code value="decimal"/>
<short value="Numerical value (with implicit precision)"/> </type>
<definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/> <isSummary value="true"/>
<comments value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/> <mapping>
<requirements value="Precision is handled implicitly in almost all cases of measurement."/> <identity value="v2"/>
<min value="0"/> <map value="SN.2 / CQ - N/A"/>
<max value="1"/> </mapping>
<base> <mapping>
<path value="Quantity.value"/> <identity value="rim"/>
<min value="0"/> <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
<max value="1"/> </mapping>
</base> </element>
<type> <element>
<code value="decimal"/> <path value="Quantity.comparator"/>
</type> <short value="&lt; | &lt;= | >= | > - how to understand the value"/>
<isSummary value="true"/> <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
<mapping> <comments value="This is labeled as &quot;Is Modifier&quot; because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value."/>
<identity value="v2"/> <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or >400mg/L due to the limitations of measuring methodology."/>
<map value="SN.2 / CQ - N/A"/> <min value="0"/>
</mapping> <max value="1"/>
<mapping> <base>
<identity value="rim"/> <path value="Quantity.comparator"/>
<map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/> <min value="0"/>
</mapping> <max value="1"/>
</element> </base>
<element> <type>
<path value="Quantity.comparator"/> <code value="code"/>
<short value="&lt; | &lt;= | &gt;= | &gt; - how to understand the value"/> </type>
<definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/> <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
<comments value="This is labeled as &quot;Is Modifier&quot; because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value."/> <isModifier value="true"/>
<requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/> <isSummary value="true"/>
<min value="0"/> <binding>
<max value="1"/> <strength value="required"/>
<base> <description value="How the Quantity should be understood and represented."/>
<path value="Quantity.comparator"/> <valueSetReference>
<min value="0"/> <reference value="http://hl7.org/fhir/ValueSet/quantity-comparator"/>
<max value="1"/> </valueSetReference>
</base> </binding>
<type> <mapping>
<code value="code"/> <identity value="v2"/>
</type> <map value="SN.1 / CQ.1"/>
<meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/> </mapping>
<isModifier value="true"/> <mapping>
<isSummary value="true"/> <identity value="rim"/>
<binding> <map value="IVL properties"/>
<strength value="required"/> </mapping>
<description value="How the Quantity should be understood and represented."/> </element>
<valueSetReference> <element>
<reference value="http://hl7.org/fhir/ValueSet/quantity-comparator"/> <path value="Quantity.unit"/>
</valueSetReference> <short value="Unit representation"/>
</binding> <definition value="A human-readable form of the unit."/>
<mapping> <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
<identity value="v2"/> <min value="0"/>
<map value="SN.1 / CQ.1"/> <max value="1"/>
</mapping> <base>
<mapping> <path value="Quantity.unit"/>
<identity value="rim"/> <min value="0"/>
<map value="IVL properties"/> <max value="1"/>
</mapping> </base>
</element> <type>
<element> <code value="string"/>
<path value="Quantity.unit"/> </type>
<short value="Unit representation"/> <isSummary value="true"/>
<definition value="A human-readable form of the unit."/> <mapping>
<requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/> <identity value="v2"/>
<min value="0"/> <map value="(see OBX.6 etc.) / CQ.2"/>
<max value="1"/> </mapping>
<base> <mapping>
<path value="Quantity.unit"/> <identity value="rim"/>
<min value="0"/> <map value="PQ.unit"/>
<max value="1"/> </mapping>
</base> </element>
<type> <element>
<code value="string"/> <path value="Quantity.system"/>
</type> <short value="System that defines coded unit form"/>
<isSummary value="true"/> <definition value="The identification of the system that provides the coded form of the unit."/>
<mapping> <requirements value="Need to know the system that defines the coded form of the unit."/>
<identity value="v2"/> <min value="0"/>
<map value="(see OBX.6 etc.) / CQ.2"/> <max value="1"/>
</mapping> <base>
<mapping> <path value="Quantity.system"/>
<identity value="rim"/> <min value="0"/>
<map value="PQ.unit"/> <max value="1"/>
</mapping> </base>
</element> <type>
<element> <code value="uri"/>
<path value="Quantity.system"/> </type>
<short value="System that defines coded unit form"/> <condition value="qty-3"/>
<definition value="The identification of the system that provides the coded form of the unit."/> <isSummary value="true"/>
<requirements value="Need to know the system that defines the coded form of the unit."/> <mapping>
<min value="0"/> <identity value="v2"/>
<max value="1"/> <map value="(see OBX.6 etc.) / CQ.2"/>
<base> </mapping>
<path value="Quantity.system"/> <mapping>
<min value="0"/> <identity value="rim"/>
<max value="1"/> <map value="CO.codeSystem, PQ.translation.codeSystem"/>
</base> </mapping>
<type> </element>
<code value="uri"/> <element>
</type> <path value="Quantity.code"/>
<condition value="qty-3"/> <short value="Coded form of the unit"/>
<isSummary value="true"/> <definition value="A computer processable form of the unit in some unit representation system."/>
<mapping> <comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."/>
<identity value="v2"/> <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
<map value="(see OBX.6 etc.) / CQ.2"/> <min value="0"/>
</mapping> <max value="1"/>
<mapping> <base>
<identity value="rim"/> <path value="Quantity.code"/>
<map value="CO.codeSystem, PQ.translation.codeSystem"/> <min value="0"/>
</mapping> <max value="1"/>
</element> </base>
<element> <type>
<path value="Quantity.code"/> <code value="code"/>
<short value="Coded form of the unit"/> </type>
<definition value="A computer processable form of the unit in some unit representation system."/> <isSummary value="true"/>
<comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."/> <mapping>
<requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/> <identity value="v2"/>
<min value="0"/> <map value="(see OBX.6 etc.) / CQ.2"/>
<max value="1"/> </mapping>
<base> <mapping>
<path value="Quantity.code"/> <identity value="rim"/>
<min value="0"/> <map value="PQ.code, MO.currency, PQ.translation.code"/>
<max value="1"/> </mapping>
</base> </element>
<type> </snapshot>
<code value="code"/> <differential>
</type> <element>
<isSummary value="true"/> <path value="Quantity"/>
<mapping> <name value="Age"/>
<identity value="v2"/> <short value="A duration (length of time) with a UCUM code"/>
<map value="(see OBX.6 etc.) / CQ.2"/> <definition value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive."/>
</mapping> <min value="0"/>
<mapping> <max value="*"/>
<identity value="rim"/> <type>
<map value="PQ.code, MO.currency, PQ.translation.code"/> <code value="Quantity"/>
</mapping> </type>
</element> <constraint>
</snapshot> <key value="age-1"/>
<differential> <severity value="error"/>
<element> <human value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive."/>
<path value="Quantity"/> <xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org') and not(contains(f:value/@value, '-'))"/>
<name value="Age"/> </constraint>
<short value="A duration (length of time) with a UCUM code"/> <isModifier value="false"/>
<definition value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive."/> </element>
<min value="0"/> </differential>
<max value="*"/> </StructureDefinition>
<type>
<code value="Quantity"/>
</type>
<constraint>
<key value="age-1"/>
<severity value="error"/>
<human value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive."/>
<xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value=&#39;http://unitsofmeasure.org&#39;) and not(contains(f:value/@value, &#39;-&#39;))"/>
</constraint>
<isModifier value="false"/>
</element>
</differential>
</StructureDefinition>

View File

@ -1,389 +1,243 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Annotation"/> <id value="Annotation"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/Annotation"/>
<status value="generated"/> <name value="Annotation"/>
<div xmlns="http://www.w3.org/1999/xhtml"> <status value="draft"/>
<table border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 11px; font-family: verdana; vertical-align: top;"> <publisher value="HL7 FHIR Standard"/>
<tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"> <contact>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="The logical name of the element">Name</a> <system value="other"/>
</th> <value value="http://hl7.org/fhir"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Information about the use of the element">Flags</a> </contact>
</th> <date value="2015-11-11T10:54:01-05:00"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <description value="Base StructureDefinition for Annotation Type"/>
<a href="formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> <fhirVersion value="1.0.2"/>
</th> <mapping>
<th style="width: 100px" class="hierarchy"> <identity value="v2"/>
<a href="formats.html#table" title="Reference to the type of the element">Type</a> <uri value="http://hl7.org/v2"/>
</th> <name value="HL7 v2"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </mapping>
<a href="formats.html#table" title="Additional information about the element">Description &amp; Constraints</a> <mapping>
<span style="float: right"> <identity value="rim"/>
<a href="formats.html#table" title="Legend for this format"> <uri value="http://hl7.org/v3"/>
<img src="help16.png" alt="doco" style="background-color: inherit"/> <name value="RIM"/>
</a> </mapping>
</span> <kind value="datatype"/>
</th> <abstract value="false"/>
</tr> <base value="http://hl7.org/fhir/StructureDefinition/Element"/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <snapshot>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <element>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> <path value="Annotation"/>
<img src="data: image/png;base64,R0lGODlhEAAQAMQfAOvGUf7ztuvPMf/78/fkl/Pbg+u8Rvjqteu2Pf3zxPz36Pz0z+vTmPzurPvuw/npofbjquvNefHVduuyN+uuMu3Oafbgjfnqvf/3zv/3xevPi+vRjP/20/bmsP///////yH5BAEAAB8ALAAAAAAQABAAAAV24CeOZGmepqeqqOgxjBZFa+19r4ftWQUAgqDgltthMshMIJAZ4jYDHsBARSAmFOJvq+g6HIdEFgcYmBWNxoNAsDjGHgBnmV5bCoUDHLBIq9sFEhIdcAYJdYASFRUQhQkLCwkOFwcdEBAXhVabE52ecDahKy0oIQA7" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <short value="Text node with attribution"/>
<a href="datatypes-definitions.html#Annotation" title="Annotation : A text note which also contains information about who made the statement and when.">Annotation</a> <definition value="A text note which also contains information about who made the statement and when."/>
<a name="Annotation"> </a> <comments value="For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time. This element may need to be included in narrative because of the potential for modifying information. *Annotations SHOULD NOT* be used to communicate &quot;modifying&quot; information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible)."/>
</td> <min value="0"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <max value="*"/>
<span title="This element is included in summaries">Σ</span> <type>
</td> <code value="Element"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"></td> </type>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <isSummary value="true"/>
<a href="element.html">Element</a> <mapping>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Text node with attribution</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,R0lGODlhEAAQAMQfAGm6/idTd4yTmF+v8Xa37KvW+lyh3KHJ62aq41ee2bXZ98nm/2mt5W2Ck5XN/C1chEZieho8WXXA/2Gn4P39/W+y6V+l3qjP8Njt/lx2izxPYGyv51Oa1EJWZ////////yH5BAEAAB8ALAAAAAAQABAAAAWH4Cd+Xml6Y0pCQts0EKp6GbYshaM/skhjhCChUmFIeL4OsHIxXRAISQTl6SgIG8+FgfBMoh2qtbLZQr0TQJhk3TC4pYPBApiyFVDEwSOf18UFXxMWBoUJBn9sDgmDewcJCRyJJBoEkRyYmAABPZQEAAOhA5seFDMaDw8BAQ9TpiokJyWwtLUhADs=" alt="." style="background-color: white; background-color: inherit" title="Choice of Types" class="hierarchy"/>
<a href="datatypes-definitions.html#Annotation.author_x_" title="Annotation.author[x] : The individual responsible for making the annotation.">author[x]</a>
<a name="Annotation.author_x_"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"></td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Individual responsible for the annotation</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR42u3QwQkAMAwDsezq/WdoskKgFAoy6HkfV5LamJ1tc7MHAAD+5QQAAOCZBkurQFbnaRSlAAAAAElFTkSuQmCC)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzMPbYccAgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQ4y+3OQREAIBDDwAv+PQcFFN5MIyCzqHMKUGVCpMFLK97heq+gggoq+EiwAVjvMhFGmlEUAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> authorReference
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"></td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="references.html">Reference</a>(
<a href="practitioner.html">Practitioner</a> |
<a href="patient.html">Patient</a> |
<a href="relatedperson.html">RelatedPerson</a>)
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzMPbYccAgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQ4y+3OQREAIBDDwAv+PQcFFN5MIyCzqHMKUGVCpMFLK97heq+gggoq+EiwAVjvMhFGmlEUAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<span title="A sequence of Unicode characters">authorString</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"></td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#string">string</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="datatypes-definitions.html#Annotation.time" title="Annotation.time : Indicates when this particular annotation was made.">time</a>
<a name="Annotation.time"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#dateTime">dateTime</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">When the annotation was made</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAI0lEQVR42u3QIQEAAAACIL/6/4MvTAQOkLYBAAB4kAAAANwMad9AqkRjgNAAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="datatypes-definitions.html#Annotation.text" title="Annotation.text : The text of the annotation.">text</a>
<a name="Annotation.text"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#string">string</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">The annotation - text content</td>
</tr>
<tr>
<td colspan="5" class="hierarchy">
<br/>
<a href="formats.html#table" title="Legend for this format">
<img src="help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format
</a>
</td>
</tr>
</table>
</div>
</text>
<url value="http://hl7.org/fhir/StructureDefinition/Annotation"/>
<name value="Annotation"/>
<status value="draft"/>
<publisher value="HL7 FHIR Standard"/>
<contact>
<telecom>
<system value="other"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<date value="2015-11-11T10:54:01-05:00"/>
<description value="Base StructureDefinition for Annotation Type"/>
<fhirVersion value="1.0.2"/>
<mapping>
<identity value="v2"/> <identity value="v2"/>
<uri value="http://hl7.org/v2"/> <map value="N/A"/>
<name value="HL7 v2"/> </mapping>
</mapping> <mapping>
<mapping>
<identity value="rim"/> <identity value="rim"/>
<uri value="http://hl7.org/v3"/> <map value="Act"/>
<name value="RIM"/> </mapping>
</mapping> </element>
<kind value="datatype"/> <element>
<abstract value="false"/> <path value="Annotation.id"/>
<base value="http://hl7.org/fhir/StructureDefinition/Element"/> <representation value="xmlAttr"/>
<snapshot> <short value="xml:id (or equivalent in JSON)"/>
<element> <definition value="unique id for the element within a resource (for internal references)."/>
<path value="Annotation"/> <min value="0"/>
<short value="Text node with attribution"/> <max value="1"/>
<definition value="A text note which also contains information about who made the statement and when."/> <type>
<comments value="For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time. <code value="id"/>
This element may need to be included in narrative because of the potential for modifying information. </type>
*Annotations SHOULD NOT* be used to communicate &quot;modifying&quot; information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible)."/> <mapping>
<min value="0"/> <identity value="rim"/>
<max value="*"/> <map value="n/a"/>
<type> </mapping>
<code value="Element"/> </element>
</type> <element>
<isSummary value="true"/> <path value="Annotation.extension"/>
<mapping> <short value="Additional Content defined by implementations"/>
<identity value="v2"/> <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."/>
<map value="N/A"/> <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."/>
</mapping> <alias value="extensions"/>
<mapping> <alias value="user content"/>
<identity value="rim"/> <min value="0"/>
<map value="Act"/> <max value="*"/>
</mapping> <type>
</element> <code value="Extension"/>
<element> </type>
<path value="Annotation.id"/> <mapping>
<representation value="xmlAttr"/> <identity value="rim"/>
<short value="xml:id (or equivalent in JSON)"/> <map value="n/a"/>
<definition value="unique id for the element within a resource (for internal references)."/> </mapping>
<min value="0"/> </element>
<max value="1"/> <element>
<type> <path value="Annotation.author[x]"/>
<code value="id"/> <short value="Individual responsible for the annotation"/>
</type> <definition value="The individual responsible for making the annotation."/>
<mapping> <min value="0"/>
<identity value="rim"/> <max value="1"/>
<map value="n/a"/> <type>
</mapping> <code value="Reference"/>
</element> <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
<element> </type>
<path value="Annotation.extension"/> <type>
<short value="Additional Content defined by implementations"/> <code value="Reference"/>
<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."/> <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
<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."/> </type>
<alias value="extensions"/> <type>
<alias value="user content"/> <code value="Reference"/>
<min value="0"/> <profile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
<max value="*"/> </type>
<type> <type>
<code value="Extension"/> <code value="string"/>
</type> </type>
<mapping> <isSummary value="true"/>
<identity value="rim"/> <mapping>
<map value="n/a"/> <identity value="v2"/>
</mapping> <map value="N/A"/>
</element> </mapping>
<element> <mapping>
<path value="Annotation.author[x]"/> <identity value="rim"/>
<short value="Individual responsible for the annotation"/> <map value="Act.participant[typeCode=AUT].role"/>
<definition value="The individual responsible for making the annotation."/> </mapping>
<min value="0"/> </element>
<max value="1"/> <element>
<type> <path value="Annotation.time"/>
<code value="Reference"/> <short value="When the annotation was made"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> <definition value="Indicates when this particular annotation was made."/>
</type> <min value="0"/>
<type> <max value="1"/>
<code value="Reference"/> <type>
<profile value="http://hl7.org/fhir/StructureDefinition/Patient"/> <code value="dateTime"/>
</type> </type>
<type> <isSummary value="true"/>
<code value="Reference"/> <mapping>
<profile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> <identity value="v2"/>
</type> <map value="N/A"/>
<type> </mapping>
<code value="string"/> <mapping>
</type> <identity value="rim"/>
<isSummary value="true"/> <map value="Act.effectiveTime"/>
<mapping> </mapping>
<identity value="v2"/> </element>
<map value="N/A"/> <element>
</mapping> <path value="Annotation.text"/>
<mapping> <short value="The annotation - text content"/>
<identity value="rim"/> <definition value="The text of the annotation."/>
<map value="Act.participant[typeCode=AUT].role"/> <min value="1"/>
</mapping> <max value="1"/>
</element> <type>
<element> <code value="string"/>
<path value="Annotation.time"/> </type>
<short value="When the annotation was made"/> <isSummary value="true"/>
<definition value="Indicates when this particular annotation was made."/> <mapping>
<min value="0"/> <identity value="v2"/>
<max value="1"/> <map value="N/A"/>
<type> </mapping>
<code value="dateTime"/> <mapping>
</type> <identity value="rim"/>
<isSummary value="true"/> <map value="Act.text"/>
<mapping> </mapping>
<identity value="v2"/> </element>
<map value="N/A"/> </snapshot>
</mapping> <differential>
<mapping> <element>
<identity value="rim"/> <path value="Annotation"/>
<map value="Act.effectiveTime"/> <short value="Text node with attribution"/>
</mapping> <definition value="A text note which also contains information about who made the statement and when."/>
</element> <comments value="For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time. This element may need to be included in narrative because of the potential for modifying information. *Annotations SHOULD NOT* be used to communicate &quot;modifying&quot; information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible)."/>
<element> <min value="0"/>
<path value="Annotation.text"/> <max value="*"/>
<short value="The annotation - text content"/> <type>
<definition value="The text of the annotation."/> <code value="Element"/>
<min value="1"/> </type>
<max value="1"/> <isSummary value="true"/>
<type> <mapping>
<code value="string"/> <identity value="v2"/>
</type> <map value="N/A"/>
<isSummary value="true"/> </mapping>
<mapping> <mapping>
<identity value="v2"/> <identity value="rim"/>
<map value="N/A"/> <map value="Act"/>
</mapping> </mapping>
<mapping> </element>
<identity value="rim"/> <element>
<map value="Act.text"/> <path value="Annotation.author[x]"/>
</mapping> <short value="Individual responsible for the annotation"/>
</element> <definition value="The individual responsible for making the annotation."/>
</snapshot> <min value="0"/>
<differential> <max value="1"/>
<element> <type>
<path value="Annotation"/> <code value="Reference"/>
<short value="Text node with attribution"/> <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
<definition value="A text note which also contains information about who made the statement and when."/> </type>
<comments value="For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time. <type>
This element may need to be included in narrative because of the potential for modifying information. <code value="Reference"/>
*Annotations SHOULD NOT* be used to communicate &quot;modifying&quot; information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible)."/> <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
<min value="0"/> </type>
<max value="*"/> <type>
<type> <code value="Reference"/>
<code value="Element"/> <profile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
</type> </type>
<isSummary value="true"/> <type>
<mapping> <code value="string"/>
<identity value="v2"/> </type>
<map value="N/A"/> <isSummary value="true"/>
</mapping> <mapping>
<mapping> <identity value="v2"/>
<identity value="rim"/> <map value="N/A"/>
<map value="Act"/> </mapping>
</mapping> <mapping>
</element> <identity value="rim"/>
<element> <map value="Act.participant[typeCode=AUT].role"/>
<path value="Annotation.author[x]"/> </mapping>
<short value="Individual responsible for the annotation"/> </element>
<definition value="The individual responsible for making the annotation."/> <element>
<min value="0"/> <path value="Annotation.time"/>
<max value="1"/> <short value="When the annotation was made"/>
<type> <definition value="Indicates when this particular annotation was made."/>
<code value="Reference"/> <min value="0"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> <max value="1"/>
</type> <type>
<type> <code value="dateTime"/>
<code value="Reference"/> </type>
<profile value="http://hl7.org/fhir/StructureDefinition/Patient"/> <isSummary value="true"/>
</type> <mapping>
<type> <identity value="v2"/>
<code value="Reference"/> <map value="N/A"/>
<profile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> </mapping>
</type> <mapping>
<type> <identity value="rim"/>
<code value="string"/> <map value="Act.effectiveTime"/>
</type> </mapping>
<isSummary value="true"/> </element>
<mapping> <element>
<identity value="v2"/> <path value="Annotation.text"/>
<map value="N/A"/> <short value="The annotation - text content"/>
</mapping> <definition value="The text of the annotation."/>
<mapping> <min value="1"/>
<identity value="rim"/> <max value="1"/>
<map value="Act.participant[typeCode=AUT].role"/> <type>
</mapping> <code value="string"/>
</element> </type>
<element> <isSummary value="true"/>
<path value="Annotation.time"/> <mapping>
<short value="When the annotation was made"/> <identity value="v2"/>
<definition value="Indicates when this particular annotation was made."/> <map value="N/A"/>
<min value="0"/> </mapping>
<max value="1"/> <mapping>
<type> <identity value="rim"/>
<code value="dateTime"/> <map value="Act.text"/>
</type> </mapping>
<isSummary value="true"/> </element>
<mapping> </differential>
<identity value="v2"/> </StructureDefinition>
<map value="N/A"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="Act.effectiveTime"/>
</mapping>
</element>
<element>
<path value="Annotation.text"/>
<short value="The annotation - text content"/>
<definition value="The text of the annotation."/>
<min value="1"/>
<max value="1"/>
<type>
<code value="string"/>
</type>
<isSummary value="true"/>
<mapping>
<identity value="v2"/>
<map value="N/A"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="Act.text"/>
</mapping>
</element>
</differential>
</StructureDefinition>

View File

@ -1,198 +1,126 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="BackboneElement"/> <id value="BackboneElement"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/BackboneElement"/>
<status value="generated"/> <name value="BackboneElement"/>
<div xmlns="http://www.w3.org/1999/xhtml"> <status value="draft"/>
<table border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 11px; font-family: verdana; vertical-align: top;"> <publisher value="HL7 FHIR Standard"/>
<tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"> <contact>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="The logical name of the element">Name</a> <system value="other"/>
</th> <value value="http://hl7.org/fhir"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Information about the use of the element">Flags</a> </contact>
</th> <date value="2015-11-11T10:54:01-05:00"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <description value="Base StructureDefinition for BackboneElement Type"/>
<a href="formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> <fhirVersion value="1.0.2"/>
</th> <mapping>
<th style="width: 100px" class="hierarchy"> <identity value="rim"/>
<a href="formats.html#table" title="Reference to the type of the element">Type</a> <uri value="http://hl7.org/v3"/>
</th> <name value="RIM"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </mapping>
<a href="formats.html#table" title="Additional information about the element">Description &amp; Constraints</a> <kind value="datatype"/>
<span style="float: right"> <abstract value="false"/>
<a href="formats.html#table" title="Legend for this format"> <base value="http://hl7.org/fhir/StructureDefinition/Element"/>
<img src="help16.png" alt="doco" style="background-color: inherit"/> <snapshot>
</a> <element>
</span> <path value="BackboneElement"/>
</th> <short value="Base for elements defined inside a resource"/>
</tr> <definition value="Base definition for all elements that are defined inside a resource - but not those in a data type."/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <min value="0"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <max value="*"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> <type>
<img src="data: image/png;base64,R0lGODlhEAAQAMQfAOvGUf7ztuvPMf/78/fkl/Pbg+u8Rvjqteu2Pf3zxPz36Pz0z+vTmPzurPvuw/npofbjquvNefHVduuyN+uuMu3Oafbgjfnqvf/3zv/3xevPi+vRjP/20/bmsP///////yH5BAEAAB8ALAAAAAAQABAAAAV24CeOZGmepqeqqOgxjBZFa+19r4ftWQUAgqDgltthMshMIJAZ4jYDHsBARSAmFOJvq+g6HIdEFgcYmBWNxoNAsDjGHgBnmV5bCoUDHLBIq9sFEhIdcAYJdYASFRUQhQkLCwkOFwcdEBAXhVabE52ecDahKy0oIQA7" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <code value="Element"/>
<a href="datatypes-definitions.html#BackboneElement" title="BackboneElement : Base definition for all elements that are defined inside a resource - but not those in a data type.">BackboneElement</a> </type>
<a name="BackboneElement"> </a> <mapping>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"></td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="element.html">Element</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Base for elements defined inside a resource</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAI0lEQVR42u3QIQEAAAACIL/6/4MvTAQOkLYBAAB4kAAAANwMad9AqkRjgNAAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADdSURBVDjLY/j//z8DJZhhmBvw41KQ07dzbk5kG/Dtgu/Jb2fsT5JkwI+bqZw/rsfYA21v+XE97f+PS5H/vx5Ra/98QN7+824ZTiIMSJr580bW/x+3iv//etD9/+fdpv/fzwX+/3LY6P/n7TIzCRtwPYYZaPvGH7dKgAb0AA1o/v/tQsh/oO0bP26TZiYqDIB+1/1+wef/z3vN/3/erPr/5aAOyHZdogMRGPIe38/7gvz+Gej3z18OG/8H2u5BvAFn7GO/Htdv/3pAQejzXjkhoO3tH7dIxY7EpEwMBgAr6O5Q8udliwAAAABJRU5ErkJggg==" alt="." style="background-color: white; background-color: inherit" title="Extension" class="hierarchy"/>
<a href="datatypes-definitions.html#BackboneElement.modifierExtension" title="BackboneElement.modifierExtension : May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.">modifierExtension</a>
<a name="BackboneElement.modifierExtension"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is a modifier element">?!</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="extensibility.html#Extension">Extension</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Extensions that cannot be ignored</td>
</tr>
<tr>
<td colspan="5" class="hierarchy">
<br/>
<a href="formats.html#table" title="Legend for this format">
<img src="help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format
</a>
</td>
</tr>
</table>
</div>
</text>
<url value="http://hl7.org/fhir/StructureDefinition/BackboneElement"/>
<name value="BackboneElement"/>
<status value="draft"/>
<publisher value="HL7 FHIR Standard"/>
<contact>
<telecom>
<system value="other"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<date value="2015-11-11T10:54:01-05:00"/>
<description value="Base StructureDefinition for BackboneElement Type"/>
<fhirVersion value="1.0.2"/>
<mapping>
<identity value="rim"/> <identity value="rim"/>
<uri value="http://hl7.org/v3"/> <map value="n/a"/>
<name value="RIM"/> </mapping>
</mapping> </element>
<kind value="datatype"/> <element>
<abstract value="false"/> <path value="BackboneElement.id"/>
<base value="http://hl7.org/fhir/StructureDefinition/Element"/> <representation value="xmlAttr"/>
<snapshot> <short value="xml:id (or equivalent in JSON)"/>
<element> <definition value="unique id for the element within a resource (for internal references)."/>
<path value="BackboneElement"/> <min value="0"/>
<short value="Base for elements defined inside a resource"/> <max value="1"/>
<definition value="Base definition for all elements that are defined inside a resource - but not those in a data type."/> <type>
<min value="0"/> <code value="id"/>
<max value="*"/> </type>
<type> <mapping>
<code value="Element"/> <identity value="rim"/>
</type> <map value="n/a"/>
<mapping> </mapping>
<identity value="rim"/> </element>
<map value="n/a"/> <element>
</mapping> <path value="BackboneElement.extension"/>
</element> <short value="Additional Content defined by implementations"/>
<element> <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."/>
<path value="BackboneElement.id"/> <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."/>
<representation value="xmlAttr"/> <alias value="extensions"/>
<short value="xml:id (or equivalent in JSON)"/> <alias value="user content"/>
<definition value="unique id for the element within a resource (for internal references)."/> <min value="0"/>
<min value="0"/> <max value="*"/>
<max value="1"/> <type>
<type> <code value="Extension"/>
<code value="id"/> </type>
</type> <mapping>
<mapping> <identity value="rim"/>
<identity value="rim"/> <map value="n/a"/>
<map value="n/a"/> </mapping>
</mapping> </element>
</element> <element>
<element> <path value="BackboneElement.modifierExtension"/>
<path value="BackboneElement.extension"/> <short value="Extensions that cannot be ignored"/>
<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, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions."/>
<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."/>
<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="extensions"/> <alias value="user content"/>
<alias value="user content"/> <alias value="modifiers"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<type> <type>
<code value="Extension"/> <code value="Extension"/>
</type> </type>
<mapping> <isModifier value="true"/>
<identity value="rim"/> <mapping>
<map value="n/a"/> <identity value="rim"/>
</mapping> <map value="N/A"/>
</element> </mapping>
<element> </element>
<path value="BackboneElement.modifierExtension"/> </snapshot>
<short value="Extensions that cannot be ignored"/> <differential>
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions."/> <element>
<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."/> <path value="BackboneElement"/>
<alias value="extensions"/> <short value="Base for elements defined inside a resource"/>
<alias value="user content"/> <definition value="Base definition for all elements that are defined inside a resource - but not those in a data type."/>
<alias value="modifiers"/> <min value="0"/>
<min value="0"/> <max value="*"/>
<max value="*"/> <type>
<type> <code value="Element"/>
<code value="Extension"/> </type>
</type> <mapping>
<isModifier value="true"/> <identity value="rim"/>
<mapping> <map value="n/a"/>
<identity value="rim"/> </mapping>
<map value="N/A"/> </element>
</mapping> <element>
</element> <path value="BackboneElement.modifierExtension"/>
</snapshot> <short value="Extensions that cannot be ignored"/>
<differential> <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions."/>
<element> <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."/>
<path value="BackboneElement"/> <alias value="extensions"/>
<short value="Base for elements defined inside a resource"/> <alias value="user content"/>
<definition value="Base definition for all elements that are defined inside a resource - but not those in a data type."/> <alias value="modifiers"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<type> <type>
<code value="Element"/> <code value="Extension"/>
</type> </type>
<mapping> <isModifier value="true"/>
<identity value="rim"/> <mapping>
<map value="n/a"/> <identity value="rim"/>
</mapping> <map value="N/A"/>
</element> </mapping>
<element> </element>
<path value="BackboneElement.modifierExtension"/> </differential>
<short value="Extensions that cannot be ignored"/> </StructureDefinition>
<definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions."/>
<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"/>
<alias value="modifiers"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="Extension"/>
</type>
<isModifier value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
</differential>
</StructureDefinition>

View File

@ -1,290 +1,194 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Binary"/> <id value="Binary"/>
<meta> <meta>
<lastUpdated value="2015-11-11T10:54:01.813-05:00"/> <lastUpdated value="2015-11-11T10:54:01.813-05:00"/>
</meta> </meta>
<text> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<status value="generated"/> <valueInteger value="1"/>
<div xmlns="http://www.w3.org/1999/xhtml"> </extension>
<table border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 11px; font-family: verdana; vertical-align: top;"> <url value="http://hl7.org/fhir/StructureDefinition/Binary"/>
<tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"> <name value="Binary"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <status value="draft"/>
<a href="formats.html#table" title="The logical name of the element">Name</a> <publisher value="Health Level Seven International (FHIR Infrastructure)"/>
</th> <contact>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="Information about the use of the element">Flags</a> <system value="other"/>
</th> <value value="http://hl7.org/fhir"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> </contact>
</th> <contact>
<th style="width: 100px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="Reference to the type of the element">Type</a> <system value="other"/>
</th> <value value="http://www.hl7.org/Special/committees/fiwg/index.cfm"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Additional information about the element">Description &amp; Constraints</a> </contact>
<span style="float: right"> <date value="2015-11-11T10:54:01-05:00"/>
<a href="formats.html#table" title="Legend for this format"> <description value="Base StructureDefinition for Binary Resource"/>
<img src="help16.png" alt="doco" style="background-color: inherit"/> <requirements value="There are situations where it is useful or required to handle pure binary content using the same framework as other resources."/>
</a> <fhirVersion value="1.0.2"/>
</span> <mapping>
</th> <identity value="rim"/>
</tr> <uri value="http://hl7.org/v3"/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <name value="RIM"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> </mapping>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> <mapping>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJBSURBVDjLhdKxa5NBGMfx713yvkmbJnaoFiSF4mJTh06Kg4OgiyCCRXCof4YIdXdxFhQVHPo3OFSoUx0FySQttaVKYq2NbdO8ed/L3fM4JG3tYPvAcfBw9+HHPWdUlf/V0tLSqKo+EpEHInJFRIohhDUR+RBCeDM7O7ua55QSkRfVanVufHyckZERrLV0Op2Zra2tmXq9fg+YsmcAdyYnJykUCke9OI6ZmJgghHAZ4KwE3ntPs9mkVCohIjQaDWq1GiEEAM5KoHEcY62lVCrRarUoFotUKpUjIL/y/uqXYmV62ph/LSVrr30P4bEFcM4B0Ov1jk547/uAUTs1ceNdZIwB7V/GGHz6+9LXxY96eDiEgHMOY8xJAK8p4grZz5cElwNbwZgyxYu3EFM01lriOCZJEqIoIooiALIsGwA9Y1UcwcWoKNLdpLu9zvbnBWqNBhuvn5EDUmB0EH/1E2TZw5U+YLQovkun+Ytsaw1xCbnCOap334LC7s4Oe/ttvA+ICLmhMXRxDufczUECS37oAuevPwUEVFFp4/eXkXSdYc2IopSepnjtUh5/wg9gfn6+OQBUNaRIUkfDHhraSLoBKqikIF3yHJDLHaAkFOLciVHnyVAVj/S2Ub/XRyQD9aAZKgkaOohvo6ENgykcA07VEFDfQv1uf4W9Y8y30bCPhg4qKZJtMnjTPqBO/vhkZ7h3EJeRslWNQMqgY2jIAIfa/m5sIKSpqpPsGEiz599e3b+GchtD+bSvjQJm2SG6cNj6C+QmaxAek5tyAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <identity value="w5"/>
<span title="Binary : A binary resource can contain any content, whether text, image, pdf, zip archive, etc.">Binary</span> <uri value="http://hl7.org/fhir/w5"/>
<a name="Binary"> </a> <name value="W5 Mapping"/>
</td> </mapping>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <kind value="resource"/>
<span title="This element is included in summaries">Σ</span> <abstract value="false"/>
</td> <base value="http://hl7.org/fhir/StructureDefinition/Resource"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/> <snapshot>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <element>
<a href="resource.html">Resource</a> <path value="Binary"/>
</td> <short value="Pure binary content defined by some other format than FHIR"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Pure binary content defined by some other format than FHIR</td> <definition value="A binary resource can contain any content, whether text, image, pdf, zip archive, etc."/>
</tr> <comments value="Typically, Binary resources are used for handling content such as: * CDA Documents (i.e. with XDS) * PDF Documents * Images (the Media resource is preferred for handling images, but not possible when the content is already binary - e.g. XDS)."/>
<min value="0"/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <max value="*"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <type>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> <code value="Resource"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/> </type>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <isSummary value="true"/>
<span title="Binary.contentType : MimeType of the binary content represented as a standard MimeType (BCP 13).">contentType</span> <mapping>
<a name="Binary.contentType"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#code">code</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">MimeType of the binary content
<br/>
<a href="http://www.rfc-editor.org/bcp/bcp13.txt" title="The mime type of an attachment. Any valid mime type is allowed.">MimeType</a> (
<a href="terminologies.html#required" title="To be conformant, instances of this element SHALL include a code from the specified value set.">Required</a>)
</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAI0lEQVR42u3QIQEAAAACIL/6/4MvTAQOkLYBAAB4kAAAANwMad9AqkRjgNAAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<span title="Binary.content : The actual content, base64 encoded.">content</span>
<a name="Binary.content"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#base64Binary">base64Binary</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">The actual content</td>
</tr>
<tr>
<td colspan="5" class="hierarchy">
<br/>
<a href="formats.html#table" title="Legend for this format">
<img src="help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format
</a>
</td>
</tr>
</table>
</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="1"/>
</extension>
<url value="http://hl7.org/fhir/StructureDefinition/Binary"/>
<name value="Binary"/>
<status value="draft"/>
<publisher value="Health Level Seven International (FHIR Infrastructure)"/>
<contact>
<telecom>
<system value="other"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<contact>
<telecom>
<system value="other"/>
<value value="http://www.hl7.org/Special/committees/fiwg/index.cfm"/>
</telecom>
</contact>
<date value="2015-11-11T10:54:01-05:00"/>
<description value="Base StructureDefinition for Binary Resource"/>
<requirements value="There are situations where it is useful or required to handle pure binary content using the same framework as other resources."/>
<fhirVersion value="1.0.2"/>
<mapping>
<identity value="rim"/> <identity value="rim"/>
<uri value="http://hl7.org/v3"/> <map value="N/A"/>
<name value="RIM"/> </mapping>
</mapping> <mapping>
<mapping>
<identity value="w5"/> <identity value="w5"/>
<uri value="http://hl7.org/fhir/w5"/> <map value="infrastructure.structure"/>
<name value="W5 Mapping"/> </mapping>
</mapping> </element>
<kind value="resource"/> <element>
<abstract value="false"/> <path value="Binary.id"/>
<base value="http://hl7.org/fhir/StructureDefinition/Resource"/> <short value="Logical id of this artifact"/>
<snapshot> <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
<element> <comments value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID."/>
<path value="Binary"/> <min value="0"/>
<short value="Pure binary content defined by some other format than FHIR"/> <max value="1"/>
<definition value="A binary resource can contain any content, whether text, image, pdf, zip archive, etc."/> <type>
<comments value="Typically, Binary resources are used for handling content such as: * CDA Documents (i.e. with XDS) * PDF Documents * Images (the Media resource is preferred for handling images, but not possible when the content is already binary - e.g. XDS)."/> <code value="id"/>
<min value="0"/> </type>
<max value="*"/> <isSummary value="true"/>
<type> </element>
<code value="Resource"/> <element>
</type> <path value="Binary.meta"/>
<isSummary value="true"/> <short value="Metadata about the resource"/>
<mapping> <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
<identity value="rim"/> <min value="0"/>
<map value="N/A"/> <max value="1"/>
</mapping> <type>
<mapping> <code value="Meta"/>
<identity value="w5"/> </type>
<map value="infrastructure.structure"/> <isSummary value="true"/>
</mapping> </element>
</element> <element>
<element> <path value="Binary.implicitRules"/>
<path value="Binary.id"/> <short value="A set of rules under which this content was created"/>
<short value="Logical id of this artifact"/> <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
<definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/> <comments value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible."/>
<comments value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID."/> <min value="0"/>
<min value="0"/> <max value="1"/>
<max value="1"/> <type>
<type> <code value="uri"/>
<code value="id"/> </type>
</type> <isModifier value="true"/>
<isSummary value="true"/> <isSummary value="true"/>
</element> </element>
<element> <element>
<path value="Binary.meta"/> <path value="Binary.language"/>
<short value="Metadata about the resource"/> <short value="Language of the resource content"/>
<definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/> <definition value="The base language in which the resource is written."/>
<min value="0"/> <comments value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
<max value="1"/> <min value="0"/>
<type> <max value="1"/>
<code value="Meta"/> <type>
</type> <code value="code"/>
<isSummary value="true"/> </type>
</element> <binding>
<element> <strength value="required"/>
<path value="Binary.implicitRules"/> <description value="A human language."/>
<short value="A set of rules under which this content was created"/> <valueSetUri value="http://tools.ietf.org/html/bcp47"/>
<definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/> </binding>
<comments value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible."/> </element>
<min value="0"/> <element>
<max value="1"/> <path value="Binary.contentType"/>
<type> <short value="MimeType of the binary content"/>
<code value="uri"/> <definition value="MimeType of the binary content represented as a standard MimeType (BCP 13)."/>
</type> <min value="1"/>
<isModifier value="true"/> <max value="1"/>
<isSummary value="true"/> <type>
</element> <code value="code"/>
<element> </type>
<path value="Binary.language"/> <isSummary value="true"/>
<short value="Language of the resource content"/> <binding>
<definition value="The base language in which the resource is written."/> <strength value="required"/>
<comments value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/> <description value="The mime type of an attachment. Any valid mime type is allowed."/>
<min value="0"/> <valueSetUri value="http://www.rfc-editor.org/bcp/bcp13.txt"/>
<max value="1"/> </binding>
<type> </element>
<code value="code"/> <element>
</type> <path value="Binary.content"/>
<binding> <short value="The actual content"/>
<strength value="required"/> <definition value="The actual content, base64 encoded."/>
<description value="A human language."/> <comments value="If the content type is itself base64 encoding, then this will be base64 encoded twice - what is created by un-base64ing the content must be the specified content type."/>
<valueSetUri value="http://tools.ietf.org/html/bcp47"/> <min value="1"/>
</binding> <max value="1"/>
</element> <type>
<element> <code value="base64Binary"/>
<path value="Binary.contentType"/> </type>
<short value="MimeType of the binary content"/> <isSummary value="true"/>
<definition value="MimeType of the binary content represented as a standard MimeType (BCP 13)."/> </element>
<min value="1"/> </snapshot>
<max value="1"/> <differential>
<type> <element>
<code value="code"/> <path value="Binary"/>
</type> <short value="Pure binary content defined by some other format than FHIR"/>
<isSummary value="true"/> <definition value="A binary resource can contain any content, whether text, image, pdf, zip archive, etc."/>
<binding> <comments value="Typically, Binary resources are used for handling content such as: * CDA Documents (i.e. with XDS) * PDF Documents * Images (the Media resource is preferred for handling images, but not possible when the content is already binary - e.g. XDS)."/>
<strength value="required"/> <min value="0"/>
<description value="The mime type of an attachment. Any valid mime type is allowed."/> <max value="*"/>
<valueSetUri value="http://www.rfc-editor.org/bcp/bcp13.txt"/> <type>
</binding> <code value="Resource"/>
</element> </type>
<element> <isSummary value="true"/>
<path value="Binary.content"/> <mapping>
<short value="The actual content"/> <identity value="rim"/>
<definition value="The actual content, base64 encoded."/> <map value="N/A"/>
<comments value="If the content type is itself base64 encoding, then this will be base64 encoded twice - what is created by un-base64ing the content must be the specified content type."/> </mapping>
<min value="1"/> <mapping>
<max value="1"/> <identity value="w5"/>
<type> <map value="infrastructure.structure"/>
<code value="base64Binary"/> </mapping>
</type> </element>
<isSummary value="true"/> <element>
</element> <path value="Binary.contentType"/>
</snapshot> <short value="MimeType of the binary content"/>
<differential> <definition value="MimeType of the binary content represented as a standard MimeType (BCP 13)."/>
<element> <min value="1"/>
<path value="Binary"/> <max value="1"/>
<short value="Pure binary content defined by some other format than FHIR"/> <type>
<definition value="A binary resource can contain any content, whether text, image, pdf, zip archive, etc."/> <code value="code"/>
<comments value="Typically, Binary resources are used for handling content such as: * CDA Documents (i.e. with XDS) * PDF Documents * Images (the Media resource is preferred for handling images, but not possible when the content is already binary - e.g. XDS)."/> </type>
<min value="0"/> <isSummary value="true"/>
<max value="*"/> <binding>
<type> <strength value="required"/>
<code value="Resource"/> <description value="The mime type of an attachment. Any valid mime type is allowed."/>
</type> <valueSetUri value="http://www.rfc-editor.org/bcp/bcp13.txt"/>
<isSummary value="true"/> </binding>
<mapping> </element>
<identity value="rim"/> <element>
<map value="N/A"/> <path value="Binary.content"/>
</mapping> <short value="The actual content"/>
<mapping> <definition value="The actual content, base64 encoded."/>
<identity value="w5"/> <comments value="If the content type is itself base64 encoding, then this will be base64 encoded twice - what is created by un-base64ing the content must be the specified content type."/>
<map value="infrastructure.structure"/> <min value="1"/>
</mapping> <max value="1"/>
</element> <type>
<element> <code value="base64Binary"/>
<path value="Binary.contentType"/> </type>
<short value="MimeType of the binary content"/> <isSummary value="true"/>
<definition value="MimeType of the binary content represented as a standard MimeType (BCP 13)."/> </element>
<min value="1"/> </differential>
<max value="1"/> </StructureDefinition>
<type>
<code value="code"/>
</type>
<isSummary value="true"/>
<binding>
<strength value="required"/>
<description value="The mime type of an attachment. Any valid mime type is allowed."/>
<valueSetUri value="http://www.rfc-editor.org/bcp/bcp13.txt"/>
</binding>
</element>
<element>
<path value="Binary.content"/>
<short value="The actual content"/>
<definition value="The actual content, base64 encoded."/>
<comments value="If the content type is itself base64 encoding, then this will be base64 encoded twice - what is created by un-base64ing the content must be the specified content type."/>
<min value="1"/>
<max value="1"/>
<type>
<code value="base64Binary"/>
</type>
<isSummary value="true"/>
</element>
</differential>
</StructureDefinition>

View File

@ -1,120 +1,114 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="boolean"/> <id value="boolean"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/boolean"/>
<status value="generated"/> <name value="boolean"/>
<div xmlns="http://www.w3.org/1999/xhtml">to do</div> <status value="draft"/>
</text> <publisher value="HL7 FHIR Standard"/>
<url value="http://hl7.org/fhir/StructureDefinition/boolean"/> <contact>
<name value="boolean"/> <telecom>
<status value="draft"/> <system value="other"/>
<publisher value="HL7 FHIR Standard"/> <value value="http://hl7.org/fhir"/>
<contact> </telecom>
<telecom> </contact>
<system value="other"/> <date value="2015-11-11T10:54:01-05:00"/>
<value value="http://hl7.org/fhir"/> <description value="Base StructureDefinition for boolean Type: Value of &quot;true&quot; or &quot;false&quot;"/>
</telecom> <fhirVersion value="1.0.2"/>
</contact> <kind value="datatype"/>
<date value="2015-11-11T10:54:01-05:00"/> <abstract value="false"/>
<description value="Base StructureDefinition for boolean Type: Value of &quot;true&quot; or &quot;false&quot;"/> <base value="http://hl7.org/fhir/StructureDefinition/Element"/>
<fhirVersion value="1.0.2"/> <snapshot>
<kind value="datatype"/> <element>
<abstract value="false"/> <path value="boolean"/>
<base value="http://hl7.org/fhir/StructureDefinition/Element"/> <short value="Primitive Type boolean"/>
<snapshot> <definition value="Value of &quot;true&quot; or &quot;false&quot;"/>
<element> <min value="0"/>
<path value="boolean"/> <max value="*"/>
<short value="Primitive Type boolean"/> <type>
<definition value="Value of &quot;true&quot; or &quot;false&quot;"/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="boolean.id"/>
</type> <representation value="xmlAttr"/>
</element> <short value="xml:id (or equivalent in JSON)"/>
<element> <definition value="unique id for the element within a resource (for internal references)"/>
<path value="boolean.id"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="xml:id (or equivalent in JSON)"/> <type>
<definition value="unique id for the element within a resource (for internal references)"/> <code value="id"/>
<min value="0"/> </type>
<max value="1"/> </element>
<type> <element>
<code value="id"/> <path value="boolean.extension"/>
</type> <short value="Additional Content defined by implementations"/>
</element> <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/>
<element> <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."/>
<path value="boolean.extension"/> <alias value="extensions"/>
<short value="Additional Content defined by implementations"/> <alias value="user content"/>
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/> <min value="0"/>
<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."/> <max value="*"/>
<alias value="extensions"/> <base>
<alias value="user content"/> <path value="boolean.extension"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<base> </base>
<path value="boolean.extension"/> <type>
<min value="0"/> <code value="Extension"/>
<max value="*"/> </type>
</base> </element>
<type> <element>
<code value="Extension"/> <path value="boolean.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for boolean"/>
<element> <definition value="The actual value"/>
<path value="boolean.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for boolean"/> <!-- Note: primitive values do not have an assigned type
<definition value="The actual value"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <code>
e.g. this is compiler magic <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
XML and JSON types provided by extension --> <valueString value="true | false"/>
<type> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="boolean"/>
<valueString value="true | false"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="boolean"/> </element>
</extension> </snapshot>
</code> <differential>
</type> <element>
</element> <path value="boolean"/>
</snapshot> <short value="Primitive Type boolean"/>
<differential> <definition value="Value of &quot;true&quot; or &quot;false&quot;"/>
<element> <min value="0"/>
<path value="boolean"/> <max value="*"/>
<short value="Primitive Type boolean"/> <type>
<definition value="Value of &quot;true&quot; or &quot;false&quot;"/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="boolean.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for boolean"/>
<element> <definition value="Primitive value for boolean"/>
<path value="boolean.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for boolean"/> <!-- Note: primitive values do not have an assigned type
<definition value="Primitive value for boolean"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <code>
e.g. this is compiler magic <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
XML and JSON types provided by extension --> <valueString value="true | false"/>
<type> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="boolean"/>
<valueString value="true | false"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="boolean"/> </element>
</extension> </differential>
</code> </StructureDefinition>
</type>
</element>
</differential>
</StructureDefinition>

View File

@ -1,126 +1,120 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="code"/> <id value="code"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/code"/>
<status value="generated"/> <name value="code"/>
<div xmlns="http://www.w3.org/1999/xhtml">to do</div> <status value="draft"/>
</text> <publisher value="HL7 FHIR Standard"/>
<url value="http://hl7.org/fhir/StructureDefinition/code"/> <contact>
<name value="code"/> <telecom>
<status value="draft"/> <system value="other"/>
<publisher value="HL7 FHIR Standard"/> <value value="http://hl7.org/fhir"/>
<contact> </telecom>
<telecom> </contact>
<system value="other"/> <date value="2015-11-11T10:54:01-05:00"/>
<value value="http://hl7.org/fhir"/> <description value="Base StructureDefinition for code type: A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents"/>
</telecom> <fhirVersion value="1.0.2"/>
</contact> <kind value="datatype"/>
<date value="2015-11-11T10:54:01-05:00"/> <constrainedType value="string"/>
<description value="Base StructureDefinition for code type: A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents"/> <abstract value="false"/>
<fhirVersion value="1.0.2"/> <base value="http://hl7.org/fhir/StructureDefinition/string"/>
<kind value="datatype"/> <snapshot>
<constrainedType value="string"/> <element>
<abstract value="false"/> <path value="string"/>
<base value="http://hl7.org/fhir/StructureDefinition/string"/> <short value="Primitive Type code"/>
<snapshot> <definition value="A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents"/>
<element> <min value="0"/>
<path value="string"/> <max value="*"/>
<short value="Primitive Type code"/> <base>
<definition value="A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents"/> <path value="string"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<base> </base>
<path value="string"/> <type>
<min value="0"/> <code value="Element"/>
<max value="*"/> </type>
</base> </element>
<type> <element>
<code value="Element"/> <path value="string.extension"/>
</type> <short value="Additional Content defined by implementations"/>
</element> <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/>
<element> <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."/>
<path value="string.extension"/> <alias value="extensions"/>
<short value="Additional Content defined by implementations"/> <alias value="user content"/>
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/> <min value="0"/>
<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."/> <max value="*"/>
<alias value="extensions"/> <base>
<alias value="user content"/> <path value="string.extension"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<base> </base>
<path value="string.extension"/> <type>
<min value="0"/> <code value="Extension"/>
<max value="*"/> </type>
</base> </element>
<type> <element>
<code value="Extension"/> <path value="string.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for code"/>
<element> <definition value="Primitive value for code"/>
<path value="string.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for code"/> <base>
<definition value="Primitive value for code"/> <path value="string.value"/>
<min value="0"/> <min value="0"/>
<max value="1"/> <max value="1"/>
<base> </base>
<path value="string.value"/> <!-- Note: primitive values do not have an assigned type
<min value="0"/> e.g. this is compiler magic
<max value="1"/> XML and JSON types provided by extension -->
</base> <type>
<!-- Note: primitive values do not have an assigned type <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
e.g. this is compiler magic <valueString value="[^\s]+([\s][^\s]+)*"/>
XML and JSON types provided by extension --> </extension>
<type> <code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex"> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="[^\s]+([\s][^\s]+)*"/> <valueString value="string"/>
</extension> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="xs:token"/>
<valueString value="string"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="xs:token"/> </element>
</extension> </snapshot>
</code> <differential>
</type> <element>
</element> <path value="string"/>
</snapshot> <short value="Primitive Type code"/>
<differential> <definition value="A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents"/>
<element> <min value="0"/>
<path value="string"/> <max value="*"/>
<short value="Primitive Type code"/> <type>
<definition value="A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents"/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="string.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for code"/>
<element> <definition value="Primitive value for code"/>
<path value="string.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for code"/> <!-- Note: primitive values do not have an assigned type
<definition value="Primitive value for code"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
e.g. this is compiler magic <valueString value="[^\s]+([\s][^\s]+)*"/>
XML and JSON types provided by extension --> </extension>
<type> <code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex"> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="[^\s]+([\s][^\s]+)*"/> <valueString value="string"/>
</extension> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="xs:token"/>
<valueString value="string"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="xs:token"/> </element>
</extension> </differential>
</code> </StructureDefinition>
</type>
</element>
</differential>
</StructureDefinition>

View File

@ -1,311 +1,219 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="CodeableConcept"/> <id value="CodeableConcept"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/CodeableConcept"/>
<status value="generated"/> <name value="CodeableConcept"/>
<div xmlns="http://www.w3.org/1999/xhtml"> <status value="draft"/>
<table border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 11px; font-family: verdana; vertical-align: top;"> <publisher value="HL7 FHIR Standard"/>
<tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"> <contact>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="The logical name of the element">Name</a> <system value="other"/>
</th> <value value="http://hl7.org/fhir"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Information about the use of the element">Flags</a> </contact>
</th> <date value="2015-11-11T10:54:01-05:00"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <description value="Base StructureDefinition for CodeableConcept Type"/>
<a href="formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> <requirements value="This is a common pattern in healthcare - a concept that may be defined by one or more codes from formal definitions including LOINC and SNOMED CT, and/or defined by the provision of text that captures a human sense of the concept."/>
</th> <fhirVersion value="1.0.2"/>
<th style="width: 100px" class="hierarchy"> <mapping>
<a href="formats.html#table" title="Reference to the type of the element">Type</a> <identity value="v2"/>
</th> <uri value="http://hl7.org/v2"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <name value="HL7 v2"/>
<a href="formats.html#table" title="Additional information about the element">Description &amp; Constraints</a> </mapping>
<span style="float: right"> <mapping>
<a href="formats.html#table" title="Legend for this format"> <identity value="rim"/>
<img src="help16.png" alt="doco" style="background-color: inherit"/> <uri value="http://hl7.org/v3"/>
</a> <name value="RIM"/>
</span> </mapping>
</th> <mapping>
</tr> <identity value="orim"/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <uri value="http://hl7.org/orim"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <name value="Ontological RIM Mapping"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> </mapping>
<img src="data: image/png;base64,R0lGODlhEAAQAMQfAOvGUf7ztuvPMf/78/fkl/Pbg+u8Rvjqteu2Pf3zxPz36Pz0z+vTmPzurPvuw/npofbjquvNefHVduuyN+uuMu3Oafbgjfnqvf/3zv/3xevPi+vRjP/20/bmsP///////yH5BAEAAB8ALAAAAAAQABAAAAV24CeOZGmepqeqqOgxjBZFa+19r4ftWQUAgqDgltthMshMIJAZ4jYDHsBARSAmFOJvq+g6HIdEFgcYmBWNxoNAsDjGHgBnmV5bCoUDHLBIq9sFEhIdcAYJdYASFRUQhQkLCwkOFwcdEBAXhVabE52ecDahKy0oIQA7" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <kind value="datatype"/>
<a href="datatypes-definitions.html#CodeableConcept" title="CodeableConcept : A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.">CodeableConcept</a> <abstract value="false"/>
<a name="CodeableConcept"> </a> <base value="http://hl7.org/fhir/StructureDefinition/Element"/>
</td> <snapshot>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <element>
<span title="This element is included in summaries">Σ</span> <path value="CodeableConcept"/>
</td> <short value="Concept - reference to a terminology or just text"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"></td> <definition value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <comments value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination."/>
<a href="element.html">Element</a> <min value="0"/>
</td> <max value="*"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Concept - reference to a terminology or just text</td> <type>
</tr> <code value="Element"/>
</type>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <isSummary value="true"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <mapping>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/>
<a href="datatypes-definitions.html#CodeableConcept.coding" title="CodeableConcept.coding : A reference to a code defined by a terminology system.">coding</a>
<a name="CodeableConcept.coding"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#Coding">Coding</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Code defined by a terminology system</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAI0lEQVR42u3QIQEAAAACIL/6/4MvTAQOkLYBAAB4kAAAANwMad9AqkRjgNAAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="datatypes-definitions.html#CodeableConcept.text" title="CodeableConcept.text : 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.">text</a>
<a name="CodeableConcept.text"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#string">string</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Plain text representation of the concept</td>
</tr>
<tr>
<td colspan="5" class="hierarchy">
<br/>
<a href="formats.html#table" title="Legend for this format">
<img src="help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format
</a>
</td>
</tr>
</table>
</div>
</text>
<url value="http://hl7.org/fhir/StructureDefinition/CodeableConcept"/>
<name value="CodeableConcept"/>
<status value="draft"/>
<publisher value="HL7 FHIR Standard"/>
<contact>
<telecom>
<system value="other"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<date value="2015-11-11T10:54:01-05:00"/>
<description value="Base StructureDefinition for CodeableConcept Type"/>
<requirements value="This is a common pattern in healthcare - a concept that may be defined by one or more codes from formal definitions including LOINC and SNOMED CT, and/or defined by the provision of text that captures a human sense of the concept."/>
<fhirVersion value="1.0.2"/>
<mapping>
<identity value="v2"/> <identity value="v2"/>
<uri value="http://hl7.org/v2"/> <map value="CE/CNE/CWE"/>
<name value="HL7 v2"/> </mapping>
</mapping> <mapping>
<mapping>
<identity value="rim"/> <identity value="rim"/>
<uri value="http://hl7.org/v3"/> <map value="CD"/>
<name value="RIM"/> </mapping>
</mapping> <mapping>
<mapping>
<identity value="orim"/> <identity value="orim"/>
<uri value="http://hl7.org/orim"/> <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/>
<name value="Ontological RIM Mapping"/> </mapping>
</mapping> </element>
<kind value="datatype"/> <element>
<abstract value="false"/> <path value="CodeableConcept.id"/>
<base value="http://hl7.org/fhir/StructureDefinition/Element"/> <representation value="xmlAttr"/>
<snapshot> <short value="xml:id (or equivalent in JSON)"/>
<element> <definition value="unique id for the element within a resource (for internal references)."/>
<path value="CodeableConcept"/> <min value="0"/>
<short value="Concept - reference to a terminology or just text"/> <max value="1"/>
<definition value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."/> <type>
<comments value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination."/> <code value="id"/>
<min value="0"/> </type>
<max value="*"/> <mapping>
<type> <identity value="rim"/>
<code value="Element"/> <map value="n/a"/>
</type> </mapping>
<isSummary value="true"/> </element>
<mapping> <element>
<identity value="v2"/> <path value="CodeableConcept.extension"/>
<map value="CE/CNE/CWE"/> <short value="Additional Content defined by implementations"/>
</mapping> <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."/>
<mapping> <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."/>
<identity value="rim"/> <alias value="extensions"/>
<map value="CD"/> <alias value="user content"/>
</mapping> <min value="0"/>
<mapping> <max value="*"/>
<identity value="orim"/> <type>
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/> <code value="Extension"/>
</mapping> </type>
</element> <mapping>
<element> <identity value="rim"/>
<path value="CodeableConcept.id"/> <map value="n/a"/>
<representation value="xmlAttr"/> </mapping>
<short value="xml:id (or equivalent in JSON)"/> </element>
<definition value="unique id for the element within a resource (for internal references)."/> <element>
<min value="0"/> <path value="CodeableConcept.coding"/>
<max value="1"/> <short value="Code defined by a terminology system"/>
<type> <definition value="A reference to a code defined by a terminology system."/>
<code value="id"/> <comments value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true."/>
</type> <requirements value="Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings."/>
<mapping> <min value="0"/>
<identity value="rim"/> <max value="*"/>
<map value="n/a"/> <type>
</mapping> <code value="Coding"/>
</element> </type>
<element> <isSummary value="true"/>
<path value="CodeableConcept.extension"/> <mapping>
<short value="Additional Content defined by implementations"/> <identity value="v2"/>
<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."/> <map value="C*E.1-8, C*E.10-22"/>
<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."/> </mapping>
<alias value="extensions"/> <mapping>
<alias value="user content"/> <identity value="rim"/>
<min value="0"/> <map value="union(., ./translation)"/>
<max value="*"/> </mapping>
<type> <mapping>
<code value="Extension"/> <identity value="orim"/>
</type> <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
<mapping> </mapping>
<identity value="rim"/> </element>
<map value="n/a"/> <element>
</mapping> <path value="CodeableConcept.text"/>
</element> <short value="Plain text representation of the concept"/>
<element> <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."/>
<path value="CodeableConcept.coding"/> <comments value="Very often the text is the same as a displayName of one of the codings."/>
<short value="Code defined by a terminology system"/> <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."/>
<definition value="A reference to a code defined by a terminology system."/> <min value="0"/>
<comments value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true."/> <max value="1"/>
<requirements value="Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings."/> <type>
<min value="0"/> <code value="string"/>
<max value="*"/> </type>
<type> <isSummary value="true"/>
<code value="Coding"/> <mapping>
</type> <identity value="v2"/>
<isSummary value="true"/> <map value="C*E.9. But note many systems use C*E.2 for this"/>
<mapping> </mapping>
<identity value="v2"/> <mapping>
<map value="C*E.1-8, C*E.10-22"/> <identity value="rim"/>
</mapping> <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
<mapping> </mapping>
<identity value="rim"/> <mapping>
<map value="union(., ./translation)"/> <identity value="orim"/>
</mapping> <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
<mapping> </mapping>
<identity value="orim"/> </element>
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/> </snapshot>
</mapping> <differential>
</element> <element>
<element> <path value="CodeableConcept"/>
<path value="CodeableConcept.text"/> <short value="Concept - reference to a terminology or just text"/>
<short value="Plain text representation of the concept"/> <definition value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."/>
<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="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination."/>
<comments value="Very often the text is the same as a displayName of one of the codings."/> <min value="0"/>
<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."/> <max value="*"/>
<min value="0"/> <type>
<max value="1"/> <code value="Element"/>
<type> </type>
<code value="string"/> <isSummary value="true"/>
</type> <mapping>
<isSummary value="true"/> <identity value="v2"/>
<mapping> <map value="CE/CNE/CWE"/>
<identity value="v2"/> </mapping>
<map value="C*E.9. But note many systems use C*E.2 for this"/> <mapping>
</mapping> <identity value="rim"/>
<mapping> <map value="CD"/>
<identity value="rim"/> </mapping>
<map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/> <mapping>
</mapping> <identity value="orim"/>
<mapping> <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/>
<identity value="orim"/> </mapping>
<map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/> </element>
</mapping> <element>
</element> <path value="CodeableConcept.coding"/>
</snapshot> <short value="Code defined by a terminology system"/>
<differential> <definition value="A reference to a code defined by a terminology system."/>
<element> <comments value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true."/>
<path value="CodeableConcept"/> <requirements value="Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings."/>
<short value="Concept - reference to a terminology or just text"/> <min value="0"/>
<definition value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."/> <max value="*"/>
<comments value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination."/> <type>
<min value="0"/> <code value="Coding"/>
<max value="*"/> </type>
<type> <isSummary value="true"/>
<code value="Element"/> <mapping>
</type> <identity value="v2"/>
<isSummary value="true"/> <map value="C*E.1-8, C*E.10-22"/>
<mapping> </mapping>
<identity value="v2"/> <mapping>
<map value="CE/CNE/CWE"/> <identity value="rim"/>
</mapping> <map value="union(., ./translation)"/>
<mapping> </mapping>
<identity value="rim"/> <mapping>
<map value="CD"/> <identity value="orim"/>
</mapping> <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
<mapping> </mapping>
<identity value="orim"/> </element>
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/> <element>
</mapping> <path value="CodeableConcept.text"/>
</element> <short value="Plain text representation of the concept"/>
<element> <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."/>
<path value="CodeableConcept.coding"/> <comments value="Very often the text is the same as a displayName of one of the codings."/>
<short value="Code defined by a terminology system"/> <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."/>
<definition value="A reference to a code defined by a terminology system."/> <min value="0"/>
<comments value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true."/> <max value="1"/>
<requirements value="Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings."/> <type>
<min value="0"/> <code value="string"/>
<max value="*"/> </type>
<type> <isSummary value="true"/>
<code value="Coding"/> <mapping>
</type> <identity value="v2"/>
<isSummary value="true"/> <map value="C*E.9. But note many systems use C*E.2 for this"/>
<mapping> </mapping>
<identity value="v2"/> <mapping>
<map value="C*E.1-8, C*E.10-22"/> <identity value="rim"/>
</mapping> <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
<mapping> </mapping>
<identity value="rim"/> <mapping>
<map value="union(., ./translation)"/> <identity value="orim"/>
</mapping> <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
<mapping> </mapping>
<identity value="orim"/> </element>
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/> </differential>
</mapping> </StructureDefinition>
</element>
<element>
<path value="CodeableConcept.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=&quot;text/plain&quot;]/data"/>
</mapping>
<mapping>
<identity value="orim"/>
<map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
</mapping>
</element>
</differential>
</StructureDefinition>

View File

@ -1,509 +1,363 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Coding"/> <id value="Coding"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/Coding"/>
<status value="generated"/> <name value="Coding"/>
<div xmlns="http://www.w3.org/1999/xhtml"> <status value="draft"/>
<table border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 11px; font-family: verdana; vertical-align: top;"> <publisher value="HL7 FHIR Standard"/>
<tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"> <contact>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="The logical name of the element">Name</a> <system value="other"/>
</th> <value value="http://hl7.org/fhir"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Information about the use of the element">Flags</a> </contact>
</th> <date value="2015-11-11T10:54:01-05:00"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <description value="Base StructureDefinition for Coding Type"/>
<a href="formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> <requirements value="References to codes are very common in healthcare models."/>
</th> <fhirVersion value="1.0.2"/>
<th style="width: 100px" class="hierarchy"> <mapping>
<a href="formats.html#table" title="Reference to the type of the element">Type</a> <identity value="v2"/>
</th> <uri value="http://hl7.org/v2"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <name value="HL7 v2"/>
<a href="formats.html#table" title="Additional information about the element">Description &amp; Constraints</a> </mapping>
<span style="float: right"> <mapping>
<a href="formats.html#table" title="Legend for this format"> <identity value="rim"/>
<img src="help16.png" alt="doco" style="background-color: inherit"/> <uri value="http://hl7.org/v3"/>
</a> <name value="RIM"/>
</span> </mapping>
</th> <mapping>
</tr> <identity value="orim"/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <uri value="http://hl7.org/orim"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <name value="Ontological RIM Mapping"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> </mapping>
<img src="data: image/png;base64,R0lGODlhEAAQAMQfAOvGUf7ztuvPMf/78/fkl/Pbg+u8Rvjqteu2Pf3zxPz36Pz0z+vTmPzurPvuw/npofbjquvNefHVduuyN+uuMu3Oafbgjfnqvf/3zv/3xevPi+vRjP/20/bmsP///////yH5BAEAAB8ALAAAAAAQABAAAAV24CeOZGmepqeqqOgxjBZFa+19r4ftWQUAgqDgltthMshMIJAZ4jYDHsBARSAmFOJvq+g6HIdEFgcYmBWNxoNAsDjGHgBnmV5bCoUDHLBIq9sFEhIdcAYJdYASFRUQhQkLCwkOFwcdEBAXhVabE52ecDahKy0oIQA7" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <kind value="datatype"/>
<a href="datatypes-definitions.html#Coding" title="Coding : A reference to a code defined by a terminology system.">Coding</a> <abstract value="false"/>
<a name="Coding"> </a> <base value="http://hl7.org/fhir/StructureDefinition/Element"/>
</td> <snapshot>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <element>
<span title="This element is included in summaries">Σ</span> <path value="Coding"/>
</td> <short value="A reference to a code defined by a terminology system"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"></td> <definition value="A reference to a code defined by a terminology system."/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <comments value="Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information."/>
<a href="element.html">Element</a> <min value="0"/>
</td> <max value="*"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">A reference to a code defined by a terminology system</td> <type>
</tr> <code value="Element"/>
</type>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <isSummary value="true"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <mapping>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="datatypes-definitions.html#Coding.system" title="Coding.system : The identification of the code system that defines the meaning of the symbol in the code.">system</a>
<a name="Coding.system"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#uri">uri</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Identity of the terminology system</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="datatypes-definitions.html#Coding.version" title="Coding.version : The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.">version</a>
<a name="Coding.version"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#string">string</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Version of the system - if relevant</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="datatypes-definitions.html#Coding.code" title="Coding.code : A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).">code</a>
<a name="Coding.code"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#code">code</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Symbol in syntax defined by the system</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="datatypes-definitions.html#Coding.display" title="Coding.display : A representation of the meaning of the code in the system, following the rules of the system.">display</a>
<a name="Coding.display"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#string">string</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Representation defined by the system</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAI0lEQVR42u3QIQEAAAACIL/6/4MvTAQOkLYBAAB4kAAAANwMad9AqkRjgNAAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="datatypes-definitions.html#Coding.userSelected" title="Coding.userSelected : Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).">userSelected</a>
<a name="Coding.userSelected"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#boolean">boolean</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">If this coding was chosen directly by the user</td>
</tr>
<tr>
<td colspan="5" class="hierarchy">
<br/>
<a href="formats.html#table" title="Legend for this format">
<img src="help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format
</a>
</td>
</tr>
</table>
</div>
</text>
<url value="http://hl7.org/fhir/StructureDefinition/Coding"/>
<name value="Coding"/>
<status value="draft"/>
<publisher value="HL7 FHIR Standard"/>
<contact>
<telecom>
<system value="other"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<date value="2015-11-11T10:54:01-05:00"/>
<description value="Base StructureDefinition for Coding Type"/>
<requirements value="References to codes are very common in healthcare models."/>
<fhirVersion value="1.0.2"/>
<mapping>
<identity value="v2"/> <identity value="v2"/>
<uri value="http://hl7.org/v2"/> <map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"/>
<name value="HL7 v2"/> </mapping>
</mapping> <mapping>
<mapping>
<identity value="rim"/> <identity value="rim"/>
<uri value="http://hl7.org/v3"/> <map value="CV"/>
<name value="RIM"/> </mapping>
</mapping> <mapping>
<mapping>
<identity value="orim"/> <identity value="orim"/>
<uri value="http://hl7.org/orim"/> <map value="fhir:Coding rdfs:subClassOf dt:CDCoding"/>
<name value="Ontological RIM Mapping"/> </mapping>
</mapping> </element>
<kind value="datatype"/> <element>
<abstract value="false"/> <path value="Coding.id"/>
<base value="http://hl7.org/fhir/StructureDefinition/Element"/> <representation value="xmlAttr"/>
<snapshot> <short value="xml:id (or equivalent in JSON)"/>
<element> <definition value="unique id for the element within a resource (for internal references)."/>
<path value="Coding"/> <min value="0"/>
<short value="A reference to a code defined by a terminology system"/> <max value="1"/>
<definition value="A reference to a code defined by a terminology system."/> <type>
<comments value="Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information."/> <code value="id"/>
<min value="0"/> </type>
<max value="*"/> <mapping>
<type> <identity value="rim"/>
<code value="Element"/> <map value="n/a"/>
</type> </mapping>
<isSummary value="true"/> </element>
<mapping> <element>
<identity value="v2"/> <path value="Coding.extension"/>
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"/> <short value="Additional Content defined by implementations"/>
</mapping> <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."/>
<mapping> <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."/>
<identity value="rim"/> <alias value="extensions"/>
<map value="CV"/> <alias value="user content"/>
</mapping> <min value="0"/>
<mapping> <max value="*"/>
<identity value="orim"/> <type>
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding"/> <code value="Extension"/>
</mapping> </type>
</element> <mapping>
<element> <identity value="rim"/>
<path value="Coding.id"/> <map value="n/a"/>
<representation value="xmlAttr"/> </mapping>
<short value="xml:id (or equivalent in JSON)"/> </element>
<definition value="unique id for the element within a resource (for internal references)."/> <element>
<min value="0"/> <path value="Coding.system"/>
<max value="1"/> <short value="Identity of the terminology system"/>
<type> <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
<code value="id"/> <comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
</type> <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
<mapping> <min value="0"/>
<identity value="rim"/> <max value="1"/>
<map value="n/a"/> <type>
</mapping> <code value="uri"/>
</element> </type>
<element> <isSummary value="true"/>
<path value="Coding.extension"/> <mapping>
<short value="Additional Content defined by implementations"/> <identity value="v2"/>
<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."/> <map value="C*E.3"/>
<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."/> </mapping>
<alias value="extensions"/> <mapping>
<alias value="user content"/> <identity value="rim"/>
<min value="0"/> <map value="./codeSystem"/>
<max value="*"/> </mapping>
<type> <mapping>
<code value="Extension"/> <identity value="orim"/>
</type> <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
<mapping> </mapping>
<identity value="rim"/> </element>
<map value="n/a"/> <element>
</mapping> <path value="Coding.version"/>
</element> <short value="Version of the system - if relevant"/>
<element> <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
<path value="Coding.system"/> <comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
<short value="Identity of the terminology system"/> <min value="0"/>
<definition value="The identification of the code system that defines the meaning of the symbol in the code."/> <max value="1"/>
<comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7&#39;s list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/> <type>
<requirements value="Need to be unambiguous about the source of the definition of the symbol."/> <code value="string"/>
<min value="0"/> </type>
<max value="1"/> <isSummary value="true"/>
<type> <mapping>
<code value="uri"/> <identity value="v2"/>
</type> <map value="C*E.7"/>
<isSummary value="true"/> </mapping>
<mapping> <mapping>
<identity value="v2"/> <identity value="rim"/>
<map value="C*E.3"/> <map value="./codeSystemVersion"/>
</mapping> </mapping>
<mapping> <mapping>
<identity value="rim"/> <identity value="orim"/>
<map value="./codeSystem"/> <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
</mapping> </mapping>
<mapping> </element>
<identity value="orim"/> <element>
<map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/> <path value="Coding.code"/>
</mapping> <short value="Symbol in syntax defined by the system"/>
</element> <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
<element> <requirements value="Need to refer to a particular code in the system."/>
<path value="Coding.version"/> <min value="0"/>
<short value="Version of the system - if relevant"/> <max value="1"/>
<definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/> <type>
<comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/> <code value="code"/>
<min value="0"/> </type>
<max value="1"/> <isSummary value="true"/>
<type> <mapping>
<code value="string"/> <identity value="v2"/>
</type> <map value="C*E.1"/>
<isSummary value="true"/> </mapping>
<mapping> <mapping>
<identity value="v2"/> <identity value="rim"/>
<map value="C*E.7"/> <map value="./code"/>
</mapping> </mapping>
<mapping> <mapping>
<identity value="rim"/> <identity value="orim"/>
<map value="./codeSystemVersion"/> <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
</mapping> </mapping>
<mapping> </element>
<identity value="orim"/> <element>
<map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/> <path value="Coding.display"/>
</mapping> <short value="Representation defined by the system"/>
</element> <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
<element> <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system."/>
<path value="Coding.code"/> <min value="0"/>
<short value="Symbol in syntax defined by the system"/> <max value="1"/>
<definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/> <type>
<requirements value="Need to refer to a particular code in the system."/> <code value="string"/>
<min value="0"/> </type>
<max value="1"/> <isSummary value="true"/>
<type> <mapping>
<code value="code"/> <identity value="v2"/>
</type> <map value="C*E.2 - but note this is not well followed"/>
<isSummary value="true"/> </mapping>
<mapping> <mapping>
<identity value="v2"/> <identity value="rim"/>
<map value="C*E.1"/> <map value="CV.displayName"/>
</mapping> </mapping>
<mapping> <mapping>
<identity value="rim"/> <identity value="orim"/>
<map value="./code"/> <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
</mapping> </mapping>
<mapping> </element>
<identity value="orim"/> <element>
<map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/> <path value="Coding.userSelected"/>
</mapping> <short value="If this coding was chosen directly by the user"/>
</element> <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
<element> <comments value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
<path value="Coding.display"/> <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
<short value="Representation defined by the system"/> <min value="0"/>
<definition value="A representation of the meaning of the code in the system, following the rules of the system."/> <max value="1"/>
<requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system."/> <type>
<min value="0"/> <code value="boolean"/>
<max value="1"/> </type>
<type> <isSummary value="true"/>
<code value="string"/> <mapping>
</type> <identity value="v2"/>
<isSummary value="true"/> <map value="Sometimes implied by being first"/>
<mapping> </mapping>
<identity value="v2"/> <mapping>
<map value="C*E.2 - but note this is not well followed"/> <identity value="rim"/>
</mapping> <map value="CD.codingRationale"/>
<mapping> </mapping>
<identity value="rim"/> <mapping>
<map value="CV.displayName"/> <identity value="orim"/>
</mapping> <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source &quot;true&quot;; fhir:target dt:CDCoding.codingRationale\#O ]"/>
<mapping> </mapping>
<identity value="orim"/> </element>
<map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/> </snapshot>
</mapping> <differential>
</element> <element>
<element> <path value="Coding"/>
<path value="Coding.userSelected"/> <short value="A reference to a code defined by a terminology system"/>
<short value="If this coding was chosen directly by the user"/> <definition value="A reference to a code defined by a terminology system."/>
<definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/> <comments value="Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information."/>
<comments value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly &#39;directly chosen&#39; implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/> <min value="0"/>
<requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/> <max value="*"/>
<min value="0"/> <type>
<max value="1"/> <code value="Element"/>
<type> </type>
<code value="boolean"/> <isSummary value="true"/>
</type> <mapping>
<isSummary value="true"/> <identity value="v2"/>
<mapping> <map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"/>
<identity value="v2"/> </mapping>
<map value="Sometimes implied by being first"/> <mapping>
</mapping> <identity value="rim"/>
<mapping> <map value="CV"/>
<identity value="rim"/> </mapping>
<map value="CD.codingRationale"/> <mapping>
</mapping> <identity value="orim"/>
<mapping> <map value="fhir:Coding rdfs:subClassOf dt:CDCoding"/>
<identity value="orim"/> </mapping>
<map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source &quot;true&quot;; fhir:target dt:CDCoding.codingRationale\#O ]"/> </element>
</mapping> <element>
</element> <path value="Coding.system"/>
</snapshot> <short value="Identity of the terminology system"/>
<differential> <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
<element> <comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
<path value="Coding"/> <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
<short value="A reference to a code defined by a terminology system"/> <min value="0"/>
<definition value="A reference to a code defined by a terminology system."/> <max value="1"/>
<comments value="Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information."/> <type>
<min value="0"/> <code value="uri"/>
<max value="*"/> </type>
<type> <isSummary value="true"/>
<code value="Element"/> <mapping>
</type> <identity value="v2"/>
<isSummary value="true"/> <map value="C*E.3"/>
<mapping> </mapping>
<identity value="v2"/> <mapping>
<map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"/> <identity value="rim"/>
</mapping> <map value="./codeSystem"/>
<mapping> </mapping>
<identity value="rim"/> <mapping>
<map value="CV"/> <identity value="orim"/>
</mapping> <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
<mapping> </mapping>
<identity value="orim"/> </element>
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding"/> <element>
</mapping> <path value="Coding.version"/>
</element> <short value="Version of the system - if relevant"/>
<element> <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
<path value="Coding.system"/> <comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
<short value="Identity of the terminology system"/> <min value="0"/>
<definition value="The identification of the code system that defines the meaning of the symbol in the code."/> <max value="1"/>
<comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7&#39;s list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/> <type>
<requirements value="Need to be unambiguous about the source of the definition of the symbol."/> <code value="string"/>
<min value="0"/> </type>
<max value="1"/> <isSummary value="true"/>
<type> <mapping>
<code value="uri"/> <identity value="v2"/>
</type> <map value="C*E.7"/>
<isSummary value="true"/> </mapping>
<mapping> <mapping>
<identity value="v2"/> <identity value="rim"/>
<map value="C*E.3"/> <map value="./codeSystemVersion"/>
</mapping> </mapping>
<mapping> <mapping>
<identity value="rim"/> <identity value="orim"/>
<map value="./codeSystem"/> <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
</mapping> </mapping>
<mapping> </element>
<identity value="orim"/> <element>
<map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/> <path value="Coding.code"/>
</mapping> <short value="Symbol in syntax defined by the system"/>
</element> <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
<element> <requirements value="Need to refer to a particular code in the system."/>
<path value="Coding.version"/> <min value="0"/>
<short value="Version of the system - if relevant"/> <max value="1"/>
<definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/> <type>
<comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/> <code value="code"/>
<min value="0"/> </type>
<max value="1"/> <isSummary value="true"/>
<type> <mapping>
<code value="string"/> <identity value="v2"/>
</type> <map value="C*E.1"/>
<isSummary value="true"/> </mapping>
<mapping> <mapping>
<identity value="v2"/> <identity value="rim"/>
<map value="C*E.7"/> <map value="./code"/>
</mapping> </mapping>
<mapping> <mapping>
<identity value="rim"/> <identity value="orim"/>
<map value="./codeSystemVersion"/> <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
</mapping> </mapping>
<mapping> </element>
<identity value="orim"/> <element>
<map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/> <path value="Coding.display"/>
</mapping> <short value="Representation defined by the system"/>
</element> <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
<element> <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system."/>
<path value="Coding.code"/> <min value="0"/>
<short value="Symbol in syntax defined by the system"/> <max value="1"/>
<definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/> <type>
<requirements value="Need to refer to a particular code in the system."/> <code value="string"/>
<min value="0"/> </type>
<max value="1"/> <isSummary value="true"/>
<type> <mapping>
<code value="code"/> <identity value="v2"/>
</type> <map value="C*E.2 - but note this is not well followed"/>
<isSummary value="true"/> </mapping>
<mapping> <mapping>
<identity value="v2"/> <identity value="rim"/>
<map value="C*E.1"/> <map value="CV.displayName"/>
</mapping> </mapping>
<mapping> <mapping>
<identity value="rim"/> <identity value="orim"/>
<map value="./code"/> <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
</mapping> </mapping>
<mapping> </element>
<identity value="orim"/> <element>
<map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/> <path value="Coding.userSelected"/>
</mapping> <short value="If this coding was chosen directly by the user"/>
</element> <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
<element> <comments value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
<path value="Coding.display"/> <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
<short value="Representation defined by the system"/> <min value="0"/>
<definition value="A representation of the meaning of the code in the system, following the rules of the system."/> <max value="1"/>
<requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system."/> <type>
<min value="0"/> <code value="boolean"/>
<max value="1"/> </type>
<type> <isSummary value="true"/>
<code value="string"/> <mapping>
</type> <identity value="v2"/>
<isSummary value="true"/> <map value="Sometimes implied by being first"/>
<mapping> </mapping>
<identity value="v2"/> <mapping>
<map value="C*E.2 - but note this is not well followed"/> <identity value="rim"/>
</mapping> <map value="CD.codingRationale"/>
<mapping> </mapping>
<identity value="rim"/> <mapping>
<map value="CV.displayName"/> <identity value="orim"/>
</mapping> <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source &quot;true&quot;; fhir:target dt:CDCoding.codingRationale\#O ]"/>
<mapping> </mapping>
<identity value="orim"/> </element>
<map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/> </differential>
</mapping> </StructureDefinition>
</element>
<element>
<path value="Coding.userSelected"/>
<short value="If this coding was chosen directly by the user"/>
<definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
<comments value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly &#39;directly chosen&#39; implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
<requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="boolean"/>
</type>
<isSummary value="true"/>
<mapping>
<identity value="v2"/>
<map value="Sometimes implied by being first"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="CD.codingRationale"/>
</mapping>
<mapping>
<identity value="orim"/>
<map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source &quot;true&quot;; fhir:target dt:CDCoding.codingRationale\#O ]"/>
</mapping>
</element>
</differential>
</StructureDefinition>

View File

@ -1,559 +1,399 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="ContactPoint"/> <id value="ContactPoint"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/ContactPoint"/>
<status value="generated"/> <name value="ContactPoint"/>
<div xmlns="http://www.w3.org/1999/xhtml"> <status value="draft"/>
<table border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 11px; font-family: verdana; vertical-align: top;"> <publisher value="HL7 FHIR Standard"/>
<tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"> <contact>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="The logical name of the element">Name</a> <system value="other"/>
</th> <value value="http://hl7.org/fhir"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Information about the use of the element">Flags</a> </contact>
</th> <date value="2015-11-11T10:54:01-05:00"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <description value="Base StructureDefinition for ContactPoint Type"/>
<a href="formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> <requirements value="Need to track phone, fax, mobile, sms numbers, email addresses, twitter tags, etc."/>
</th> <fhirVersion value="1.0.2"/>
<th style="width: 100px" class="hierarchy"> <mapping>
<a href="formats.html#table" title="Reference to the type of the element">Type</a> <identity value="v2"/>
</th> <uri value="http://hl7.org/v2"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <name value="HL7 v2"/>
<a href="formats.html#table" title="Additional information about the element">Description &amp; Constraints</a> </mapping>
<span style="float: right"> <mapping>
<a href="formats.html#table" title="Legend for this format"> <identity value="rim"/>
<img src="help16.png" alt="doco" style="background-color: inherit"/> <uri value="http://hl7.org/v3"/>
</a> <name value="RIM"/>
</span> </mapping>
</th> <mapping>
</tr> <identity value="servd"/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <uri value="http://www.omg.org/spec/ServD/1.0/"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <name value="ServD"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> </mapping>
<img src="data: image/png;base64,R0lGODlhEAAQAMQfAOvGUf7ztuvPMf/78/fkl/Pbg+u8Rvjqteu2Pf3zxPz36Pz0z+vTmPzurPvuw/npofbjquvNefHVduuyN+uuMu3Oafbgjfnqvf/3zv/3xevPi+vRjP/20/bmsP///////yH5BAEAAB8ALAAAAAAQABAAAAV24CeOZGmepqeqqOgxjBZFa+19r4ftWQUAgqDgltthMshMIJAZ4jYDHsBARSAmFOJvq+g6HIdEFgcYmBWNxoNAsDjGHgBnmV5bCoUDHLBIq9sFEhIdcAYJdYASFRUQhQkLCwkOFwcdEBAXhVabE52ecDahKy0oIQA7" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <kind value="datatype"/>
<a href="datatypes-definitions.html#ContactPoint" title="ContactPoint : Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.">ContactPoint</a> <abstract value="false"/>
<a name="ContactPoint"> </a> <base value="http://hl7.org/fhir/StructureDefinition/Element"/>
</td> <snapshot>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <element>
<span title="This element is included in summaries">Σ </span> <path value="ContactPoint"/>
<span title="This element has or is affected by some invariants">I</span> <short value="Details of a Technology mediated contact point (phone, fax, email, etc.)"/>
</td> <definition value="Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc."/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"></td> <min value="0"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <max value="*"/>
<a href="element.html">Element</a> <type>
</td> <code value="Element"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Details of a Technology mediated contact point (phone, fax, email, etc.) </type>
<br/> <constraint>
<span style="font-style: italic" title="cpt-2">A system is required if a value is provided.</span> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
</td> <valueString value="value.empty() or system"/>
</tr> </extension>
<key value="cpt-2"/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <severity value="error"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <human value="A system is required if a value is provided."/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> <xpath value="not(exists(f:value)) or exists(f:system)"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/> </constraint>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <isSummary value="true"/>
<a href="datatypes-definitions.html#ContactPoint.system" title="ContactPoint.system : Telecommunications form for contact point - what communications system is required to make use of the contact.">system</a> <mapping>
<a name="ContactPoint.system"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ </span>
<span title="This element has or is affected by some invariants">I</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#code">code</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">phone | fax | email | pager | other
<br/>
<a href="valueset-contact-point-system.html" title="Telecommunications form for contact point">ContactPointSystem</a> (
<a href="terminologies.html#required" title="To be conformant, instances of this element SHALL include a code from the specified value set.">Required</a>)
</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="datatypes-definitions.html#ContactPoint.value" title="ContactPoint.value : The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).">value</a>
<a name="ContactPoint.value"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#string">string</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">The actual contact point details</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="datatypes-definitions.html#ContactPoint.use" title="ContactPoint.use : Identifies the purpose for the contact point.">use</a>
<a name="ContactPoint.use"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is a modifier element">?! </span>
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#code">code</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">home | work | temp | old | mobile - purpose of this contact point
<br/>
<a href="valueset-contact-point-use.html" title="Use of contact point">ContactPointUse</a> (
<a href="terminologies.html#required" title="To be conformant, instances of this element SHALL include a code from the specified value set.">Required</a>)
</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="datatypes-definitions.html#ContactPoint.rank" title="ContactPoint.rank : Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.">rank</a>
<a name="ContactPoint.rank"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#positiveInt">positiveInt</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Specify preferred order of use (1 = highest)</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAI0lEQVR42u3QIQEAAAACIL/6/4MvTAQOkLYBAAB4kAAAANwMad9AqkRjgNAAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/>
<a href="datatypes-definitions.html#ContactPoint.period" title="ContactPoint.period : Time period when the contact point was/is in use.">period</a>
<a name="ContactPoint.period"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#Period">Period</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Time period when the contact point was/is in use</td>
</tr>
<tr>
<td colspan="5" class="hierarchy">
<br/>
<a href="formats.html#table" title="Legend for this format">
<img src="help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format
</a>
</td>
</tr>
</table>
</div>
</text>
<url value="http://hl7.org/fhir/StructureDefinition/ContactPoint"/>
<name value="ContactPoint"/>
<status value="draft"/>
<publisher value="HL7 FHIR Standard"/>
<contact>
<telecom>
<system value="other"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<date value="2015-11-11T10:54:01-05:00"/>
<description value="Base StructureDefinition for ContactPoint Type"/>
<requirements value="Need to track phone, fax, mobile, sms numbers, email addresses, twitter tags, etc."/>
<fhirVersion value="1.0.2"/>
<mapping>
<identity value="v2"/> <identity value="v2"/>
<uri value="http://hl7.org/v2"/> <map value="XTN"/>
<name value="HL7 v2"/> </mapping>
</mapping> <mapping>
<mapping>
<identity value="rim"/> <identity value="rim"/>
<uri value="http://hl7.org/v3"/> <map value="TEL"/>
<name value="RIM"/> </mapping>
</mapping> <mapping>
<mapping>
<identity value="servd"/> <identity value="servd"/>
<uri value="http://www.omg.org/spec/ServD/1.0/"/> <map value="ContactPoint"/>
<name value="ServD"/> </mapping>
</mapping> </element>
<kind value="datatype"/> <element>
<abstract value="false"/> <path value="ContactPoint.id"/>
<base value="http://hl7.org/fhir/StructureDefinition/Element"/> <representation value="xmlAttr"/>
<snapshot> <short value="xml:id (or equivalent in JSON)"/>
<element> <definition value="unique id for the element within a resource (for internal references)."/>
<path value="ContactPoint"/> <min value="0"/>
<short value="Details of a Technology mediated contact point (phone, fax, email, etc.)"/> <max value="1"/>
<definition value="Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc."/> <type>
<min value="0"/> <code value="id"/>
<max value="*"/> </type>
<type> <mapping>
<code value="Element"/> <identity value="rim"/>
</type> <map value="n/a"/>
<constraint> </mapping>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> </element>
<valueString value="value.empty() or system"/> <element>
</extension> <path value="ContactPoint.extension"/>
<key value="cpt-2"/> <short value="Additional Content defined by implementations"/>
<severity value="error"/> <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."/>
<human value="A system is required if a value is provided."/> <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."/>
<xpath value="not(exists(f:value)) or exists(f:system)"/> <alias value="extensions"/>
</constraint> <alias value="user content"/>
<isSummary value="true"/> <min value="0"/>
<mapping> <max value="*"/>
<identity value="v2"/> <type>
<map value="XTN"/> <code value="Extension"/>
</mapping> </type>
<mapping> <mapping>
<identity value="rim"/> <identity value="rim"/>
<map value="TEL"/> <map value="n/a"/>
</mapping> </mapping>
<mapping> </element>
<identity value="servd"/> <element>
<map value="ContactPoint"/> <path value="ContactPoint.system"/>
</mapping> <short value="phone | fax | email | pager | other"/>
</element> <definition value="Telecommunications form for contact point - what communications system is required to make use of the contact."/>
<element> <min value="0"/>
<path value="ContactPoint.id"/> <max value="1"/>
<representation value="xmlAttr"/> <type>
<short value="xml:id (or equivalent in JSON)"/> <code value="code"/>
<definition value="unique id for the element within a resource (for internal references)."/> </type>
<min value="0"/> <condition value="cpt-2"/>
<max value="1"/> <isSummary value="true"/>
<type> <binding>
<code value="id"/> <strength value="required"/>
</type> <description value="Telecommunications form for contact point"/>
<mapping> <valueSetReference>
<identity value="rim"/> <reference value="http://hl7.org/fhir/ValueSet/contact-point-system"/>
<map value="n/a"/> </valueSetReference>
</mapping> </binding>
</element> <mapping>
<element> <identity value="v2"/>
<path value="ContactPoint.extension"/> <map value="XTN.3"/>
<short value="Additional Content defined by implementations"/> </mapping>
<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."/> <mapping>
<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."/> <identity value="rim"/>
<alias value="extensions"/> <map value="./scheme"/>
<alias value="user content"/> </mapping>
<min value="0"/> <mapping>
<max value="*"/> <identity value="servd"/>
<type> <map value="./ContactPointType"/>
<code value="Extension"/> </mapping>
</type> </element>
<mapping> <element>
<identity value="rim"/> <path value="ContactPoint.value"/>
<map value="n/a"/> <short value="The actual contact point details"/>
</mapping> <definition value="The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)."/>
</element> <comments value="Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value."/>
<element> <requirements value="Need to support legacy numbers that are not in a tightly controlled format."/>
<path value="ContactPoint.system"/> <min value="0"/>
<short value="phone | fax | email | pager | other"/> <max value="1"/>
<definition value="Telecommunications form for contact point - what communications system is required to make use of the contact."/> <type>
<min value="0"/> <code value="string"/>
<max value="1"/> </type>
<type> <isSummary value="true"/>
<code value="code"/> <mapping>
</type> <identity value="v2"/>
<condition value="cpt-2"/> <map value="XTN.1 (or XTN.12)"/>
<isSummary value="true"/> </mapping>
<binding> <mapping>
<strength value="required"/> <identity value="rim"/>
<description value="Telecommunications form for contact point"/> <map value="./url"/>
<valueSetReference> </mapping>
<reference value="http://hl7.org/fhir/ValueSet/contact-point-system"/> <mapping>
</valueSetReference> <identity value="servd"/>
</binding> <map value="./Value"/>
<mapping> </mapping>
<identity value="v2"/> </element>
<map value="XTN.3"/> <element>
</mapping> <path value="ContactPoint.use"/>
<mapping> <short value="home | work | temp | old | mobile - purpose of this contact point"/>
<identity value="rim"/> <definition value="Identifies the purpose for the contact point."/>
<map value="./scheme"/> <comments value="This is labeled as &quot;Is Modifier&quot; because applications should not mistake a temporary or old contact etc.for a current/permanent one. Applications can assume that a contact is current unless it explicitly says that it is temporary or old."/>
</mapping> <requirements value="Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose."/>
<mapping> <min value="0"/>
<identity value="servd"/> <max value="1"/>
<map value="./ContactPointType"/> <type>
</mapping> <code value="code"/>
</element> </type>
<element> <isModifier value="true"/>
<path value="ContactPoint.value"/> <isSummary value="true"/>
<short value="The actual contact point details"/> <binding>
<definition value="The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)."/> <strength value="required"/>
<comments value="Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value."/> <description value="Use of contact point"/>
<requirements value="Need to support legacy numbers that are not in a tightly controlled format."/> <valueSetReference>
<min value="0"/> <reference value="http://hl7.org/fhir/ValueSet/contact-point-use"/>
<max value="1"/> </valueSetReference>
<type> </binding>
<code value="string"/> <mapping>
</type> <identity value="v2"/>
<isSummary value="true"/> <map value="XTN.2 - but often indicated by field"/>
<mapping> </mapping>
<identity value="v2"/> <mapping>
<map value="XTN.1 (or XTN.12)"/> <identity value="rim"/>
</mapping> <map value="unique(./use)"/>
<mapping> </mapping>
<identity value="rim"/> <mapping>
<map value="./url"/> <identity value="servd"/>
</mapping> <map value="./ContactPointPurpose"/>
<mapping> </mapping>
<identity value="servd"/> </element>
<map value="./Value"/> <element>
</mapping> <path value="ContactPoint.rank"/>
</element> <short value="Specify preferred order of use (1 = highest)"/>
<element> <definition value="Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values."/>
<path value="ContactPoint.use"/> <comments value="Note that rank does not necessarily follow the order in which the contacts are represented in the instance."/>
<short value="home | work | temp | old | mobile - purpose of this contact point"/> <min value="0"/>
<definition value="Identifies the purpose for the contact point."/> <max value="1"/>
<comments value="This is labeled as &quot;Is Modifier&quot; because applications should not mistake a temporary or old contact etc.for a current/permanent one. Applications can assume that a contact is current unless it explicitly says that it is temporary or old."/> <type>
<requirements value="Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose."/> <code value="positiveInt"/>
<min value="0"/> </type>
<max value="1"/> <isSummary value="true"/>
<type> <mapping>
<code value="code"/> <identity value="v2"/>
</type> <map value="n/a"/>
<isModifier value="true"/> </mapping>
<isSummary value="true"/> <mapping>
<binding> <identity value="rim"/>
<strength value="required"/> <map value="n/a"/>
<description value="Use of contact point"/> </mapping>
<valueSetReference> </element>
<reference value="http://hl7.org/fhir/ValueSet/contact-point-use"/> <element>
</valueSetReference> <path value="ContactPoint.period"/>
</binding> <short value="Time period when the contact point was/is in use"/>
<mapping> <definition value="Time period when the contact point was/is in use."/>
<identity value="v2"/> <min value="0"/>
<map value="XTN.2 - but often indicated by field"/> <max value="1"/>
</mapping> <type>
<mapping> <code value="Period"/>
<identity value="rim"/> </type>
<map value="unique(./use)"/> <isSummary value="true"/>
</mapping> <mapping>
<mapping> <identity value="v2"/>
<identity value="servd"/> <map value="N/A"/>
<map value="./ContactPointPurpose"/> </mapping>
</mapping> <mapping>
</element> <identity value="rim"/>
<element> <map value="./useablePeriod[type=&quot;IVL&lt;TS>&quot;]"/>
<path value="ContactPoint.rank"/> </mapping>
<short value="Specify preferred order of use (1 = highest)"/> <mapping>
<definition value="Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values."/> <identity value="servd"/>
<comments value="Note that rank does not necessarily follow the order in which the contacts are represented in the instance."/> <map value="./StartDate and ./EndDate"/>
<min value="0"/> </mapping>
<max value="1"/> </element>
<type> </snapshot>
<code value="positiveInt"/> <differential>
</type> <element>
<isSummary value="true"/> <path value="ContactPoint"/>
<mapping> <short value="Details of a Technology mediated contact point (phone, fax, email, etc.)"/>
<identity value="v2"/> <definition value="Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc."/>
<map value="n/a"/> <min value="0"/>
</mapping> <max value="*"/>
<mapping> <type>
<identity value="rim"/> <code value="Element"/>
<map value="n/a"/> </type>
</mapping> <constraint>
</element> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<element> <valueString value="value.empty() or system"/>
<path value="ContactPoint.period"/> </extension>
<short value="Time period when the contact point was/is in use"/> <key value="cpt-2"/>
<definition value="Time period when the contact point was/is in use."/> <severity value="error"/>
<min value="0"/> <human value="A system is required if a value is provided."/>
<max value="1"/> <xpath value="not(exists(f:value)) or exists(f:system)"/>
<type> </constraint>
<code value="Period"/> <isSummary value="true"/>
</type> <mapping>
<isSummary value="true"/> <identity value="v2"/>
<mapping> <map value="XTN"/>
<identity value="v2"/> </mapping>
<map value="N/A"/> <mapping>
</mapping> <identity value="rim"/>
<mapping> <map value="TEL"/>
<identity value="rim"/> </mapping>
<map value="./useablePeriod[type=&quot;IVL&lt;TS&gt;&quot;]"/> <mapping>
</mapping> <identity value="servd"/>
<mapping> <map value="ContactPoint"/>
<identity value="servd"/> </mapping>
<map value="./StartDate and ./EndDate"/> </element>
</mapping> <element>
</element> <path value="ContactPoint.system"/>
</snapshot> <short value="phone | fax | email | pager | other"/>
<differential> <definition value="Telecommunications form for contact point - what communications system is required to make use of the contact."/>
<element> <min value="0"/>
<path value="ContactPoint"/> <max value="1"/>
<short value="Details of a Technology mediated contact point (phone, fax, email, etc.)"/> <type>
<definition value="Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc."/> <code value="code"/>
<min value="0"/> </type>
<max value="*"/> <condition value="cpt-2"/>
<type> <isSummary value="true"/>
<code value="Element"/> <binding>
</type> <strength value="required"/>
<constraint> <description value="Telecommunications form for contact point"/>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> <valueSetReference>
<valueString value="value.empty() or system"/> <reference value="http://hl7.org/fhir/ValueSet/contact-point-system"/>
</extension> </valueSetReference>
<key value="cpt-2"/> </binding>
<severity value="error"/> <mapping>
<human value="A system is required if a value is provided."/> <identity value="v2"/>
<xpath value="not(exists(f:value)) or exists(f:system)"/> <map value="XTN.3"/>
</constraint> </mapping>
<isSummary value="true"/> <mapping>
<mapping> <identity value="rim"/>
<identity value="v2"/> <map value="./scheme"/>
<map value="XTN"/> </mapping>
</mapping> <mapping>
<mapping> <identity value="servd"/>
<identity value="rim"/> <map value="./ContactPointType"/>
<map value="TEL"/> </mapping>
</mapping> </element>
<mapping> <element>
<identity value="servd"/> <path value="ContactPoint.value"/>
<map value="ContactPoint"/> <short value="The actual contact point details"/>
</mapping> <definition value="The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)."/>
</element> <comments value="Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value."/>
<element> <requirements value="Need to support legacy numbers that are not in a tightly controlled format."/>
<path value="ContactPoint.system"/> <min value="0"/>
<short value="phone | fax | email | pager | other"/> <max value="1"/>
<definition value="Telecommunications form for contact point - what communications system is required to make use of the contact."/> <type>
<min value="0"/> <code value="string"/>
<max value="1"/> </type>
<type> <isSummary value="true"/>
<code value="code"/> <mapping>
</type> <identity value="v2"/>
<condition value="cpt-2"/> <map value="XTN.1 (or XTN.12)"/>
<isSummary value="true"/> </mapping>
<binding> <mapping>
<strength value="required"/> <identity value="rim"/>
<description value="Telecommunications form for contact point"/> <map value="./url"/>
<valueSetReference> </mapping>
<reference value="http://hl7.org/fhir/ValueSet/contact-point-system"/> <mapping>
</valueSetReference> <identity value="servd"/>
</binding> <map value="./Value"/>
<mapping> </mapping>
<identity value="v2"/> </element>
<map value="XTN.3"/> <element>
</mapping> <path value="ContactPoint.use"/>
<mapping> <short value="home | work | temp | old | mobile - purpose of this contact point"/>
<identity value="rim"/> <definition value="Identifies the purpose for the contact point."/>
<map value="./scheme"/> <comments value="This is labeled as &quot;Is Modifier&quot; because applications should not mistake a temporary or old contact etc.for a current/permanent one. Applications can assume that a contact is current unless it explicitly says that it is temporary or old."/>
</mapping> <requirements value="Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose."/>
<mapping> <min value="0"/>
<identity value="servd"/> <max value="1"/>
<map value="./ContactPointType"/> <type>
</mapping> <code value="code"/>
</element> </type>
<element> <isModifier value="true"/>
<path value="ContactPoint.value"/> <isSummary value="true"/>
<short value="The actual contact point details"/> <binding>
<definition value="The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)."/> <strength value="required"/>
<comments value="Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value."/> <description value="Use of contact point"/>
<requirements value="Need to support legacy numbers that are not in a tightly controlled format."/> <valueSetReference>
<min value="0"/> <reference value="http://hl7.org/fhir/ValueSet/contact-point-use"/>
<max value="1"/> </valueSetReference>
<type> </binding>
<code value="string"/> <mapping>
</type> <identity value="v2"/>
<isSummary value="true"/> <map value="XTN.2 - but often indicated by field"/>
<mapping> </mapping>
<identity value="v2"/> <mapping>
<map value="XTN.1 (or XTN.12)"/> <identity value="rim"/>
</mapping> <map value="unique(./use)"/>
<mapping> </mapping>
<identity value="rim"/> <mapping>
<map value="./url"/> <identity value="servd"/>
</mapping> <map value="./ContactPointPurpose"/>
<mapping> </mapping>
<identity value="servd"/> </element>
<map value="./Value"/> <element>
</mapping> <path value="ContactPoint.rank"/>
</element> <short value="Specify preferred order of use (1 = highest)"/>
<element> <definition value="Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values."/>
<path value="ContactPoint.use"/> <comments value="Note that rank does not necessarily follow the order in which the contacts are represented in the instance."/>
<short value="home | work | temp | old | mobile - purpose of this contact point"/> <min value="0"/>
<definition value="Identifies the purpose for the contact point."/> <max value="1"/>
<comments value="This is labeled as &quot;Is Modifier&quot; because applications should not mistake a temporary or old contact etc.for a current/permanent one. Applications can assume that a contact is current unless it explicitly says that it is temporary or old."/> <type>
<requirements value="Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose."/> <code value="positiveInt"/>
<min value="0"/> </type>
<max value="1"/> <isSummary value="true"/>
<type> <mapping>
<code value="code"/> <identity value="v2"/>
</type> <map value="n/a"/>
<isModifier value="true"/> </mapping>
<isSummary value="true"/> <mapping>
<binding> <identity value="rim"/>
<strength value="required"/> <map value="n/a"/>
<description value="Use of contact point"/> </mapping>
<valueSetReference> </element>
<reference value="http://hl7.org/fhir/ValueSet/contact-point-use"/> <element>
</valueSetReference> <path value="ContactPoint.period"/>
</binding> <short value="Time period when the contact point was/is in use"/>
<mapping> <definition value="Time period when the contact point was/is in use."/>
<identity value="v2"/> <min value="0"/>
<map value="XTN.2 - but often indicated by field"/> <max value="1"/>
</mapping> <type>
<mapping> <code value="Period"/>
<identity value="rim"/> </type>
<map value="unique(./use)"/> <isSummary value="true"/>
</mapping> <mapping>
<mapping> <identity value="v2"/>
<identity value="servd"/> <map value="N/A"/>
<map value="./ContactPointPurpose"/> </mapping>
</mapping> <mapping>
</element> <identity value="rim"/>
<element> <map value="./useablePeriod[type=&quot;IVL&lt;TS>&quot;]"/>
<path value="ContactPoint.rank"/> </mapping>
<short value="Specify preferred order of use (1 = highest)"/> <mapping>
<definition value="Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values."/> <identity value="servd"/>
<comments value="Note that rank does not necessarily follow the order in which the contacts are represented in the instance."/> <map value="./StartDate and ./EndDate"/>
<min value="0"/> </mapping>
<max value="1"/> </element>
<type> </differential>
<code value="positiveInt"/> </StructureDefinition>
</type>
<isSummary value="true"/>
<mapping>
<identity value="v2"/>
<map value="n/a"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element>
<path value="ContactPoint.period"/>
<short value="Time period when the contact point was/is in use"/>
<definition value="Time period when the contact point was/is in use."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="Period"/>
</type>
<isSummary value="true"/>
<mapping>
<identity value="v2"/>
<map value="N/A"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="./useablePeriod[type=&quot;IVL&lt;TS&gt;&quot;]"/>
</mapping>
<mapping>
<identity value="servd"/>
<map value="./StartDate and ./EndDate"/>
</mapping>
</element>
</differential>
</StructureDefinition>

View File

@ -1,278 +1,263 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Count"/> <id value="Count"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/Count"/>
<status value="generated"/> <name value="Count"/>
<div xmlns="http://www.w3.org/1999/xhtml"> <status value="draft"/>
<h2>Data type Count</h2> <publisher value="HL7 FHIR Standard"/>
<p>A count of a discrete element (no unit)</p> <contact>
<h3>Rule</h3> <telecom>
<p>There SHALL be a code with a value of &quot;1&quot; if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM. If present, the value SHALL a whole number.</p> <system value="other"/>
<p>XPath:</p> <value value="http://hl7.org/fhir"/>
<blockquote> </telecom>
<pre>(f:code or not(f:value)) and (not(exists(f:system)) or (f:system/@value=&#39;http://unitsofmeasure.org&#39; and f:code/@value=&#39;1&#39;)) and not(contains(f:value/@value, &#39;.&#39;))</pre> </contact>
</blockquote> <date value="2015-11-11T10:54:01-05:00"/>
</div> <description value="A count of a discrete element (no unit)"/>
</text> <fhirVersion value="1.0.2"/>
<url value="http://hl7.org/fhir/StructureDefinition/Count"/> <kind value="datatype"/>
<name value="Count"/> <constrainedType value="Quantity"/>
<status value="draft"/> <abstract value="false"/>
<publisher value="HL7 FHIR Standard"/> <base value="http://hl7.org/fhir/StructureDefinition/Quantity"/>
<contact> <snapshot>
<telecom> <element>
<system value="other"/> <path value="Quantity"/>
<value value="http://hl7.org/fhir"/> <name value="Count"/>
</telecom> <short value="A count of a discrete element (no unit)"/>
</contact> <definition value="There SHALL be a code with a value of &quot;1&quot; if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM. If present, the value SHALL a whole number."/>
<date value="2015-11-11T10:54:01-05:00"/> <comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."/>
<description value="A count of a discrete element (no unit)"/> <min value="0"/>
<fhirVersion value="1.0.2"/> <max value="*"/>
<kind value="datatype"/> <base>
<constrainedType value="Quantity"/> <path value="Quantity"/>
<abstract value="false"/> <min value="0"/>
<base value="http://hl7.org/fhir/StructureDefinition/Quantity"/> <max value="*"/>
<snapshot> </base>
<element> <type>
<path value="Quantity"/> <code value="Quantity"/>
<name value="Count"/> </type>
<short value="A count of a discrete element (no unit)"/> <constraint>
<definition value="There SHALL be a code with a value of &quot;1&quot; if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM. If present, the value SHALL a whole number."/> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."/> <valueString value="code.empty() or system"/>
<min value="0"/> </extension>
<max value="*"/> <key value="qty-3"/>
<base> <severity value="error"/>
<path value="Quantity"/> <human value="If a code for the unit is present, the system SHALL also be present"/>
<min value="0"/> <xpath value="not(exists(f:code)) or exists(f:system)"/>
<max value="*"/> </constraint>
</base> <constraint>
<type> <key value="cnt-1"/>
<code value="Quantity"/> <severity value="error"/>
</type> <human value="There SHALL be a code with a value of &quot;1&quot; if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM. If present, the value SHALL a whole number."/>
<constraint> <xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or (f:system/@value='http://unitsofmeasure.org' and f:code/@value='1')) and not(contains(f:value/@value, '.'))"/>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> </constraint>
<valueString value="code.empty() or system"/> <isSummary value="true"/>
</extension> <mapping>
<key value="qty-3"/> <identity value="v2"/>
<severity value="error"/> <map value="SN (see also Range) or CQ"/>
<human value="If a code for the unit is present, the system SHALL also be present"/> </mapping>
<xpath value="not(exists(f:code)) or exists(f:system)"/> <mapping>
</constraint> <identity value="rim"/>
<constraint> <map value="PQ, IVL&lt;PQ>, MO, CO, depending on the values"/>
<key value="cnt-1"/> </mapping>
<severity value="error"/> </element>
<human value="There SHALL be a code with a value of &quot;1&quot; if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM. If present, the value SHALL a whole number."/> <element>
<xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or (f:system/@value=&#39;http://unitsofmeasure.org&#39; and f:code/@value=&#39;1&#39;)) and not(contains(f:value/@value, &#39;.&#39;))"/> <path value="Quantity.id"/>
</constraint> <representation value="xmlAttr"/>
<isSummary value="true"/> <short value="xml:id (or equivalent in JSON)"/>
<mapping> <definition value="unique id for the element within a resource (for internal references)."/>
<identity value="v2"/> <min value="0"/>
<map value="SN (see also Range) or CQ"/> <max value="1"/>
</mapping> <base>
<mapping> <path value="Quantity.id"/>
<identity value="rim"/> <min value="0"/>
<map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values"/> <max value="1"/>
</mapping> </base>
</element> <type>
<element> <code value="id"/>
<path value="Quantity.id"/> </type>
<representation value="xmlAttr"/> <mapping>
<short value="xml:id (or equivalent in JSON)"/> <identity value="rim"/>
<definition value="unique id for the element within a resource (for internal references)."/> <map value="n/a"/>
<min value="0"/> </mapping>
<max value="1"/> </element>
<base> <element>
<path value="Quantity.id"/> <path value="Quantity.extension"/>
<min value="0"/> <short value="Additional Content defined by implementations"/>
<max value="1"/> <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."/>
</base> <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."/>
<type> <alias value="extensions"/>
<code value="id"/> <alias value="user content"/>
</type> <min value="0"/>
<mapping> <max value="*"/>
<identity value="rim"/> <base>
<map value="n/a"/> <path value="Quantity.extension"/>
</mapping> <min value="0"/>
</element> <max value="*"/>
<element> </base>
<path value="Quantity.extension"/> <type>
<short value="Additional Content defined by implementations"/> <code value="Extension"/>
<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."/> </type>
<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."/> <mapping>
<alias value="extensions"/> <identity value="rim"/>
<alias value="user content"/> <map value="n/a"/>
<min value="0"/> </mapping>
<max value="*"/> </element>
<base> <element>
<path value="Quantity.extension"/> <path value="Quantity.value"/>
<min value="0"/> <short value="Numerical value (with implicit precision)"/>
<max value="*"/> <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
</base> <comments value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
<type> <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
<code value="Extension"/> <min value="0"/>
</type> <max value="1"/>
<mapping> <base>
<identity value="rim"/> <path value="Quantity.value"/>
<map value="n/a"/> <min value="0"/>
</mapping> <max value="1"/>
</element> </base>
<element> <type>
<path value="Quantity.value"/> <code value="decimal"/>
<short value="Numerical value (with implicit precision)"/> </type>
<definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/> <isSummary value="true"/>
<comments value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/> <mapping>
<requirements value="Precision is handled implicitly in almost all cases of measurement."/> <identity value="v2"/>
<min value="0"/> <map value="SN.2 / CQ - N/A"/>
<max value="1"/> </mapping>
<base> <mapping>
<path value="Quantity.value"/> <identity value="rim"/>
<min value="0"/> <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
<max value="1"/> </mapping>
</base> </element>
<type> <element>
<code value="decimal"/> <path value="Quantity.comparator"/>
</type> <short value="&lt; | &lt;= | >= | > - how to understand the value"/>
<isSummary value="true"/> <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
<mapping> <comments value="This is labeled as &quot;Is Modifier&quot; because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value."/>
<identity value="v2"/> <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or >400mg/L due to the limitations of measuring methodology."/>
<map value="SN.2 / CQ - N/A"/> <min value="0"/>
</mapping> <max value="1"/>
<mapping> <base>
<identity value="rim"/> <path value="Quantity.comparator"/>
<map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/> <min value="0"/>
</mapping> <max value="1"/>
</element> </base>
<element> <type>
<path value="Quantity.comparator"/> <code value="code"/>
<short value="&lt; | &lt;= | &gt;= | &gt; - how to understand the value"/> </type>
<definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/> <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
<comments value="This is labeled as &quot;Is Modifier&quot; because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value."/> <isModifier value="true"/>
<requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/> <isSummary value="true"/>
<min value="0"/> <binding>
<max value="1"/> <strength value="required"/>
<base> <description value="How the Quantity should be understood and represented."/>
<path value="Quantity.comparator"/> <valueSetReference>
<min value="0"/> <reference value="http://hl7.org/fhir/ValueSet/quantity-comparator"/>
<max value="1"/> </valueSetReference>
</base> </binding>
<type> <mapping>
<code value="code"/> <identity value="v2"/>
</type> <map value="SN.1 / CQ.1"/>
<meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/> </mapping>
<isModifier value="true"/> <mapping>
<isSummary value="true"/> <identity value="rim"/>
<binding> <map value="IVL properties"/>
<strength value="required"/> </mapping>
<description value="How the Quantity should be understood and represented."/> </element>
<valueSetReference> <element>
<reference value="http://hl7.org/fhir/ValueSet/quantity-comparator"/> <path value="Quantity.unit"/>
</valueSetReference> <short value="Unit representation"/>
</binding> <definition value="A human-readable form of the unit."/>
<mapping> <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
<identity value="v2"/> <min value="0"/>
<map value="SN.1 / CQ.1"/> <max value="1"/>
</mapping> <base>
<mapping> <path value="Quantity.unit"/>
<identity value="rim"/> <min value="0"/>
<map value="IVL properties"/> <max value="1"/>
</mapping> </base>
</element> <type>
<element> <code value="string"/>
<path value="Quantity.unit"/> </type>
<short value="Unit representation"/> <isSummary value="true"/>
<definition value="A human-readable form of the unit."/> <mapping>
<requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/> <identity value="v2"/>
<min value="0"/> <map value="(see OBX.6 etc.) / CQ.2"/>
<max value="1"/> </mapping>
<base> <mapping>
<path value="Quantity.unit"/> <identity value="rim"/>
<min value="0"/> <map value="PQ.unit"/>
<max value="1"/> </mapping>
</base> </element>
<type> <element>
<code value="string"/> <path value="Quantity.system"/>
</type> <short value="System that defines coded unit form"/>
<isSummary value="true"/> <definition value="The identification of the system that provides the coded form of the unit."/>
<mapping> <requirements value="Need to know the system that defines the coded form of the unit."/>
<identity value="v2"/> <min value="0"/>
<map value="(see OBX.6 etc.) / CQ.2"/> <max value="1"/>
</mapping> <base>
<mapping> <path value="Quantity.system"/>
<identity value="rim"/> <min value="0"/>
<map value="PQ.unit"/> <max value="1"/>
</mapping> </base>
</element> <type>
<element> <code value="uri"/>
<path value="Quantity.system"/> </type>
<short value="System that defines coded unit form"/> <condition value="qty-3"/>
<definition value="The identification of the system that provides the coded form of the unit."/> <isSummary value="true"/>
<requirements value="Need to know the system that defines the coded form of the unit."/> <mapping>
<min value="0"/> <identity value="v2"/>
<max value="1"/> <map value="(see OBX.6 etc.) / CQ.2"/>
<base> </mapping>
<path value="Quantity.system"/> <mapping>
<min value="0"/> <identity value="rim"/>
<max value="1"/> <map value="CO.codeSystem, PQ.translation.codeSystem"/>
</base> </mapping>
<type> </element>
<code value="uri"/> <element>
</type> <path value="Quantity.code"/>
<condition value="qty-3"/> <short value="Coded form of the unit"/>
<isSummary value="true"/> <definition value="A computer processable form of the unit in some unit representation system."/>
<mapping> <comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."/>
<identity value="v2"/> <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
<map value="(see OBX.6 etc.) / CQ.2"/> <min value="0"/>
</mapping> <max value="1"/>
<mapping> <base>
<identity value="rim"/> <path value="Quantity.code"/>
<map value="CO.codeSystem, PQ.translation.codeSystem"/> <min value="0"/>
</mapping> <max value="1"/>
</element> </base>
<element> <type>
<path value="Quantity.code"/> <code value="code"/>
<short value="Coded form of the unit"/> </type>
<definition value="A computer processable form of the unit in some unit representation system."/> <isSummary value="true"/>
<comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."/> <mapping>
<requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/> <identity value="v2"/>
<min value="0"/> <map value="(see OBX.6 etc.) / CQ.2"/>
<max value="1"/> </mapping>
<base> <mapping>
<path value="Quantity.code"/> <identity value="rim"/>
<min value="0"/> <map value="PQ.code, MO.currency, PQ.translation.code"/>
<max value="1"/> </mapping>
</base> </element>
<type> </snapshot>
<code value="code"/> <differential>
</type> <element>
<isSummary value="true"/> <path value="Quantity"/>
<mapping> <name value="Count"/>
<identity value="v2"/> <short value="A count of a discrete element (no unit)"/>
<map value="(see OBX.6 etc.) / CQ.2"/> <definition value="There SHALL be a code with a value of &quot;1&quot; if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM. If present, the value SHALL a whole number."/>
</mapping> <min value="0"/>
<mapping> <max value="*"/>
<identity value="rim"/> <type>
<map value="PQ.code, MO.currency, PQ.translation.code"/> <code value="Quantity"/>
</mapping> </type>
</element> <constraint>
</snapshot> <key value="cnt-1"/>
<differential> <severity value="error"/>
<element> <human value="There SHALL be a code with a value of &quot;1&quot; if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM. If present, the value SHALL a whole number."/>
<path value="Quantity"/> <xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or (f:system/@value='http://unitsofmeasure.org' and f:code/@value='1')) and not(contains(f:value/@value, '.'))"/>
<name value="Count"/> </constraint>
<short value="A count of a discrete element (no unit)"/> <isModifier value="false"/>
<definition value="There SHALL be a code with a value of &quot;1&quot; if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM. If present, the value SHALL a whole number."/> </element>
<min value="0"/> </differential>
<max value="*"/> </StructureDefinition>
<type>
<code value="Quantity"/>
</type>
<constraint>
<key value="cnt-1"/>
<severity value="error"/>
<human value="There SHALL be a code with a value of &quot;1&quot; if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM. If present, the value SHALL a whole number."/>
<xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or (f:system/@value=&#39;http://unitsofmeasure.org&#39; and f:code/@value=&#39;1&#39;)) and not(contains(f:value/@value, &#39;.&#39;))"/>
</constraint>
<isModifier value="false"/>
</element>
</differential>
</StructureDefinition>

View File

@ -1,126 +1,120 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="date"/> <id value="date"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/date"/>
<status value="generated"/> <name value="date"/>
<div xmlns="http://www.w3.org/1999/xhtml">to do</div> <status value="draft"/>
</text> <publisher value="HL7 FHIR Standard"/>
<url value="http://hl7.org/fhir/StructureDefinition/date"/> <contact>
<name value="date"/> <telecom>
<status value="draft"/> <system value="other"/>
<publisher value="HL7 FHIR Standard"/> <value value="http://hl7.org/fhir"/>
<contact> </telecom>
<telecom> </contact>
<system value="other"/> <date value="2015-11-11T10:54:01-05:00"/>
<value value="http://hl7.org/fhir"/> <description value="Base StructureDefinition for date Type: A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates."/>
</telecom> <fhirVersion value="1.0.2"/>
</contact> <kind value="datatype"/>
<date value="2015-11-11T10:54:01-05:00"/> <abstract value="false"/>
<description value="Base StructureDefinition for date Type: A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates."/> <base value="http://hl7.org/fhir/StructureDefinition/Element"/>
<fhirVersion value="1.0.2"/> <snapshot>
<kind value="datatype"/> <element>
<abstract value="false"/> <path value="date"/>
<base value="http://hl7.org/fhir/StructureDefinition/Element"/> <short value="Primitive Type date"/>
<snapshot> <definition value="A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates."/>
<element> <min value="0"/>
<path value="date"/> <max value="*"/>
<short value="Primitive Type date"/> <type>
<definition value="A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates."/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="date.id"/>
</type> <representation value="xmlAttr"/>
</element> <short value="xml:id (or equivalent in JSON)"/>
<element> <definition value="unique id for the element within a resource (for internal references)"/>
<path value="date.id"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="xml:id (or equivalent in JSON)"/> <type>
<definition value="unique id for the element within a resource (for internal references)"/> <code value="id"/>
<min value="0"/> </type>
<max value="1"/> </element>
<type> <element>
<code value="id"/> <path value="date.extension"/>
</type> <short value="Additional Content defined by implementations"/>
</element> <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/>
<element> <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."/>
<path value="date.extension"/> <alias value="extensions"/>
<short value="Additional Content defined by implementations"/> <alias value="user content"/>
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/> <min value="0"/>
<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."/> <max value="*"/>
<alias value="extensions"/> <base>
<alias value="user content"/> <path value="date.extension"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<base> </base>
<path value="date.extension"/> <type>
<min value="0"/> <code value="Extension"/>
<max value="*"/> </type>
</base> </element>
<type> <element>
<code value="Extension"/> <path value="date.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for date"/>
<element> <definition value="The actual value"/>
<path value="date.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for date"/> <!-- Note: primitive values do not have an assigned type
<definition value="The actual value"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
e.g. this is compiler magic <valueString value="-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?"/>
XML and JSON types provided by extension --> </extension>
<type> <code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex"> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?"/> <valueString value="string"/>
</extension> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="xs:gYear, xs:gYearMonth, xs:date"/>
<valueString value="string"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="xs:gYear, xs:gYearMonth, xs:date"/> </element>
</extension> </snapshot>
</code> <differential>
</type> <element>
</element> <path value="date"/>
</snapshot> <short value="Primitive Type date"/>
<differential> <definition value="A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates."/>
<element> <min value="0"/>
<path value="date"/> <max value="*"/>
<short value="Primitive Type date"/> <type>
<definition value="A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates."/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="date.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for date"/>
<element> <definition value="Primitive value for date"/>
<path value="date.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for date"/> <!-- Note: primitive values do not have an assigned type
<definition value="Primitive value for date"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
e.g. this is compiler magic <valueString value="-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?"/>
XML and JSON types provided by extension --> </extension>
<type> <code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex"> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?"/> <valueString value="string"/>
</extension> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="xs:gYear, xs:gYearMonth, xs:date"/>
<valueString value="string"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="xs:gYear, xs:gYearMonth, xs:date"/> </element>
</extension> </differential>
</code> </StructureDefinition>
</type>
</element>
</differential>
</StructureDefinition>

View File

@ -1,126 +1,120 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="dateTime"/> <id value="dateTime"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/dateTime"/>
<status value="generated"/> <name value="dateTime"/>
<div xmlns="http://www.w3.org/1999/xhtml">to do</div> <status value="draft"/>
</text> <publisher value="HL7 FHIR Standard"/>
<url value="http://hl7.org/fhir/StructureDefinition/dateTime"/> <contact>
<name value="dateTime"/> <telecom>
<status value="draft"/> <system value="other"/>
<publisher value="HL7 FHIR Standard"/> <value value="http://hl7.org/fhir"/>
<contact> </telecom>
<telecom> </contact>
<system value="other"/> <date value="2015-11-11T10:54:01-05:00"/>
<value value="http://hl7.org/fhir"/> <description value="Base StructureDefinition for dateTime Type: A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates."/>
</telecom> <fhirVersion value="1.0.2"/>
</contact> <kind value="datatype"/>
<date value="2015-11-11T10:54:01-05:00"/> <abstract value="false"/>
<description value="Base StructureDefinition for dateTime Type: A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates."/> <base value="http://hl7.org/fhir/StructureDefinition/Element"/>
<fhirVersion value="1.0.2"/> <snapshot>
<kind value="datatype"/> <element>
<abstract value="false"/> <path value="dateTime"/>
<base value="http://hl7.org/fhir/StructureDefinition/Element"/> <short value="Primitive Type dateTime"/>
<snapshot> <definition value="A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates."/>
<element> <min value="0"/>
<path value="dateTime"/> <max value="*"/>
<short value="Primitive Type dateTime"/> <type>
<definition value="A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates."/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="dateTime.id"/>
</type> <representation value="xmlAttr"/>
</element> <short value="xml:id (or equivalent in JSON)"/>
<element> <definition value="unique id for the element within a resource (for internal references)"/>
<path value="dateTime.id"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="xml:id (or equivalent in JSON)"/> <type>
<definition value="unique id for the element within a resource (for internal references)"/> <code value="id"/>
<min value="0"/> </type>
<max value="1"/> </element>
<type> <element>
<code value="id"/> <path value="dateTime.extension"/>
</type> <short value="Additional Content defined by implementations"/>
</element> <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/>
<element> <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."/>
<path value="dateTime.extension"/> <alias value="extensions"/>
<short value="Additional Content defined by implementations"/> <alias value="user content"/>
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/> <min value="0"/>
<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."/> <max value="*"/>
<alias value="extensions"/> <base>
<alias value="user content"/> <path value="dateTime.extension"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<base> </base>
<path value="dateTime.extension"/> <type>
<min value="0"/> <code value="Extension"/>
<max value="*"/> </type>
</base> </element>
<type> <element>
<code value="Extension"/> <path value="dateTime.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for dateTime"/>
<element> <definition value="The actual value"/>
<path value="dateTime.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for dateTime"/> <!-- Note: primitive values do not have an assigned type
<definition value="The actual value"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
e.g. this is compiler magic <valueString value="-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"/>
XML and JSON types provided by extension --> </extension>
<type> <code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex"> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"/> <valueString value="string"/>
</extension> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="xs:gYear, xs:gYearMonth, xs:date, xs:dateTime"/>
<valueString value="string"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="xs:gYear, xs:gYearMonth, xs:date, xs:dateTime"/> </element>
</extension> </snapshot>
</code> <differential>
</type> <element>
</element> <path value="dateTime"/>
</snapshot> <short value="Primitive Type dateTime"/>
<differential> <definition value="A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates."/>
<element> <min value="0"/>
<path value="dateTime"/> <max value="*"/>
<short value="Primitive Type dateTime"/> <type>
<definition value="A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates."/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="dateTime.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for dateTime"/>
<element> <definition value="Primitive value for dateTime"/>
<path value="dateTime.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for dateTime"/> <!-- Note: primitive values do not have an assigned type
<definition value="Primitive value for dateTime"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
e.g. this is compiler magic <valueString value="-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"/>
XML and JSON types provided by extension --> </extension>
<type> <code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex"> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"/> <valueString value="string"/>
</extension> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="xs:gYear, xs:gYearMonth, xs:date, xs:dateTime"/>
<valueString value="string"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="xs:gYear, xs:gYearMonth, xs:date, xs:dateTime"/> </element>
</extension> </differential>
</code> </StructureDefinition>
</type>
</element>
</differential>
</StructureDefinition>

View File

@ -1,128 +1,122 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="decimal"/> <id value="decimal"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/decimal"/>
<status value="generated"/> <name value="decimal"/>
<div xmlns="http://www.w3.org/1999/xhtml">to do</div> <status value="draft"/>
</text> <publisher value="HL7 FHIR Standard"/>
<url value="http://hl7.org/fhir/StructureDefinition/decimal"/> <contact>
<name value="decimal"/> <telecom>
<status value="draft"/> <system value="other"/>
<publisher value="HL7 FHIR Standard"/> <value value="http://hl7.org/fhir"/>
<contact> </telecom>
<telecom> </contact>
<system value="other"/> <date value="2015-11-11T10:54:01-05:00"/>
<value value="http://hl7.org/fhir"/> <description value="Base StructureDefinition for decimal Type: A rational number with implicit precision"/>
</telecom> <fhirVersion value="1.0.2"/>
</contact> <kind value="datatype"/>
<date value="2015-11-11T10:54:01-05:00"/> <abstract value="false"/>
<description value="Base StructureDefinition for decimal Type: A rational number with implicit precision"/> <base value="http://hl7.org/fhir/StructureDefinition/Element"/>
<fhirVersion value="1.0.2"/> <snapshot>
<kind value="datatype"/> <element>
<abstract value="false"/> <path value="decimal"/>
<base value="http://hl7.org/fhir/StructureDefinition/Element"/> <short value="Primitive Type decimal"/>
<snapshot> <definition value="A rational number with implicit precision"/>
<element> <comments value="Do not use a IEEE type floating point type, instead use something that works like a true decimal, with inbuilt precision (e.g. Java BigInteger)"/>
<path value="decimal"/> <min value="0"/>
<short value="Primitive Type decimal"/> <max value="*"/>
<definition value="A rational number with implicit precision"/> <type>
<comments value="Do not use a IEEE type floating point type, instead use something that works like a true decimal, with inbuilt precision (e.g. Java BigInteger)"/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="decimal.id"/>
</type> <representation value="xmlAttr"/>
</element> <short value="xml:id (or equivalent in JSON)"/>
<element> <definition value="unique id for the element within a resource (for internal references)"/>
<path value="decimal.id"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="xml:id (or equivalent in JSON)"/> <type>
<definition value="unique id for the element within a resource (for internal references)"/> <code value="id"/>
<min value="0"/> </type>
<max value="1"/> </element>
<type> <element>
<code value="id"/> <path value="decimal.extension"/>
</type> <short value="Additional Content defined by implementations"/>
</element> <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/>
<element> <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."/>
<path value="decimal.extension"/> <alias value="extensions"/>
<short value="Additional Content defined by implementations"/> <alias value="user content"/>
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/> <min value="0"/>
<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."/> <max value="*"/>
<alias value="extensions"/> <base>
<alias value="user content"/> <path value="decimal.extension"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<base> </base>
<path value="decimal.extension"/> <type>
<min value="0"/> <code value="Extension"/>
<max value="*"/> </type>
</base> </element>
<type> <element>
<code value="Extension"/> <path value="decimal.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for decimal"/>
<element> <definition value="The actual value"/>
<path value="decimal.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for decimal"/> <!-- Note: primitive values do not have an assigned type
<definition value="The actual value"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
e.g. this is compiler magic <valueString value="-?([0]|([1-9][0-9]*))(\.[0-9]+)?"/>
XML and JSON types provided by extension --> </extension>
<type> <code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex"> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="-?([0]|([1-9][0-9]*))(\.[0-9]+)?"/> <valueString value="number"/>
</extension> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="decimal"/>
<valueString value="number"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="decimal"/> </element>
</extension> </snapshot>
</code> <differential>
</type> <element>
</element> <path value="decimal"/>
</snapshot> <short value="Primitive Type decimal"/>
<differential> <definition value="A rational number with implicit precision"/>
<element> <comments value="Do not use a IEEE type floating point type, instead use something that works like a true decimal, with inbuilt precision (e.g. Java BigInteger)"/>
<path value="decimal"/> <min value="0"/>
<short value="Primitive Type decimal"/> <max value="*"/>
<definition value="A rational number with implicit precision"/> <type>
<comments value="Do not use a IEEE type floating point type, instead use something that works like a true decimal, with inbuilt precision (e.g. Java BigInteger)"/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="decimal.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for decimal"/>
<element> <definition value="Primitive value for decimal"/>
<path value="decimal.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for decimal"/> <!-- Note: primitive values do not have an assigned type
<definition value="Primitive value for decimal"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
e.g. this is compiler magic <valueString value="-?([0]|([1-9][0-9]*))(\.[0-9]+)?"/>
XML and JSON types provided by extension --> </extension>
<type> <code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex"> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="-?([0]|([1-9][0-9]*))(\.[0-9]+)?"/> <valueString value="number"/>
</extension> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="decimal"/>
<valueString value="number"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="decimal"/> </element>
</extension> </differential>
</code> </StructureDefinition>
</type>
</element>
</differential>
</StructureDefinition>

View File

@ -1,278 +1,263 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Distance"/> <id value="Distance"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/Distance"/>
<status value="generated"/> <name value="Distance"/>
<div xmlns="http://www.w3.org/1999/xhtml"> <status value="draft"/>
<h2>Data type Distance</h2> <publisher value="HL7 FHIR Standard"/>
<p>A measure of distance</p> <contact>
<h3>Rule</h3> <telecom>
<p>There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM.</p> <system value="other"/>
<p>XPath:</p> <value value="http://hl7.org/fhir"/>
<blockquote> </telecom>
<pre>(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value=&#39;http://unitsofmeasure.org&#39;)</pre> </contact>
</blockquote> <date value="2015-11-11T10:54:01-05:00"/>
</div> <description value="A measure of distance"/>
</text> <fhirVersion value="1.0.2"/>
<url value="http://hl7.org/fhir/StructureDefinition/Distance"/> <kind value="datatype"/>
<name value="Distance"/> <constrainedType value="Quantity"/>
<status value="draft"/> <abstract value="false"/>
<publisher value="HL7 FHIR Standard"/> <base value="http://hl7.org/fhir/StructureDefinition/Quantity"/>
<contact> <snapshot>
<telecom> <element>
<system value="other"/> <path value="Quantity"/>
<value value="http://hl7.org/fhir"/> <name value="Distance"/>
</telecom> <short value="A measure of distance"/>
</contact> <definition value="There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM."/>
<date value="2015-11-11T10:54:01-05:00"/> <comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."/>
<description value="A measure of distance"/> <min value="0"/>
<fhirVersion value="1.0.2"/> <max value="*"/>
<kind value="datatype"/> <base>
<constrainedType value="Quantity"/> <path value="Quantity"/>
<abstract value="false"/> <min value="0"/>
<base value="http://hl7.org/fhir/StructureDefinition/Quantity"/> <max value="*"/>
<snapshot> </base>
<element> <type>
<path value="Quantity"/> <code value="Quantity"/>
<name value="Distance"/> </type>
<short value="A measure of distance"/> <constraint>
<definition value="There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM."/> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."/> <valueString value="code.empty() or system"/>
<min value="0"/> </extension>
<max value="*"/> <key value="qty-3"/>
<base> <severity value="error"/>
<path value="Quantity"/> <human value="If a code for the unit is present, the system SHALL also be present"/>
<min value="0"/> <xpath value="not(exists(f:code)) or exists(f:system)"/>
<max value="*"/> </constraint>
</base> <constraint>
<type> <key value="dis-1"/>
<code value="Quantity"/> <severity value="error"/>
</type> <human value="There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM."/>
<constraint> <xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org')"/>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> </constraint>
<valueString value="code.empty() or system"/> <isSummary value="true"/>
</extension> <mapping>
<key value="qty-3"/> <identity value="v2"/>
<severity value="error"/> <map value="SN (see also Range) or CQ"/>
<human value="If a code for the unit is present, the system SHALL also be present"/> </mapping>
<xpath value="not(exists(f:code)) or exists(f:system)"/> <mapping>
</constraint> <identity value="rim"/>
<constraint> <map value="PQ, IVL&lt;PQ>, MO, CO, depending on the values"/>
<key value="dis-1"/> </mapping>
<severity value="error"/> </element>
<human value="There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM."/> <element>
<xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value=&#39;http://unitsofmeasure.org&#39;)"/> <path value="Quantity.id"/>
</constraint> <representation value="xmlAttr"/>
<isSummary value="true"/> <short value="xml:id (or equivalent in JSON)"/>
<mapping> <definition value="unique id for the element within a resource (for internal references)."/>
<identity value="v2"/> <min value="0"/>
<map value="SN (see also Range) or CQ"/> <max value="1"/>
</mapping> <base>
<mapping> <path value="Quantity.id"/>
<identity value="rim"/> <min value="0"/>
<map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values"/> <max value="1"/>
</mapping> </base>
</element> <type>
<element> <code value="id"/>
<path value="Quantity.id"/> </type>
<representation value="xmlAttr"/> <mapping>
<short value="xml:id (or equivalent in JSON)"/> <identity value="rim"/>
<definition value="unique id for the element within a resource (for internal references)."/> <map value="n/a"/>
<min value="0"/> </mapping>
<max value="1"/> </element>
<base> <element>
<path value="Quantity.id"/> <path value="Quantity.extension"/>
<min value="0"/> <short value="Additional Content defined by implementations"/>
<max value="1"/> <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."/>
</base> <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."/>
<type> <alias value="extensions"/>
<code value="id"/> <alias value="user content"/>
</type> <min value="0"/>
<mapping> <max value="*"/>
<identity value="rim"/> <base>
<map value="n/a"/> <path value="Quantity.extension"/>
</mapping> <min value="0"/>
</element> <max value="*"/>
<element> </base>
<path value="Quantity.extension"/> <type>
<short value="Additional Content defined by implementations"/> <code value="Extension"/>
<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."/> </type>
<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."/> <mapping>
<alias value="extensions"/> <identity value="rim"/>
<alias value="user content"/> <map value="n/a"/>
<min value="0"/> </mapping>
<max value="*"/> </element>
<base> <element>
<path value="Quantity.extension"/> <path value="Quantity.value"/>
<min value="0"/> <short value="Numerical value (with implicit precision)"/>
<max value="*"/> <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
</base> <comments value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
<type> <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
<code value="Extension"/> <min value="0"/>
</type> <max value="1"/>
<mapping> <base>
<identity value="rim"/> <path value="Quantity.value"/>
<map value="n/a"/> <min value="0"/>
</mapping> <max value="1"/>
</element> </base>
<element> <type>
<path value="Quantity.value"/> <code value="decimal"/>
<short value="Numerical value (with implicit precision)"/> </type>
<definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/> <isSummary value="true"/>
<comments value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/> <mapping>
<requirements value="Precision is handled implicitly in almost all cases of measurement."/> <identity value="v2"/>
<min value="0"/> <map value="SN.2 / CQ - N/A"/>
<max value="1"/> </mapping>
<base> <mapping>
<path value="Quantity.value"/> <identity value="rim"/>
<min value="0"/> <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
<max value="1"/> </mapping>
</base> </element>
<type> <element>
<code value="decimal"/> <path value="Quantity.comparator"/>
</type> <short value="&lt; | &lt;= | >= | > - how to understand the value"/>
<isSummary value="true"/> <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
<mapping> <comments value="This is labeled as &quot;Is Modifier&quot; because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value."/>
<identity value="v2"/> <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or >400mg/L due to the limitations of measuring methodology."/>
<map value="SN.2 / CQ - N/A"/> <min value="0"/>
</mapping> <max value="1"/>
<mapping> <base>
<identity value="rim"/> <path value="Quantity.comparator"/>
<map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/> <min value="0"/>
</mapping> <max value="1"/>
</element> </base>
<element> <type>
<path value="Quantity.comparator"/> <code value="code"/>
<short value="&lt; | &lt;= | &gt;= | &gt; - how to understand the value"/> </type>
<definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/> <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
<comments value="This is labeled as &quot;Is Modifier&quot; because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value."/> <isModifier value="true"/>
<requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/> <isSummary value="true"/>
<min value="0"/> <binding>
<max value="1"/> <strength value="required"/>
<base> <description value="How the Quantity should be understood and represented."/>
<path value="Quantity.comparator"/> <valueSetReference>
<min value="0"/> <reference value="http://hl7.org/fhir/ValueSet/quantity-comparator"/>
<max value="1"/> </valueSetReference>
</base> </binding>
<type> <mapping>
<code value="code"/> <identity value="v2"/>
</type> <map value="SN.1 / CQ.1"/>
<meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/> </mapping>
<isModifier value="true"/> <mapping>
<isSummary value="true"/> <identity value="rim"/>
<binding> <map value="IVL properties"/>
<strength value="required"/> </mapping>
<description value="How the Quantity should be understood and represented."/> </element>
<valueSetReference> <element>
<reference value="http://hl7.org/fhir/ValueSet/quantity-comparator"/> <path value="Quantity.unit"/>
</valueSetReference> <short value="Unit representation"/>
</binding> <definition value="A human-readable form of the unit."/>
<mapping> <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
<identity value="v2"/> <min value="0"/>
<map value="SN.1 / CQ.1"/> <max value="1"/>
</mapping> <base>
<mapping> <path value="Quantity.unit"/>
<identity value="rim"/> <min value="0"/>
<map value="IVL properties"/> <max value="1"/>
</mapping> </base>
</element> <type>
<element> <code value="string"/>
<path value="Quantity.unit"/> </type>
<short value="Unit representation"/> <isSummary value="true"/>
<definition value="A human-readable form of the unit."/> <mapping>
<requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/> <identity value="v2"/>
<min value="0"/> <map value="(see OBX.6 etc.) / CQ.2"/>
<max value="1"/> </mapping>
<base> <mapping>
<path value="Quantity.unit"/> <identity value="rim"/>
<min value="0"/> <map value="PQ.unit"/>
<max value="1"/> </mapping>
</base> </element>
<type> <element>
<code value="string"/> <path value="Quantity.system"/>
</type> <short value="System that defines coded unit form"/>
<isSummary value="true"/> <definition value="The identification of the system that provides the coded form of the unit."/>
<mapping> <requirements value="Need to know the system that defines the coded form of the unit."/>
<identity value="v2"/> <min value="0"/>
<map value="(see OBX.6 etc.) / CQ.2"/> <max value="1"/>
</mapping> <base>
<mapping> <path value="Quantity.system"/>
<identity value="rim"/> <min value="0"/>
<map value="PQ.unit"/> <max value="1"/>
</mapping> </base>
</element> <type>
<element> <code value="uri"/>
<path value="Quantity.system"/> </type>
<short value="System that defines coded unit form"/> <condition value="qty-3"/>
<definition value="The identification of the system that provides the coded form of the unit."/> <isSummary value="true"/>
<requirements value="Need to know the system that defines the coded form of the unit."/> <mapping>
<min value="0"/> <identity value="v2"/>
<max value="1"/> <map value="(see OBX.6 etc.) / CQ.2"/>
<base> </mapping>
<path value="Quantity.system"/> <mapping>
<min value="0"/> <identity value="rim"/>
<max value="1"/> <map value="CO.codeSystem, PQ.translation.codeSystem"/>
</base> </mapping>
<type> </element>
<code value="uri"/> <element>
</type> <path value="Quantity.code"/>
<condition value="qty-3"/> <short value="Coded form of the unit"/>
<isSummary value="true"/> <definition value="A computer processable form of the unit in some unit representation system."/>
<mapping> <comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."/>
<identity value="v2"/> <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
<map value="(see OBX.6 etc.) / CQ.2"/> <min value="0"/>
</mapping> <max value="1"/>
<mapping> <base>
<identity value="rim"/> <path value="Quantity.code"/>
<map value="CO.codeSystem, PQ.translation.codeSystem"/> <min value="0"/>
</mapping> <max value="1"/>
</element> </base>
<element> <type>
<path value="Quantity.code"/> <code value="code"/>
<short value="Coded form of the unit"/> </type>
<definition value="A computer processable form of the unit in some unit representation system."/> <isSummary value="true"/>
<comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."/> <mapping>
<requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/> <identity value="v2"/>
<min value="0"/> <map value="(see OBX.6 etc.) / CQ.2"/>
<max value="1"/> </mapping>
<base> <mapping>
<path value="Quantity.code"/> <identity value="rim"/>
<min value="0"/> <map value="PQ.code, MO.currency, PQ.translation.code"/>
<max value="1"/> </mapping>
</base> </element>
<type> </snapshot>
<code value="code"/> <differential>
</type> <element>
<isSummary value="true"/> <path value="Quantity"/>
<mapping> <name value="Distance"/>
<identity value="v2"/> <short value="A measure of distance"/>
<map value="(see OBX.6 etc.) / CQ.2"/> <definition value="There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM."/>
</mapping> <min value="0"/>
<mapping> <max value="*"/>
<identity value="rim"/> <type>
<map value="PQ.code, MO.currency, PQ.translation.code"/> <code value="Quantity"/>
</mapping> </type>
</element> <constraint>
</snapshot> <key value="dis-1"/>
<differential> <severity value="error"/>
<element> <human value="There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM."/>
<path value="Quantity"/> <xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org')"/>
<name value="Distance"/> </constraint>
<short value="A measure of distance"/> <isModifier value="false"/>
<definition value="There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM."/> </element>
<min value="0"/> </differential>
<max value="*"/> </StructureDefinition>
<type>
<code value="Quantity"/>
</type>
<constraint>
<key value="dis-1"/>
<severity value="error"/>
<human value="There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM."/>
<xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value=&#39;http://unitsofmeasure.org&#39;)"/>
</constraint>
<isModifier value="false"/>
</element>
</differential>
</StructureDefinition>

View File

@ -1,471 +1,338 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="DomainResource"/> <id value="DomainResource"/>
<meta> <meta>
<lastUpdated value="2015-11-11T10:54:01.813-05:00"/> <lastUpdated value="2015-11-11T10:54:01.813-05:00"/>
</meta> </meta>
<text> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<status value="generated"/> <valueInteger value="2"/>
<div xmlns="http://www.w3.org/1999/xhtml"> </extension>
<table border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 11px; font-family: verdana; vertical-align: top;"> <url value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
<tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"> <name value="DomainResource"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <status value="draft"/>
<a href="formats.html#table" title="The logical name of the element">Name</a> <publisher value="Health Level Seven International (FHIR Infrastructure)"/>
</th> <contact>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="Information about the use of the element">Flags</a> <system value="other"/>
</th> <value value="http://hl7.org/fhir"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> </contact>
</th> <contact>
<th style="width: 100px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="Reference to the type of the element">Type</a> <system value="other"/>
</th> <value value="http://www.hl7.org/Special/committees/fiwg/index.cfm"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Additional information about the element">Description &amp; Constraints</a> </contact>
<span style="float: right"> <date value="2015-11-11T10:54:01-05:00"/>
<a href="formats.html#table" title="Legend for this format"> <description value="Base StructureDefinition for DomainResource Resource"/>
<img src="help16.png" alt="doco" style="background-color: inherit"/> <fhirVersion value="1.0.2"/>
</a> <mapping>
</span> <identity value="rim"/>
</th> <uri value="http://hl7.org/v3"/>
</tr> <name value="RIM"/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> </mapping>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <kind value="resource"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> <abstract value="true"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJBSURBVDjLhdKxa5NBGMfx713yvkmbJnaoFiSF4mJTh06Kg4OgiyCCRXCof4YIdXdxFhQVHPo3OFSoUx0FySQttaVKYq2NbdO8ed/L3fM4JG3tYPvAcfBw9+HHPWdUlf/V0tLSqKo+EpEHInJFRIohhDUR+RBCeDM7O7ua55QSkRfVanVufHyckZERrLV0Op2Zra2tmXq9fg+YsmcAdyYnJykUCke9OI6ZmJgghHAZ4KwE3ntPs9mkVCohIjQaDWq1GiEEAM5KoHEcY62lVCrRarUoFotUKpUjIL/y/uqXYmV62ph/LSVrr30P4bEFcM4B0Ov1jk547/uAUTs1ceNdZIwB7V/GGHz6+9LXxY96eDiEgHMOY8xJAK8p4grZz5cElwNbwZgyxYu3EFM01lriOCZJEqIoIooiALIsGwA9Y1UcwcWoKNLdpLu9zvbnBWqNBhuvn5EDUmB0EH/1E2TZw5U+YLQovkun+Ytsaw1xCbnCOap334LC7s4Oe/ttvA+ICLmhMXRxDufczUECS37oAuevPwUEVFFp4/eXkXSdYc2IopSepnjtUh5/wg9gfn6+OQBUNaRIUkfDHhraSLoBKqikIF3yHJDLHaAkFOLciVHnyVAVj/S2Ub/XRyQD9aAZKgkaOohvo6ENgykcA07VEFDfQv1uf4W9Y8y30bCPhg4qKZJtMnjTPqBO/vhkZ7h3EJeRslWNQMqgY2jIAIfa/m5sIKSpqpPsGEiz599e3b+GchtD+bSvjQJm2SG6cNj6C+QmaxAek5tyAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <base value="http://hl7.org/fhir/StructureDefinition/Resource"/>
<span title="DomainResource : A resource that includes narrative, extensions, and contained resources.">DomainResource</span> <snapshot>
<a name="DomainResource"> </a> <element>
</td> <path value="DomainResource"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <short value="A resource with narrative, extensions, and contained resources"/>
<span title="This element has or is affected by some invariants">I</span> <definition value="A resource that includes narrative, extensions, and contained resources."/>
</td> <min value="0"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/> <max value="*"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <type>
<a href="resource.html">Resource</a> <code value="Resource"/>
</td> </type>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">A resource with narrative, extensions, and contained resources <constraint>
<br/> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<span style="font-style: italic" title="dom-2">If the resource is contained in another resource, it SHALL NOT contain nested Resources</span> <valueString value="contained.contained.empty"/>
<br/> </extension>
<span style="font-style: italic" title="dom-1">If the resource is contained in another resource, it SHALL NOT contain any narrative</span> <key value="dom-2"/>
<br/> <severity value="error"/>
<span style="font-style: italic" title="dom-4">If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated</span> <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
<br/> <xpath value="not(parent::f:contained and f:contained)"/>
<span style="font-style: italic" title="dom-3">If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource</span> </constraint>
</td> <constraint>
</tr> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<valueString value="contained.text.empty"/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> </extension>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <key value="dom-1"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> <severity value="error"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/> <human value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
<img src="data: image/png;base64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <xpath value="not(parent::f:contained and f:text)"/>
<span title="DomainResource.text : A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.">text</span> </constraint>
<a name="DomainResource.text"> </a> <constraint>
</td> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <valueString value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
<span title="This element has or is affected by some invariants">I</span> </extension>
</td> <key value="dom-4"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td> <severity value="error"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
<a href="narrative.html#Narrative">Narrative</a> <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
</td> </constraint>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Text summary of the resource, for human interpretation</td> <constraint>
</tr> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<valueString value="contained.all(&quot;#&quot;+id in **.reference)"/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> </extension>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <key value="dom-3"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> <severity value="error"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/> <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
<img src="data: image/png;base64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <xpath value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))"/>
<span title="DomainResource.contained : These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.">contained</span> </constraint>
<a name="DomainResource.contained"> </a> <mapping>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="resource.html#Resource">Resource</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Contained, inline Resources</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADdSURBVDjLY/j//z8DJZhhmBvw41KQ07dzbk5kG/Dtgu/Jb2fsT5JkwI+bqZw/rsfYA21v+XE97f+PS5H/vx5Ra/98QN7+824ZTiIMSJr580bW/x+3iv//etD9/+fdpv/fzwX+/3LY6P/n7TIzCRtwPYYZaPvGH7dKgAb0AA1o/v/tQsh/oO0bP26TZiYqDIB+1/1+wef/z3vN/3/erPr/5aAOyHZdogMRGPIe38/7gvz+Gej3z18OG/8H2u5BvAFn7GO/Htdv/3pAQejzXjkhoO3tH7dIxY7EpEwMBgAr6O5Q8udliwAAAABJRU5ErkJggg==" alt="." style="background-color: white; background-color: inherit" title="Extension" class="hierarchy"/>
<span title="DomainResource.extension : May be used to represent additional information that is not part of the basic definition of the resource. 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.">extension</span>
<a name="DomainResource.extension"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="extensibility.html#Extension">Extension</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Additional Content defined by implementations</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAI0lEQVR42u3QIQEAAAACIL/6/4MvTAQOkLYBAAB4kAAAANwMad9AqkRjgNAAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADdSURBVDjLY/j//z8DJZhhmBvw41KQ07dzbk5kG/Dtgu/Jb2fsT5JkwI+bqZw/rsfYA21v+XE97f+PS5H/vx5Ra/98QN7+824ZTiIMSJr580bW/x+3iv//etD9/+fdpv/fzwX+/3LY6P/n7TIzCRtwPYYZaPvGH7dKgAb0AA1o/v/tQsh/oO0bP26TZiYqDIB+1/1+wef/z3vN/3/erPr/5aAOyHZdogMRGPIe38/7gvz+Gej3z18OG/8H2u5BvAFn7GO/Htdv/3pAQejzXjkhoO3tH7dIxY7EpEwMBgAr6O5Q8udliwAAAABJRU5ErkJggg==" alt="." style="background-color: white; background-color: inherit" title="Extension" class="hierarchy"/>
<span title="DomainResource.modifierExtension : May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.">modifierExtension</span>
<a name="DomainResource.modifierExtension"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is a modifier element">?!</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="extensibility.html#Extension">Extension</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Extensions that cannot be ignored</td>
</tr>
<tr>
<td colspan="5" class="hierarchy">
<br/>
<a href="formats.html#table" title="Legend for this format">
<img src="help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format
</a>
</td>
</tr>
</table>
</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="2"/>
</extension>
<url value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
<name value="DomainResource"/>
<status value="draft"/>
<publisher value="Health Level Seven International (FHIR Infrastructure)"/>
<contact>
<telecom>
<system value="other"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<contact>
<telecom>
<system value="other"/>
<value value="http://www.hl7.org/Special/committees/fiwg/index.cfm"/>
</telecom>
</contact>
<date value="2015-11-11T10:54:01-05:00"/>
<description value="Base StructureDefinition for DomainResource Resource"/>
<fhirVersion value="1.0.2"/>
<mapping>
<identity value="rim"/> <identity value="rim"/>
<uri value="http://hl7.org/v3"/> <map value="Entity. Role, or Act"/>
<name value="RIM"/> </mapping>
</mapping> </element>
<kind value="resource"/> <element>
<abstract value="true"/> <path value="DomainResource.id"/>
<base value="http://hl7.org/fhir/StructureDefinition/Resource"/> <short value="Logical id of this artifact"/>
<snapshot> <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
<element> <comments value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID."/>
<path value="DomainResource"/> <min value="0"/>
<short value="A resource with narrative, extensions, and contained resources"/> <max value="1"/>
<definition value="A resource that includes narrative, extensions, and contained resources."/> <type>
<min value="0"/> <code value="id"/>
<max value="*"/> </type>
<type> <isSummary value="true"/>
<code value="Resource"/> </element>
</type> <element>
<constraint> <path value="DomainResource.meta"/>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> <short value="Metadata about the resource"/>
<valueString value="contained.contained.empty"/> <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
</extension> <min value="0"/>
<key value="dom-2"/> <max value="1"/>
<severity value="error"/> <type>
<human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/> <code value="Meta"/>
<xpath value="not(parent::f:contained and f:contained)"/> </type>
</constraint> <isSummary value="true"/>
<constraint> </element>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> <element>
<valueString value="contained.text.empty"/> <path value="DomainResource.implicitRules"/>
</extension> <short value="A set of rules under which this content was created"/>
<key value="dom-1"/> <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
<severity value="error"/> <comments value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible."/>
<human value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/> <min value="0"/>
<xpath value="not(parent::f:contained and f:text)"/> <max value="1"/>
</constraint> <type>
<constraint> <code value="uri"/>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> </type>
<valueString value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/> <isModifier value="true"/>
</extension> <isSummary value="true"/>
<key value="dom-4"/> </element>
<severity value="error"/> <element>
<human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/> <path value="DomainResource.language"/>
<xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/> <short value="Language of the resource content"/>
</constraint> <definition value="The base language in which the resource is written."/>
<constraint> <comments value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> <min value="0"/>
<valueString value="contained.all(&quot;#&quot;+id in **.reference)"/> <max value="1"/>
</extension> <type>
<key value="dom-3"/> <code value="code"/>
<severity value="error"/> </type>
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/> <binding>
<xpath value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat(&#39;#&#39;, $id))]))"/> <strength value="required"/>
</constraint> <description value="A human language."/>
<mapping> <valueSetUri value="http://tools.ietf.org/html/bcp47"/>
<identity value="rim"/> </binding>
<map value="Entity. Role, or Act"/> </element>
</mapping> <element>
</element> <path value="DomainResource.text"/>
<element> <short value="Text summary of the resource, for human interpretation"/>
<path value="DomainResource.id"/> <definition value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
<short value="Logical id of this artifact"/> <comments value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."/>
<definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/> <alias value="narrative"/>
<comments value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID."/> <alias value="html"/>
<min value="0"/> <alias value="xhtml"/>
<max value="1"/> <alias value="display"/>
<type> <min value="0"/>
<code value="id"/> <max value="1"/>
</type> <type>
<isSummary value="true"/> <code value="Narrative"/>
</element> </type>
<element> <condition value="dom-1"/>
<path value="DomainResource.meta"/> <mapping>
<short value="Metadata about the resource"/> <identity value="rim"/>
<definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/> <map value="Act.text?"/>
<min value="0"/> </mapping>
<max value="1"/> </element>
<type> <element>
<code value="Meta"/> <path value="DomainResource.contained"/>
</type> <short value="Contained, inline Resources"/>
<isSummary value="true"/> <definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/>
</element> <comments value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
<element> <alias value="inline resources"/>
<path value="DomainResource.implicitRules"/> <alias value="anonymous resources"/>
<short value="A set of rules under which this content was created"/> <alias value="contained resources"/>
<definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/> <min value="0"/>
<comments value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible."/> <max value="*"/>
<min value="0"/> <type>
<max value="1"/> <code value="Resource"/>
<type> </type>
<code value="uri"/> <mapping>
</type> <identity value="rim"/>
<isModifier value="true"/> <map value="N/A"/>
<isSummary value="true"/> </mapping>
</element> </element>
<element> <element>
<path value="DomainResource.language"/> <path value="DomainResource.extension"/>
<short value="Language of the resource content"/> <short value="Additional Content defined by implementations"/>
<definition value="The base language in which the resource is written."/> <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/> <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."/>
<min value="0"/> <alias value="extensions"/>
<max value="1"/> <alias value="user content"/>
<type> <min value="0"/>
<code value="code"/> <max value="*"/>
</type> <type>
<binding> <code value="Extension"/>
<strength value="required"/> </type>
<description value="A human language."/> <mapping>
<valueSetUri value="http://tools.ietf.org/html/bcp47"/> <identity value="rim"/>
</binding> <map value="N/A"/>
</element> </mapping>
<element> </element>
<path value="DomainResource.text"/> <element>
<short value="Text summary of the resource, for human interpretation"/> <path value="DomainResource.modifierExtension"/>
<definition value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/> <short value="Extensions that cannot be ignored"/>
<comments value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."/> <definition value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions."/>
<alias value="narrative"/> <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="html"/> <alias value="extensions"/>
<alias value="xhtml"/> <alias value="user content"/>
<alias value="display"/> <min value="0"/>
<min value="0"/> <max value="*"/>
<max value="1"/> <type>
<type> <code value="Extension"/>
<code value="Narrative"/> </type>
</type> <isModifier value="true"/>
<condition value="dom-1"/> <mapping>
<mapping> <identity value="rim"/>
<identity value="rim"/> <map value="N/A"/>
<map value="Act.text?"/> </mapping>
</mapping> </element>
</element> </snapshot>
<element> <differential>
<path value="DomainResource.contained"/> <element>
<short value="Contained, inline Resources"/> <path value="DomainResource"/>
<definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/> <short value="A resource with narrative, extensions, and contained resources"/>
<comments value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/> <definition value="A resource that includes narrative, extensions, and contained resources."/>
<alias value="inline resources"/> <min value="0"/>
<alias value="anonymous resources"/> <max value="*"/>
<alias value="contained resources"/> <type>
<min value="0"/> <code value="Resource"/>
<max value="*"/> </type>
<type> <constraint>
<code value="Resource"/> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
</type> <valueString value="contained.contained.empty"/>
<mapping> </extension>
<identity value="rim"/> <key value="dom-2"/>
<map value="N/A"/> <severity value="error"/>
</mapping> <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
</element> <xpath value="not(parent::f:contained and f:contained)"/>
<element> </constraint>
<path value="DomainResource.extension"/> <constraint>
<short value="Additional Content defined by implementations"/> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/> <valueString value="contained.text.empty"/>
<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."/> </extension>
<alias value="extensions"/> <key value="dom-1"/>
<alias value="user content"/> <severity value="error"/>
<min value="0"/> <human value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
<max value="*"/> <xpath value="not(parent::f:contained and f:text)"/>
<type> </constraint>
<code value="Extension"/> <constraint>
</type> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<mapping> <valueString value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
<identity value="rim"/> </extension>
<map value="N/A"/> <key value="dom-4"/>
</mapping> <severity value="error"/>
</element> <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
<element> <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
<path value="DomainResource.modifierExtension"/> </constraint>
<short value="Extensions that cannot be ignored"/> <constraint>
<definition value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions."/> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<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."/> <valueString value="contained.all(&quot;#&quot;+id in **.reference)"/>
<alias value="extensions"/> </extension>
<alias value="user content"/> <key value="dom-3"/>
<min value="0"/> <severity value="error"/>
<max value="*"/> <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
<type> <xpath value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))"/>
<code value="Extension"/> </constraint>
</type> <mapping>
<isModifier value="true"/> <identity value="rim"/>
<mapping> <map value="Entity. Role, or Act"/>
<identity value="rim"/> </mapping>
<map value="N/A"/> </element>
</mapping> <element>
</element> <path value="DomainResource.text"/>
</snapshot> <short value="Text summary of the resource, for human interpretation"/>
<differential> <definition value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
<element> <comments value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."/>
<path value="DomainResource"/> <alias value="narrative"/>
<short value="A resource with narrative, extensions, and contained resources"/> <alias value="html"/>
<definition value="A resource that includes narrative, extensions, and contained resources."/> <alias value="xhtml"/>
<min value="0"/> <alias value="display"/>
<max value="*"/> <min value="0"/>
<type> <max value="1"/>
<code value="Resource"/> <type>
</type> <code value="Narrative"/>
<constraint> </type>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> <condition value="dom-1"/>
<valueString value="contained.contained.empty"/> <mapping>
</extension> <identity value="rim"/>
<key value="dom-2"/> <map value="Act.text?"/>
<severity value="error"/> </mapping>
<human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/> </element>
<xpath value="not(parent::f:contained and f:contained)"/> <element>
</constraint> <path value="DomainResource.contained"/>
<constraint> <short value="Contained, inline Resources"/>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> <definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/>
<valueString value="contained.text.empty"/> <comments value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
</extension> <alias value="inline resources"/>
<key value="dom-1"/> <alias value="anonymous resources"/>
<severity value="error"/> <alias value="contained resources"/>
<human value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/> <min value="0"/>
<xpath value="not(parent::f:contained and f:text)"/> <max value="*"/>
</constraint> <type>
<constraint> <code value="Resource"/>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> </type>
<valueString value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/> <mapping>
</extension> <identity value="rim"/>
<key value="dom-4"/> <map value="N/A"/>
<severity value="error"/> </mapping>
<human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/> </element>
<xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/> <element>
</constraint> <path value="DomainResource.extension"/>
<constraint> <short value="Additional Content defined by implementations"/>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/>
<valueString value="contained.all(&quot;#&quot;+id in **.reference)"/> <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."/>
</extension> <alias value="extensions"/>
<key value="dom-3"/> <alias value="user content"/>
<severity value="error"/> <min value="0"/>
<human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/> <max value="*"/>
<xpath value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat(&#39;#&#39;, $id))]))"/> <type>
</constraint> <code value="Extension"/>
<mapping> </type>
<identity value="rim"/> <mapping>
<map value="Entity. Role, or Act"/> <identity value="rim"/>
</mapping> <map value="N/A"/>
</element> </mapping>
<element> </element>
<path value="DomainResource.text"/> <element>
<short value="Text summary of the resource, for human interpretation"/> <path value="DomainResource.modifierExtension"/>
<definition value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/> <short value="Extensions that cannot be ignored"/>
<comments value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."/> <definition value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions."/>
<alias value="narrative"/> <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="html"/> <alias value="extensions"/>
<alias value="xhtml"/> <alias value="user content"/>
<alias value="display"/> <min value="0"/>
<min value="0"/> <max value="*"/>
<max value="1"/> <type>
<type> <code value="Extension"/>
<code value="Narrative"/> </type>
</type> <isModifier value="true"/>
<condition value="dom-1"/> <mapping>
<mapping> <identity value="rim"/>
<identity value="rim"/> <map value="N/A"/>
<map value="Act.text?"/> </mapping>
</mapping> </element>
</element> </differential>
<element> </StructureDefinition>
<path value="DomainResource.contained"/>
<short value="Contained, inline Resources"/>
<definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/>
<comments value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
<alias value="inline resources"/>
<alias value="anonymous resources"/>
<alias value="contained resources"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="Resource"/>
</type>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element>
<path value="DomainResource.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 resource. 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>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element>
<path value="DomainResource.modifierExtension"/>
<short value="Extensions that cannot be ignored"/>
<definition value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions."/>
<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>
<isModifier value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
</differential>
</StructureDefinition>

View File

@ -1,278 +1,263 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Duration"/> <id value="Duration"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/Duration"/>
<status value="generated"/> <name value="Duration"/>
<div xmlns="http://www.w3.org/1999/xhtml"> <status value="draft"/>
<h2>Data type Duration</h2> <publisher value="HL7 FHIR Standard"/>
<p>A length of time</p> <contact>
<h3>Rule</h3> <telecom>
<p>There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.</p> <system value="other"/>
<p>XPath:</p> <value value="http://hl7.org/fhir"/>
<blockquote> </telecom>
<pre>(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value=&#39;http://unitsofmeasure.org&#39;)</pre> </contact>
</blockquote> <date value="2015-11-11T10:54:01-05:00"/>
</div> <description value="A length of time"/>
</text> <fhirVersion value="1.0.2"/>
<url value="http://hl7.org/fhir/StructureDefinition/Duration"/> <kind value="datatype"/>
<name value="Duration"/> <constrainedType value="Quantity"/>
<status value="draft"/> <abstract value="false"/>
<publisher value="HL7 FHIR Standard"/> <base value="http://hl7.org/fhir/StructureDefinition/Quantity"/>
<contact> <snapshot>
<telecom> <element>
<system value="other"/> <path value="Quantity"/>
<value value="http://hl7.org/fhir"/> <name value="Duration"/>
</telecom> <short value="A length of time"/>
</contact> <definition value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM."/>
<date value="2015-11-11T10:54:01-05:00"/> <comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."/>
<description value="A length of time"/> <min value="0"/>
<fhirVersion value="1.0.2"/> <max value="*"/>
<kind value="datatype"/> <base>
<constrainedType value="Quantity"/> <path value="Quantity"/>
<abstract value="false"/> <min value="0"/>
<base value="http://hl7.org/fhir/StructureDefinition/Quantity"/> <max value="*"/>
<snapshot> </base>
<element> <type>
<path value="Quantity"/> <code value="Quantity"/>
<name value="Duration"/> </type>
<short value="A length of time"/> <constraint>
<definition value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM."/> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."/> <valueString value="code.empty() or system"/>
<min value="0"/> </extension>
<max value="*"/> <key value="qty-3"/>
<base> <severity value="error"/>
<path value="Quantity"/> <human value="If a code for the unit is present, the system SHALL also be present"/>
<min value="0"/> <xpath value="not(exists(f:code)) or exists(f:system)"/>
<max value="*"/> </constraint>
</base> <constraint>
<type> <key value="drt-1"/>
<code value="Quantity"/> <severity value="error"/>
</type> <human value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM."/>
<constraint> <xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org')"/>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> </constraint>
<valueString value="code.empty() or system"/> <isSummary value="true"/>
</extension> <mapping>
<key value="qty-3"/> <identity value="v2"/>
<severity value="error"/> <map value="SN (see also Range) or CQ"/>
<human value="If a code for the unit is present, the system SHALL also be present"/> </mapping>
<xpath value="not(exists(f:code)) or exists(f:system)"/> <mapping>
</constraint> <identity value="rim"/>
<constraint> <map value="PQ, IVL&lt;PQ>, MO, CO, depending on the values"/>
<key value="drt-1"/> </mapping>
<severity value="error"/> </element>
<human value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM."/> <element>
<xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value=&#39;http://unitsofmeasure.org&#39;)"/> <path value="Quantity.id"/>
</constraint> <representation value="xmlAttr"/>
<isSummary value="true"/> <short value="xml:id (or equivalent in JSON)"/>
<mapping> <definition value="unique id for the element within a resource (for internal references)."/>
<identity value="v2"/> <min value="0"/>
<map value="SN (see also Range) or CQ"/> <max value="1"/>
</mapping> <base>
<mapping> <path value="Quantity.id"/>
<identity value="rim"/> <min value="0"/>
<map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values"/> <max value="1"/>
</mapping> </base>
</element> <type>
<element> <code value="id"/>
<path value="Quantity.id"/> </type>
<representation value="xmlAttr"/> <mapping>
<short value="xml:id (or equivalent in JSON)"/> <identity value="rim"/>
<definition value="unique id for the element within a resource (for internal references)."/> <map value="n/a"/>
<min value="0"/> </mapping>
<max value="1"/> </element>
<base> <element>
<path value="Quantity.id"/> <path value="Quantity.extension"/>
<min value="0"/> <short value="Additional Content defined by implementations"/>
<max value="1"/> <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."/>
</base> <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."/>
<type> <alias value="extensions"/>
<code value="id"/> <alias value="user content"/>
</type> <min value="0"/>
<mapping> <max value="*"/>
<identity value="rim"/> <base>
<map value="n/a"/> <path value="Quantity.extension"/>
</mapping> <min value="0"/>
</element> <max value="*"/>
<element> </base>
<path value="Quantity.extension"/> <type>
<short value="Additional Content defined by implementations"/> <code value="Extension"/>
<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."/> </type>
<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."/> <mapping>
<alias value="extensions"/> <identity value="rim"/>
<alias value="user content"/> <map value="n/a"/>
<min value="0"/> </mapping>
<max value="*"/> </element>
<base> <element>
<path value="Quantity.extension"/> <path value="Quantity.value"/>
<min value="0"/> <short value="Numerical value (with implicit precision)"/>
<max value="*"/> <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
</base> <comments value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
<type> <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
<code value="Extension"/> <min value="0"/>
</type> <max value="1"/>
<mapping> <base>
<identity value="rim"/> <path value="Quantity.value"/>
<map value="n/a"/> <min value="0"/>
</mapping> <max value="1"/>
</element> </base>
<element> <type>
<path value="Quantity.value"/> <code value="decimal"/>
<short value="Numerical value (with implicit precision)"/> </type>
<definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/> <isSummary value="true"/>
<comments value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/> <mapping>
<requirements value="Precision is handled implicitly in almost all cases of measurement."/> <identity value="v2"/>
<min value="0"/> <map value="SN.2 / CQ - N/A"/>
<max value="1"/> </mapping>
<base> <mapping>
<path value="Quantity.value"/> <identity value="rim"/>
<min value="0"/> <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
<max value="1"/> </mapping>
</base> </element>
<type> <element>
<code value="decimal"/> <path value="Quantity.comparator"/>
</type> <short value="&lt; | &lt;= | >= | > - how to understand the value"/>
<isSummary value="true"/> <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
<mapping> <comments value="This is labeled as &quot;Is Modifier&quot; because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value."/>
<identity value="v2"/> <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or >400mg/L due to the limitations of measuring methodology."/>
<map value="SN.2 / CQ - N/A"/> <min value="0"/>
</mapping> <max value="1"/>
<mapping> <base>
<identity value="rim"/> <path value="Quantity.comparator"/>
<map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/> <min value="0"/>
</mapping> <max value="1"/>
</element> </base>
<element> <type>
<path value="Quantity.comparator"/> <code value="code"/>
<short value="&lt; | &lt;= | &gt;= | &gt; - how to understand the value"/> </type>
<definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/> <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
<comments value="This is labeled as &quot;Is Modifier&quot; because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value."/> <isModifier value="true"/>
<requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/> <isSummary value="true"/>
<min value="0"/> <binding>
<max value="1"/> <strength value="required"/>
<base> <description value="How the Quantity should be understood and represented."/>
<path value="Quantity.comparator"/> <valueSetReference>
<min value="0"/> <reference value="http://hl7.org/fhir/ValueSet/quantity-comparator"/>
<max value="1"/> </valueSetReference>
</base> </binding>
<type> <mapping>
<code value="code"/> <identity value="v2"/>
</type> <map value="SN.1 / CQ.1"/>
<meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/> </mapping>
<isModifier value="true"/> <mapping>
<isSummary value="true"/> <identity value="rim"/>
<binding> <map value="IVL properties"/>
<strength value="required"/> </mapping>
<description value="How the Quantity should be understood and represented."/> </element>
<valueSetReference> <element>
<reference value="http://hl7.org/fhir/ValueSet/quantity-comparator"/> <path value="Quantity.unit"/>
</valueSetReference> <short value="Unit representation"/>
</binding> <definition value="A human-readable form of the unit."/>
<mapping> <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
<identity value="v2"/> <min value="0"/>
<map value="SN.1 / CQ.1"/> <max value="1"/>
</mapping> <base>
<mapping> <path value="Quantity.unit"/>
<identity value="rim"/> <min value="0"/>
<map value="IVL properties"/> <max value="1"/>
</mapping> </base>
</element> <type>
<element> <code value="string"/>
<path value="Quantity.unit"/> </type>
<short value="Unit representation"/> <isSummary value="true"/>
<definition value="A human-readable form of the unit."/> <mapping>
<requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/> <identity value="v2"/>
<min value="0"/> <map value="(see OBX.6 etc.) / CQ.2"/>
<max value="1"/> </mapping>
<base> <mapping>
<path value="Quantity.unit"/> <identity value="rim"/>
<min value="0"/> <map value="PQ.unit"/>
<max value="1"/> </mapping>
</base> </element>
<type> <element>
<code value="string"/> <path value="Quantity.system"/>
</type> <short value="System that defines coded unit form"/>
<isSummary value="true"/> <definition value="The identification of the system that provides the coded form of the unit."/>
<mapping> <requirements value="Need to know the system that defines the coded form of the unit."/>
<identity value="v2"/> <min value="0"/>
<map value="(see OBX.6 etc.) / CQ.2"/> <max value="1"/>
</mapping> <base>
<mapping> <path value="Quantity.system"/>
<identity value="rim"/> <min value="0"/>
<map value="PQ.unit"/> <max value="1"/>
</mapping> </base>
</element> <type>
<element> <code value="uri"/>
<path value="Quantity.system"/> </type>
<short value="System that defines coded unit form"/> <condition value="qty-3"/>
<definition value="The identification of the system that provides the coded form of the unit."/> <isSummary value="true"/>
<requirements value="Need to know the system that defines the coded form of the unit."/> <mapping>
<min value="0"/> <identity value="v2"/>
<max value="1"/> <map value="(see OBX.6 etc.) / CQ.2"/>
<base> </mapping>
<path value="Quantity.system"/> <mapping>
<min value="0"/> <identity value="rim"/>
<max value="1"/> <map value="CO.codeSystem, PQ.translation.codeSystem"/>
</base> </mapping>
<type> </element>
<code value="uri"/> <element>
</type> <path value="Quantity.code"/>
<condition value="qty-3"/> <short value="Coded form of the unit"/>
<isSummary value="true"/> <definition value="A computer processable form of the unit in some unit representation system."/>
<mapping> <comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."/>
<identity value="v2"/> <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
<map value="(see OBX.6 etc.) / CQ.2"/> <min value="0"/>
</mapping> <max value="1"/>
<mapping> <base>
<identity value="rim"/> <path value="Quantity.code"/>
<map value="CO.codeSystem, PQ.translation.codeSystem"/> <min value="0"/>
</mapping> <max value="1"/>
</element> </base>
<element> <type>
<path value="Quantity.code"/> <code value="code"/>
<short value="Coded form of the unit"/> </type>
<definition value="A computer processable form of the unit in some unit representation system."/> <isSummary value="true"/>
<comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."/> <mapping>
<requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/> <identity value="v2"/>
<min value="0"/> <map value="(see OBX.6 etc.) / CQ.2"/>
<max value="1"/> </mapping>
<base> <mapping>
<path value="Quantity.code"/> <identity value="rim"/>
<min value="0"/> <map value="PQ.code, MO.currency, PQ.translation.code"/>
<max value="1"/> </mapping>
</base> </element>
<type> </snapshot>
<code value="code"/> <differential>
</type> <element>
<isSummary value="true"/> <path value="Quantity"/>
<mapping> <name value="Duration"/>
<identity value="v2"/> <short value="A length of time"/>
<map value="(see OBX.6 etc.) / CQ.2"/> <definition value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM."/>
</mapping> <min value="0"/>
<mapping> <max value="*"/>
<identity value="rim"/> <type>
<map value="PQ.code, MO.currency, PQ.translation.code"/> <code value="Quantity"/>
</mapping> </type>
</element> <constraint>
</snapshot> <key value="drt-1"/>
<differential> <severity value="error"/>
<element> <human value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM."/>
<path value="Quantity"/> <xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org')"/>
<name value="Duration"/> </constraint>
<short value="A length of time"/> <isModifier value="false"/>
<definition value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM."/> </element>
<min value="0"/> </differential>
<max value="*"/> </StructureDefinition>
<type>
<code value="Quantity"/>
</type>
<constraint>
<key value="drt-1"/>
<severity value="error"/>
<human value="There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM."/>
<xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value=&#39;http://unitsofmeasure.org&#39;)"/>
</constraint>
<isModifier value="false"/>
</element>
</differential>
</StructureDefinition>

View File

@ -1,224 +1,133 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Element"/> <id value="Element"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/Element"/>
<status value="generated"/> <name value="Element"/>
<div xmlns="http://www.w3.org/1999/xhtml"> <status value="draft"/>
<table border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 11px; font-family: verdana; vertical-align: top;"> <publisher value="HL7 FHIR Standard"/>
<tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"> <contact>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="The logical name of the element">Name</a> <system value="other"/>
</th> <value value="http://hl7.org/fhir"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Information about the use of the element">Flags</a> </contact>
</th> <date value="2015-11-11T10:54:01-05:00"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <description value="Base StructureDefinition for Element Type"/>
<a href="formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> <fhirVersion value="1.0.2"/>
</th> <mapping>
<th style="width: 100px" class="hierarchy"> <identity value="rim"/>
<a href="formats.html#table" title="Reference to the type of the element">Type</a> <uri value="http://hl7.org/v3"/>
</th> <name value="RIM"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </mapping>
<a href="formats.html#table" title="Additional information about the element">Description &amp; Constraints</a> <kind value="datatype"/>
<span style="float: right"> <abstract value="true"/>
<a href="formats.html#table" title="Legend for this format"> <snapshot>
<img src="help16.png" alt="doco" style="background-color: inherit"/> <element>
</a> <path value="Element"/>
</span> <short value="Base for all elements"/>
</th> <definition value="Base definition for all elements in a resource."/>
</tr> <min value="0"/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <max value="*"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <condition value="ele-1"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> <constraint>
<img src="data: image/png;base64,R0lGODlhEAAQAMQfAOvGUf7ztuvPMf/78/fkl/Pbg+u8Rvjqteu2Pf3zxPz36Pz0z+vTmPzurPvuw/npofbjquvNefHVduuyN+uuMu3Oafbgjfnqvf/3zv/3xevPi+vRjP/20/bmsP///////yH5BAEAAB8ALAAAAAAQABAAAAV24CeOZGmepqeqqOgxjBZFa+19r4ftWQUAgqDgltthMshMIJAZ4jYDHsBARSAmFOJvq+g6HIdEFgcYmBWNxoNAsDjGHgBnmV5bCoUDHLBIq9sFEhIdcAYJdYASFRUQhQkLCwkOFwcdEBAXhVabE52ecDahKy0oIQA7" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<a href="element-definitions.html#Element" title="Element : Base definition for all elements in a resource.">Element</a> <valueString value="*"/>
<a name="Element"> </a> </extension>
</td> <key value="ele-1"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <severity value="error"/>
<span title="This element has or is affected by some invariants">I</span> <human value="All FHIR elements must have a @value or children"/>
</td> <xpath value="@value|f:*|h:div"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"></td> </constraint>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <mapping>
<a href="element.html">Element</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Base for all elements
<br/>
<span style="font-style: italic" title="ele-1">All FHIR elements must have a @value or children</span>
</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="element-definitions.html#Element.id" title="Element.id : unique id for the element within a resource (for internal references).">id</a>
<a name="Element.id"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#id">id</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">xml:id (or equivalent in JSON)</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAI0lEQVR42u3QIQEAAAACIL/6/4MvTAQOkLYBAAB4kAAAANwMad9AqkRjgNAAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADdSURBVDjLY/j//z8DJZhhmBvw41KQ07dzbk5kG/Dtgu/Jb2fsT5JkwI+bqZw/rsfYA21v+XE97f+PS5H/vx5Ra/98QN7+824ZTiIMSJr580bW/x+3iv//etD9/+fdpv/fzwX+/3LY6P/n7TIzCRtwPYYZaPvGH7dKgAb0AA1o/v/tQsh/oO0bP26TZiYqDIB+1/1+wef/z3vN/3/erPr/5aAOyHZdogMRGPIe38/7gvz+Gej3z18OG/8H2u5BvAFn7GO/Htdv/3pAQejzXjkhoO3tH7dIxY7EpEwMBgAr6O5Q8udliwAAAABJRU5ErkJggg==" alt="." style="background-color: white; background-color: inherit" title="Extension" class="hierarchy"/>
<a href="element-definitions.html#Element.extension" title="Element.extension : 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.">extension</a>
<a name="Element.extension"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="extensibility.html#Extension">Extension</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Additional Content defined by implementations</td>
</tr>
<tr>
<td colspan="5" class="hierarchy">
<br/>
<a href="formats.html#table" title="Legend for this format">
<img src="help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format
</a>
</td>
</tr>
</table>
</div>
</text>
<url value="http://hl7.org/fhir/StructureDefinition/Element"/>
<name value="Element"/>
<status value="draft"/>
<publisher value="HL7 FHIR Standard"/>
<contact>
<telecom>
<system value="other"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<date value="2015-11-11T10:54:01-05:00"/>
<description value="Base StructureDefinition for Element Type"/>
<fhirVersion value="1.0.2"/>
<mapping>
<identity value="rim"/> <identity value="rim"/>
<uri value="http://hl7.org/v3"/> <map value="n/a"/>
<name value="RIM"/> </mapping>
</mapping> </element>
<kind value="datatype"/> <element>
<abstract value="true"/> <path value="Element.id"/>
<snapshot> <representation value="xmlAttr"/>
<element> <short value="xml:id (or equivalent in JSON)"/>
<path value="Element"/> <definition value="unique id for the element within a resource (for internal references)."/>
<short value="Base for all elements"/> <min value="0"/>
<definition value="Base definition for all elements in a resource."/> <max value="1"/>
<min value="0"/> <type>
<max value="*"/> <code value="id"/>
<condition value="ele-1"/> </type>
<constraint> <mapping>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> <identity value="rim"/>
<valueString value="*"/> <map value="n/a"/>
</extension> </mapping>
<key value="ele-1"/> </element>
<severity value="error"/> <element>
<human value="All FHIR elements must have a @value or children"/> <path value="Element.extension"/>
<xpath value="@value|f:*|h:div"/> <short value="Additional Content defined by implementations"/>
</constraint> <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."/>
<mapping> <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."/>
<identity value="rim"/> <alias value="extensions"/>
<map value="n/a"/> <alias value="user content"/>
</mapping> <min value="0"/>
</element> <max value="*"/>
<element> <type>
<path value="Element.id"/> <code value="Extension"/>
<representation value="xmlAttr"/> </type>
<short value="xml:id (or equivalent in JSON)"/> <mapping>
<definition value="unique id for the element within a resource (for internal references)."/> <identity value="rim"/>
<min value="0"/> <map value="n/a"/>
<max value="1"/> </mapping>
<type> </element>
<code value="id"/> </snapshot>
</type> <differential>
<mapping> <element>
<identity value="rim"/> <path value="Element"/>
<map value="n/a"/> <short value="Base for all elements"/>
</mapping> <definition value="Base definition for all elements in a resource."/>
</element> <min value="0"/>
<element> <max value="*"/>
<path value="Element.extension"/> <condition value="ele-1"/>
<short value="Additional Content defined by implementations"/> <constraint>
<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."/> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression">
<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."/> <valueString value="*"/>
<alias value="extensions"/> </extension>
<alias value="user content"/> <key value="ele-1"/>
<min value="0"/> <severity value="error"/>
<max value="*"/> <human value="All FHIR elements must have a @value or children"/>
<type> <xpath value="@value|f:*|h:div"/>
<code value="Extension"/> </constraint>
</type> <mapping>
<mapping> <identity value="rim"/>
<identity value="rim"/> <map value="n/a"/>
<map value="n/a"/> </mapping>
</mapping> </element>
</element> <element>
</snapshot> <path value="Element.id"/>
<differential> <representation value="xmlAttr"/>
<element> <short value="xml:id (or equivalent in JSON)"/>
<path value="Element"/> <definition value="unique id for the element within a resource (for internal references)."/>
<short value="Base for all elements"/> <min value="0"/>
<definition value="Base definition for all elements in a resource."/> <max value="1"/>
<min value="0"/> <type>
<max value="*"/> <code value="id"/>
<condition value="ele-1"/> </type>
<constraint> <mapping>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-expression"> <identity value="rim"/>
<valueString value="*"/> <map value="n/a"/>
</extension> </mapping>
<key value="ele-1"/> </element>
<severity value="error"/> <element>
<human value="All FHIR elements must have a @value or children"/> <path value="Element.extension"/>
<xpath value="@value|f:*|h:div"/> <short value="Additional Content defined by implementations"/>
</constraint> <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."/>
<mapping> <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."/>
<identity value="rim"/> <alias value="extensions"/>
<map value="n/a"/> <alias value="user content"/>
</mapping> <min value="0"/>
</element> <max value="*"/>
<element> <type>
<path value="Element.id"/> <code value="Extension"/>
<representation value="xmlAttr"/> </type>
<short value="xml:id (or equivalent in JSON)"/> <mapping>
<definition value="unique id for the element within a resource (for internal references)."/> <identity value="rim"/>
<min value="0"/> <map value="n/a"/>
<max value="1"/> </mapping>
<type> </element>
<code value="id"/> </differential>
</type> </StructureDefinition>
<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>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
</differential>
</StructureDefinition>

View File

@ -1,596 +1,403 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="EligibilityRequest"/> <id value="EligibilityRequest"/>
<meta> <meta>
<lastUpdated value="2015-11-11T10:54:01.813-05:00"/> <lastUpdated value="2015-11-11T10:54:01.813-05:00"/>
</meta> </meta>
<text> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<status value="generated"/> <valueInteger value="0"/>
<div xmlns="http://www.w3.org/1999/xhtml"> </extension>
<table border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 11px; font-family: verdana; vertical-align: top;"> <url value="http://hl7.org/fhir/StructureDefinition/EligibilityRequest"/>
<tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"> <name value="EligibilityRequest"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <status value="draft"/>
<a href="formats.html#table" title="The logical name of the element">Name</a> <publisher value="Health Level Seven International (Financial Management)"/>
</th> <contact>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="Information about the use of the element">Flags</a> <system value="other"/>
</th> <value value="http://hl7.org/fhir"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> </contact>
</th> <contact>
<th style="width: 100px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="Reference to the type of the element">Type</a> <system value="other"/>
</th> <value value="http://www.hl7.org/Special/committees/fm/index.cfm"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Additional information about the element">Description &amp; Constraints</a> </contact>
<span style="float: right"> <date value="2015-11-11T10:54:01-05:00"/>
<a href="formats.html#table" title="Legend for this format"> <description value="Base StructureDefinition for EligibilityRequest Resource"/>
<img src="help16.png" alt="doco" style="background-color: inherit"/> <fhirVersion value="1.0.2"/>
</a> <mapping>
</span> <identity value="w5"/>
</th> <uri value="http://hl7.org/fhir/w5"/>
</tr> <name value="W5 Mapping"/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> </mapping>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <mapping>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> <identity value="cdanetv4"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJBSURBVDjLhdKxa5NBGMfx713yvkmbJnaoFiSF4mJTh06Kg4OgiyCCRXCof4YIdXdxFhQVHPo3OFSoUx0FySQttaVKYq2NbdO8ed/L3fM4JG3tYPvAcfBw9+HHPWdUlf/V0tLSqKo+EpEHInJFRIohhDUR+RBCeDM7O7ua55QSkRfVanVufHyckZERrLV0Op2Zra2tmXq9fg+YsmcAdyYnJykUCke9OI6ZmJgghHAZ4KwE3ntPs9mkVCohIjQaDWq1GiEEAM5KoHEcY62lVCrRarUoFotUKpUjIL/y/uqXYmV62ph/LSVrr30P4bEFcM4B0Ov1jk547/uAUTs1ceNdZIwB7V/GGHz6+9LXxY96eDiEgHMOY8xJAK8p4grZz5cElwNbwZgyxYu3EFM01lriOCZJEqIoIooiALIsGwA9Y1UcwcWoKNLdpLu9zvbnBWqNBhuvn5EDUmB0EH/1E2TZw5U+YLQovkun+Ytsaw1xCbnCOap334LC7s4Oe/ttvA+ICLmhMXRxDufczUECS37oAuevPwUEVFFp4/eXkXSdYc2IopSepnjtUh5/wg9gfn6+OQBUNaRIUkfDHhraSLoBKqikIF3yHJDLHaAkFOLciVHnyVAVj/S2Ub/XRyQD9aAZKgkaOohvo6ENgykcA07VEFDfQv1uf4W9Y8y30bCPhg4qKZJtMnjTPqBO/vhkZ7h3EJeRslWNQMqgY2jIAIfa/m5sIKSpqpPsGEiz599e3b+GchtD+bSvjQJm2SG6cNj6C+QmaxAek5tyAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <uri value="http://www.cda-adc.ca/en/services/cdanet/"/>
<span title="EligibilityRequest : This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service.">EligibilityRequest</span> <name value="Canadian Dental Association eclaims standard"/>
<a name="EligibilityRequest"> </a> </mapping>
</td> <mapping>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <identity value="rim"/>
<span title="This element is included in summaries">Σ</span> <uri value="http://hl7.org/v3"/>
</td> <name value="RIM"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/> </mapping>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <kind value="resource"/>
<a href="domainresource.html">DomainResource</a> <abstract value="false"/>
</td> <base value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Eligibility request</td> <snapshot>
</tr> <element>
<path value="EligibilityRequest"/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <short value="Eligibility request"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <definition value="This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service."/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> <min value="0"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/> <max value="*"/>
<img src="data: image/png;base64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <type>
<span title="EligibilityRequest.identifier : The Response business identifier.">identifier</span> <code value="DomainResource"/>
<a name="EligibilityRequest.identifier"> </a> </type>
</td> <isSummary value="true"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <mapping>
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#Identifier">Identifier</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Business Identifier</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/>
<span title="EligibilityRequest.ruleset : The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.">ruleset</span>
<a name="EligibilityRequest.ruleset"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#Coding">Coding</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Resource version
<br/>
<a href="valueset-ruleset.html" title="The static and dynamic model to which contents conform, which may be business version or standard/version.">Ruleset Codes</a> (
<a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.">Example</a>)
</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/>
<span title="EligibilityRequest.originalRuleset : The style (standard) and version of the original material which was converted into this resource.">originalRuleset</span>
<a name="EligibilityRequest.originalRuleset"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#Coding">Coding</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Original version
<br/>
<a href="valueset-ruleset.html" title="The static and dynamic model to which contents conform, which may be business version or standard/version.">Ruleset Codes</a> (
<a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.">Example</a>)
</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<span title="EligibilityRequest.created : The date when this resource was created.">created</span>
<a name="EligibilityRequest.created"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#dateTime">dateTime</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Creation date</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/>
<span title="EligibilityRequest.target : The Insurer who is target of the request.">target</span>
<a name="EligibilityRequest.target"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="references.html">Reference</a>(
<a href="organization.html">Organization</a>)
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Insurer</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/>
<span title="EligibilityRequest.provider : The practitioner who is responsible for the services rendered to the patient.">provider</span>
<a name="EligibilityRequest.provider"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="references.html">Reference</a>(
<a href="practitioner.html">Practitioner</a>)
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Responsible practitioner</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAI0lEQVR42u3QIQEAAAACIL/6/4MvTAQOkLYBAAB4kAAAANwMad9AqkRjgNAAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAFxJREFUOE/NjEEOACEIA/0o/38GGw+agoXYeNnDJDCUDnd/gkoFKhWozJiZI3gLwY6rAgxhsPKTPUzycTl8lAryMyMsVQG6TFi6cHULyz8KOjC7OIQKlQpU3uPjAwhX2CCcGsgOAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/>
<span title="EligibilityRequest.organization : The organization which is responsible for the services rendered to the patient.">organization</span>
<a name="EligibilityRequest.organization"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="references.html">Reference</a>(
<a href="organization.html">Organization</a>)
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Responsible organization</td>
</tr>
<tr>
<td colspan="5" class="hierarchy">
<br/>
<a href="formats.html#table" title="Legend for this format">
<img src="help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format
</a>
</td>
</tr>
</table>
</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="0"/>
</extension>
<url value="http://hl7.org/fhir/StructureDefinition/EligibilityRequest"/>
<name value="EligibilityRequest"/>
<status value="draft"/>
<publisher value="Health Level Seven International (Financial Management)"/>
<contact>
<telecom>
<system value="other"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<contact>
<telecom>
<system value="other"/>
<value value="http://www.hl7.org/Special/committees/fm/index.cfm"/>
</telecom>
</contact>
<date value="2015-11-11T10:54:01-05:00"/>
<description value="Base StructureDefinition for EligibilityRequest Resource"/>
<fhirVersion value="1.0.2"/>
<mapping>
<identity value="w5"/> <identity value="w5"/>
<uri value="http://hl7.org/fhir/w5"/> <map value="financial.support"/>
<name value="W5 Mapping"/> </mapping>
</mapping> </element>
<mapping> <element>
<identity value="cdanetv4"/> <path value="EligibilityRequest.id"/>
<uri value="http://www.cda-adc.ca/en/services/cdanet/"/> <short value="Logical id of this artifact"/>
<name value="Canadian Dental Association eclaims standard"/> <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
</mapping> <comments value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID."/>
<mapping> <min value="0"/>
<max value="1"/>
<type>
<code value="id"/>
</type>
<isSummary value="true"/>
</element>
<element>
<path value="EligibilityRequest.meta"/>
<short value="Metadata about the resource"/>
<definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="Meta"/>
</type>
<isSummary value="true"/>
</element>
<element>
<path value="EligibilityRequest.implicitRules"/>
<short value="A set of rules under which this content was created"/>
<definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
<comments value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="uri"/>
</type>
<isModifier value="true"/>
<isSummary value="true"/>
</element>
<element>
<path value="EligibilityRequest.language"/>
<short value="Language of the resource content"/>
<definition value="The base language in which the resource is written."/>
<comments value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<binding>
<strength value="required"/>
<description value="A human language."/>
<valueSetUri value="http://tools.ietf.org/html/bcp47"/>
</binding>
</element>
<element>
<path value="EligibilityRequest.text"/>
<short value="Text summary of the resource, for human interpretation"/>
<definition value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
<comments value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."/>
<alias value="narrative"/>
<alias value="html"/>
<alias value="xhtml"/>
<alias value="display"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="Narrative"/>
</type>
<condition value="dom-1"/>
<mapping>
<identity value="rim"/> <identity value="rim"/>
<uri value="http://hl7.org/v3"/> <map value="Act.text?"/>
<name value="RIM"/> </mapping>
</mapping> </element>
<kind value="resource"/> <element>
<abstract value="false"/> <path value="EligibilityRequest.contained"/>
<base value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> <short value="Contained, inline Resources"/>
<snapshot> <definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/>
<element> <comments value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
<path value="EligibilityRequest"/> <alias value="inline resources"/>
<short value="Eligibility request"/> <alias value="anonymous resources"/>
<definition value="This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service."/> <alias value="contained resources"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<type> <type>
<code value="DomainResource"/> <code value="Resource"/>
</type> </type>
<isSummary value="true"/> <mapping>
<mapping> <identity value="rim"/>
<identity value="w5"/> <map value="N/A"/>
<map value="financial.support"/> </mapping>
</mapping> </element>
</element> <element>
<element> <path value="EligibilityRequest.extension"/>
<path value="EligibilityRequest.id"/> <short value="Additional Content defined by implementations"/>
<short value="Logical id of this artifact"/> <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/>
<definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/> <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."/>
<comments value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID."/> <alias value="extensions"/>
<min value="0"/> <alias value="user content"/>
<max value="1"/> <min value="0"/>
<type> <max value="*"/>
<code value="id"/> <type>
</type> <code value="Extension"/>
<isSummary value="true"/> </type>
</element> <mapping>
<element> <identity value="rim"/>
<path value="EligibilityRequest.meta"/> <map value="N/A"/>
<short value="Metadata about the resource"/> </mapping>
<definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/> </element>
<min value="0"/> <element>
<max value="1"/> <path value="EligibilityRequest.modifierExtension"/>
<type> <short value="Extensions that cannot be ignored"/>
<code value="Meta"/> <definition value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions."/>
</type> <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."/>
<isSummary value="true"/> <alias value="extensions"/>
</element> <alias value="user content"/>
<element> <min value="0"/>
<path value="EligibilityRequest.implicitRules"/> <max value="*"/>
<short value="A set of rules under which this content was created"/> <type>
<definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/> <code value="Extension"/>
<comments value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible."/> </type>
<min value="0"/> <isModifier value="true"/>
<max value="1"/> <mapping>
<type> <identity value="rim"/>
<code value="uri"/> <map value="N/A"/>
</type> </mapping>
<isModifier value="true"/> </element>
<isSummary value="true"/> <element>
</element> <path value="EligibilityRequest.identifier"/>
<element> <short value="Business Identifier"/>
<path value="EligibilityRequest.language"/> <definition value="The Response business identifier."/>
<short value="Language of the resource content"/> <min value="0"/>
<definition value="The base language in which the resource is written."/> <max value="*"/>
<comments value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/> <type>
<min value="0"/> <code value="Identifier"/>
<max value="1"/> </type>
<type> <isSummary value="true"/>
<code value="code"/> </element>
</type> <element>
<binding> <path value="EligibilityRequest.ruleset"/>
<strength value="required"/> <short value="Resource version"/>
<description value="A human language."/> <definition value="The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources."/>
<valueSetUri value="http://tools.ietf.org/html/bcp47"/> <min value="0"/>
</binding> <max value="1"/>
</element> <type>
<element> <code value="Coding"/>
<path value="EligibilityRequest.text"/> </type>
<short value="Text summary of the resource, for human interpretation"/> <isSummary value="true"/>
<definition value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/> <binding>
<comments value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."/> <strength value="example"/>
<alias value="narrative"/> <description value="The static and dynamic model to which contents conform, which may be business version or standard/version."/>
<alias value="html"/> <valueSetReference>
<alias value="xhtml"/> <reference value="http://hl7.org/fhir/ValueSet/ruleset"/>
<alias value="display"/> </valueSetReference>
<min value="0"/> </binding>
<max value="1"/> </element>
<type> <element>
<code value="Narrative"/> <path value="EligibilityRequest.originalRuleset"/>
</type> <short value="Original version"/>
<condition value="dom-1"/> <definition value="The style (standard) and version of the original material which was converted into this resource."/>
<mapping> <requirements value="Knowledge of the original version can inform the processing of this instance so that information which is processable by the originating system may be generated."/>
<identity value="rim"/> <min value="0"/>
<map value="Act.text?"/> <max value="1"/>
</mapping> <type>
</element> <code value="Coding"/>
<element> </type>
<path value="EligibilityRequest.contained"/> <isSummary value="true"/>
<short value="Contained, inline Resources"/> <binding>
<definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/> <strength value="example"/>
<comments value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/> <description value="The static and dynamic model to which contents conform, which may be business version or standard/version."/>
<alias value="inline resources"/> <valueSetReference>
<alias value="anonymous resources"/> <reference value="http://hl7.org/fhir/ValueSet/ruleset"/>
<alias value="contained resources"/> </valueSetReference>
<min value="0"/> </binding>
<max value="*"/> </element>
<type> <element>
<code value="Resource"/> <path value="EligibilityRequest.created"/>
</type> <short value="Creation date"/>
<mapping> <definition value="The date when this resource was created."/>
<identity value="rim"/> <min value="0"/>
<map value="N/A"/> <max value="1"/>
</mapping> <type>
</element> <code value="dateTime"/>
<element> </type>
<path value="EligibilityRequest.extension"/> <isSummary value="true"/>
<short value="Additional Content defined by implementations"/> </element>
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/> <element>
<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."/> <path value="EligibilityRequest.target"/>
<alias value="extensions"/> <short value="Insurer"/>
<alias value="user content"/> <definition value="The Insurer who is target of the request."/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="1"/>
<type> <type>
<code value="Extension"/> <code value="Reference"/>
</type> <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
<mapping> </type>
<identity value="rim"/> <isSummary value="true"/>
<map value="N/A"/> </element>
</mapping> <element>
</element> <path value="EligibilityRequest.provider"/>
<element> <short value="Responsible practitioner"/>
<path value="EligibilityRequest.modifierExtension"/> <definition value="The practitioner who is responsible for the services rendered to the patient."/>
<short value="Extensions that cannot be ignored"/> <min value="0"/>
<definition value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions."/> <max value="1"/>
<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."/> <type>
<alias value="extensions"/> <code value="Reference"/>
<alias value="user content"/> <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
<min value="0"/> </type>
<max value="*"/> <isSummary value="true"/>
<type> <mapping>
<code value="Extension"/> <identity value="cdanetv4"/>
</type> <map value="B01"/>
<isModifier value="true"/> </mapping>
<mapping> </element>
<identity value="rim"/> <element>
<map value="N/A"/> <path value="EligibilityRequest.organization"/>
</mapping> <short value="Responsible organization"/>
</element> <definition value="The organization which is responsible for the services rendered to the patient."/>
<element> <min value="0"/>
<path value="EligibilityRequest.identifier"/> <max value="1"/>
<short value="Business Identifier"/> <type>
<definition value="The Response business identifier."/> <code value="Reference"/>
<min value="0"/> <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
<max value="*"/> </type>
<type> <isSummary value="true"/>
<code value="Identifier"/> </element>
</type> </snapshot>
<isSummary value="true"/> <differential>
</element> <element>
<element> <path value="EligibilityRequest"/>
<path value="EligibilityRequest.ruleset"/> <short value="Eligibility request"/>
<short value="Resource version"/> <definition value="This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service."/>
<definition value="The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources."/> <min value="0"/>
<min value="0"/> <max value="*"/>
<max value="1"/> <type>
<type> <code value="DomainResource"/>
<code value="Coding"/> </type>
</type> <isSummary value="true"/>
<isSummary value="true"/> <mapping>
<binding> <identity value="w5"/>
<strength value="example"/> <map value="financial.support"/>
<description value="The static and dynamic model to which contents conform, which may be business version or standard/version."/> </mapping>
<valueSetReference> </element>
<reference value="http://hl7.org/fhir/ValueSet/ruleset"/> <element>
</valueSetReference> <path value="EligibilityRequest.identifier"/>
</binding> <short value="Business Identifier"/>
</element> <definition value="The Response business identifier."/>
<element> <min value="0"/>
<path value="EligibilityRequest.originalRuleset"/> <max value="*"/>
<short value="Original version"/> <type>
<definition value="The style (standard) and version of the original material which was converted into this resource."/> <code value="Identifier"/>
<requirements value="Knowledge of the original version can inform the processing of this instance so that information which is processable by the originating system may be generated."/> </type>
<min value="0"/> <isSummary value="true"/>
<max value="1"/> </element>
<type> <element>
<code value="Coding"/> <path value="EligibilityRequest.ruleset"/>
</type> <short value="Resource version"/>
<isSummary value="true"/> <definition value="The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources."/>
<binding> <min value="0"/>
<strength value="example"/> <max value="1"/>
<description value="The static and dynamic model to which contents conform, which may be business version or standard/version."/> <type>
<valueSetReference> <code value="Coding"/>
<reference value="http://hl7.org/fhir/ValueSet/ruleset"/> </type>
</valueSetReference> <isSummary value="true"/>
</binding> <binding>
</element> <strength value="example"/>
<element> <description value="The static and dynamic model to which contents conform, which may be business version or standard/version."/>
<path value="EligibilityRequest.created"/> <valueSetReference>
<short value="Creation date"/> <reference value="http://hl7.org/fhir/ValueSet/ruleset"/>
<definition value="The date when this resource was created."/> </valueSetReference>
<min value="0"/> </binding>
<max value="1"/> </element>
<type> <element>
<code value="dateTime"/> <path value="EligibilityRequest.originalRuleset"/>
</type> <short value="Original version"/>
<isSummary value="true"/> <definition value="The style (standard) and version of the original material which was converted into this resource."/>
</element> <requirements value="Knowledge of the original version can inform the processing of this instance so that information which is processable by the originating system may be generated."/>
<element> <min value="0"/>
<path value="EligibilityRequest.target"/> <max value="1"/>
<short value="Insurer"/> <type>
<definition value="The Insurer who is target of the request."/> <code value="Coding"/>
<min value="0"/> </type>
<max value="1"/> <isSummary value="true"/>
<type> <binding>
<code value="Reference"/> <strength value="example"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Organization"/> <description value="The static and dynamic model to which contents conform, which may be business version or standard/version."/>
</type> <valueSetReference>
<isSummary value="true"/> <reference value="http://hl7.org/fhir/ValueSet/ruleset"/>
</element> </valueSetReference>
<element> </binding>
<path value="EligibilityRequest.provider"/> </element>
<short value="Responsible practitioner"/> <element>
<definition value="The practitioner who is responsible for the services rendered to the patient."/> <path value="EligibilityRequest.created"/>
<min value="0"/> <short value="Creation date"/>
<max value="1"/> <definition value="The date when this resource was created."/>
<type> <min value="0"/>
<code value="Reference"/> <max value="1"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> <type>
</type> <code value="dateTime"/>
<isSummary value="true"/> </type>
<mapping> <isSummary value="true"/>
<identity value="cdanetv4"/> </element>
<map value="B01"/> <element>
</mapping> <path value="EligibilityRequest.target"/>
</element> <short value="Insurer"/>
<element> <definition value="The Insurer who is target of the request."/>
<path value="EligibilityRequest.organization"/> <min value="0"/>
<short value="Responsible organization"/> <max value="1"/>
<definition value="The organization which is responsible for the services rendered to the patient."/> <type>
<min value="0"/> <code value="Reference"/>
<max value="1"/> <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
<type> </type>
<code value="Reference"/> <isSummary value="true"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Organization"/> </element>
</type> <element>
<isSummary value="true"/> <path value="EligibilityRequest.provider"/>
</element> <short value="Responsible practitioner"/>
</snapshot> <definition value="The practitioner who is responsible for the services rendered to the patient."/>
<differential> <min value="0"/>
<element> <max value="1"/>
<path value="EligibilityRequest"/> <type>
<short value="Eligibility request"/> <code value="Reference"/>
<definition value="This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service."/> <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
<min value="0"/> </type>
<max value="*"/> <isSummary value="true"/>
<type> <mapping>
<code value="DomainResource"/> <identity value="cdanetv4"/>
</type> <map value="B01"/>
<isSummary value="true"/> </mapping>
<mapping> </element>
<identity value="w5"/> <element>
<map value="financial.support"/> <path value="EligibilityRequest.organization"/>
</mapping> <short value="Responsible organization"/>
</element> <definition value="The organization which is responsible for the services rendered to the patient."/>
<element> <min value="0"/>
<path value="EligibilityRequest.identifier"/> <max value="1"/>
<short value="Business Identifier"/> <type>
<definition value="The Response business identifier."/> <code value="Reference"/>
<min value="0"/> <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
<max value="*"/> </type>
<type> <isSummary value="true"/>
<code value="Identifier"/> </element>
</type> </differential>
<isSummary value="true"/> </StructureDefinition>
</element>
<element>
<path value="EligibilityRequest.ruleset"/>
<short value="Resource version"/>
<definition value="The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="Coding"/>
</type>
<isSummary value="true"/>
<binding>
<strength value="example"/>
<description value="The static and dynamic model to which contents conform, which may be business version or standard/version."/>
<valueSetReference>
<reference value="http://hl7.org/fhir/ValueSet/ruleset"/>
</valueSetReference>
</binding>
</element>
<element>
<path value="EligibilityRequest.originalRuleset"/>
<short value="Original version"/>
<definition value="The style (standard) and version of the original material which was converted into this resource."/>
<requirements value="Knowledge of the original version can inform the processing of this instance so that information which is processable by the originating system may be generated."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="Coding"/>
</type>
<isSummary value="true"/>
<binding>
<strength value="example"/>
<description value="The static and dynamic model to which contents conform, which may be business version or standard/version."/>
<valueSetReference>
<reference value="http://hl7.org/fhir/ValueSet/ruleset"/>
</valueSetReference>
</binding>
</element>
<element>
<path value="EligibilityRequest.created"/>
<short value="Creation date"/>
<definition value="The date when this resource was created."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="dateTime"/>
</type>
<isSummary value="true"/>
</element>
<element>
<path value="EligibilityRequest.target"/>
<short value="Insurer"/>
<definition value="The Insurer who is target of the request."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="Reference"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
</type>
<isSummary value="true"/>
</element>
<element>
<path value="EligibilityRequest.provider"/>
<short value="Responsible practitioner"/>
<definition value="The practitioner who is responsible for the services rendered to the patient."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="Reference"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
</type>
<isSummary value="true"/>
<mapping>
<identity value="cdanetv4"/>
<map value="B01"/>
</mapping>
</element>
<element>
<path value="EligibilityRequest.organization"/>
<short value="Responsible organization"/>
<definition value="The organization which is responsible for the services rendered to the patient."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="Reference"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
</type>
<isSummary value="true"/>
</element>
</differential>
</StructureDefinition>

View File

@ -1,425 +1,339 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Extension"/> <id value="Extension"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/Extension"/>
<status value="generated"/> <name value="Extension"/>
<div xmlns="http://www.w3.org/1999/xhtml"> <status value="draft"/>
<table border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 11px; font-family: verdana; vertical-align: top;"> <publisher value="HL7 FHIR Standard"/>
<tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"> <contact>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="The logical name of the element">Name</a> <system value="other"/>
</th> <value value="http://hl7.org/fhir"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Information about the use of the element">Flags</a> </contact>
</th> <date value="2015-11-11T10:54:01-05:00"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <description value="Base StructureDefinition for Extension Type"/>
<a href="formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> <requirements value="The ability to add extensions in a structured way is what keeps FHIR resources simple."/>
</th> <fhirVersion value="1.0.2"/>
<th style="width: 100px" class="hierarchy"> <mapping>
<a href="formats.html#table" title="Reference to the type of the element">Type</a> <identity value="rim"/>
</th> <uri value="http://hl7.org/v3"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <name value="RIM"/>
<a href="formats.html#table" title="Additional information about the element">Description &amp; Constraints</a> </mapping>
<span style="float: right"> <kind value="datatype"/>
<a href="formats.html#table" title="Legend for this format"> <abstract value="false"/>
<img src="help16.png" alt="doco" style="background-color: inherit"/> <base value="http://hl7.org/fhir/StructureDefinition/Element"/>
</a> <snapshot>
</span> <element>
</th> <path value="Extension"/>
</tr> <definition value="Optional Extensions Element - found in all resources."/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <min value="0"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <max value="*"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> <type>
<img src="data: image/png;base64,R0lGODlhEAAQAMQfAOvGUf7ztuvPMf/78/fkl/Pbg+u8Rvjqteu2Pf3zxPz36Pz0z+vTmPzurPvuw/npofbjquvNefHVduuyN+uuMu3Oafbgjfnqvf/3zv/3xevPi+vRjP/20/bmsP///////yH5BAEAAB8ALAAAAAAQABAAAAV24CeOZGmepqeqqOgxjBZFa+19r4ftWQUAgqDgltthMshMIJAZ4jYDHsBARSAmFOJvq+g6HIdEFgcYmBWNxoNAsDjGHgBnmV5bCoUDHLBIq9sFEhIdcAYJdYASFRUQhQkLCwkOFwcdEBAXhVabE52ecDahKy0oIQA7" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <code value="Element"/>
<a href="extensibility-definitions.html#Extension" title="Extension : Optional Extensions Element - found in all resources.">Extension</a> </type>
<a name="Extension"> </a> <mapping>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"></td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="element.html">Element</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"></td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="extensibility-definitions.html#Extension.url" title="Extension.url : Source of the definition for the extension code - a logical name or a URL.">url</a>
<a name="Extension.url"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#uri">uri</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">identifies the meaning of the extension</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAI0lEQVR42u3QIQEAAAACIL/6/4MvTAQOkLYBAAB4kAAAANwMad9AqkRjgNAAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/>
<a href="extensibility-definitions.html#Extension.value_x_" title="Extension.value[x] : Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).">value[x]</a>
<a name="Extension.value_x_"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#open">*</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Value of extension</td>
</tr>
<tr>
<td colspan="5" class="hierarchy">
<br/>
<a href="formats.html#table" title="Legend for this format">
<img src="help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format
</a>
</td>
</tr>
</table>
</div>
</text>
<url value="http://hl7.org/fhir/StructureDefinition/Extension"/>
<name value="Extension"/>
<status value="draft"/>
<publisher value="HL7 FHIR Standard"/>
<contact>
<telecom>
<system value="other"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<date value="2015-11-11T10:54:01-05:00"/>
<description value="Base StructureDefinition for Extension Type"/>
<requirements value="The ability to add extensions in a structured way is what keeps FHIR resources simple."/>
<fhirVersion value="1.0.2"/>
<mapping>
<identity value="rim"/> <identity value="rim"/>
<uri value="http://hl7.org/v3"/> <map value="N/A"/>
<name value="RIM"/> </mapping>
</mapping> </element>
<kind value="datatype"/> <element>
<abstract value="false"/> <path value="Extension.id"/>
<base value="http://hl7.org/fhir/StructureDefinition/Element"/> <representation value="xmlAttr"/>
<snapshot> <short value="xml:id (or equivalent in JSON)"/>
<element> <definition value="unique id for the element within a resource (for internal references)."/>
<path value="Extension"/> <min value="0"/>
<definition value="Optional Extensions Element - found in all resources."/> <max value="1"/>
<min value="0"/> <type>
<max value="*"/> <code value="id"/>
<type> </type>
<code value="Element"/> <mapping>
</type> <identity value="rim"/>
<mapping> <map value="n/a"/>
<identity value="rim"/> </mapping>
<map value="N/A"/> </element>
</mapping> <element>
</element> <path value="Extension.extension"/>
<element> <short value="Additional Content defined by implementations"/>
<path value="Extension.id"/> <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."/>
<representation value="xmlAttr"/> <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."/>
<short value="xml:id (or equivalent in JSON)"/> <alias value="extensions"/>
<definition value="unique id for the element within a resource (for internal references)."/> <alias value="user content"/>
<min value="0"/> <min value="0"/>
<max value="1"/> <max value="*"/>
<type> <type>
<code value="id"/> <code value="Extension"/>
</type> </type>
<mapping> <mapping>
<identity value="rim"/> <identity value="rim"/>
<map value="n/a"/> <map value="n/a"/>
</mapping> </mapping>
</element> </element>
<element> <element>
<path value="Extension.extension"/> <path value="Extension.url"/>
<short value="Additional Content defined by implementations"/> <representation value="xmlAttr"/>
<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."/> <short value="identifies the meaning 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."/> <definition value="Source of the definition for the extension code - a logical name or a URL."/>
<alias value="extensions"/> <comments 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 should be version specific. This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #."/>
<alias value="user content"/> <min value="1"/>
<min value="0"/> <max value="1"/>
<max value="*"/> <type>
<type> <code value="uri"/>
<code value="Extension"/> </type>
</type> <mapping>
<mapping> <identity value="rim"/>
<identity value="rim"/> <map value="N/A"/>
<map value="n/a"/> </mapping>
</mapping> </element>
</element> <element>
<element> <path value="Extension.value[x]"/>
<path value="Extension.url"/> <short value="Value of extension"/>
<representation value="xmlAttr"/> <definition value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
<short value="identifies the meaning of the extension"/> <min value="0"/>
<definition value="Source of the definition for the extension code - a logical name or a URL."/> <max value="1"/>
<comments 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 should be version specific. This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #."/> <type>
<min value="1"/> <code value="boolean"/>
<max value="1"/> </type>
<type> <type>
<code value="uri"/> <code value="integer"/>
</type> </type>
<mapping> <type>
<identity value="rim"/> <code value="decimal"/>
<map value="N/A"/> </type>
</mapping> <type>
</element> <code value="base64Binary"/>
<element> </type>
<path value="Extension.value[x]"/> <type>
<short value="Value of extension"/> <code value="instant"/>
<definition value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/> </type>
<min value="0"/> <type>
<max value="1"/> <code value="string"/>
<type> </type>
<code value="boolean"/> <type>
</type> <code value="uri"/>
<type> </type>
<code value="integer"/> <type>
</type> <code value="date"/>
<type> </type>
<code value="decimal"/> <type>
</type> <code value="dateTime"/>
<type> </type>
<code value="base64Binary"/> <type>
</type> <code value="time"/>
<type> </type>
<code value="instant"/> <type>
</type> <code value="code"/>
<type> </type>
<code value="string"/> <type>
</type> <code value="oid"/>
<type> </type>
<code value="uri"/> <type>
</type> <code value="id"/>
<type> </type>
<code value="date"/> <type>
</type> <code value="unsignedInt"/>
<type> </type>
<code value="dateTime"/> <type>
</type> <code value="positiveInt"/>
<type> </type>
<code value="time"/> <type>
</type> <code value="markdown"/>
<type> </type>
<code value="code"/> <type>
</type> <code value="Annotation"/>
<type> </type>
<code value="oid"/> <type>
</type> <code value="Attachment"/>
<type> </type>
<code value="id"/> <type>
</type> <code value="Identifier"/>
<type> </type>
<code value="unsignedInt"/> <type>
</type> <code value="CodeableConcept"/>
<type> </type>
<code value="positiveInt"/> <type>
</type> <code value="Coding"/>
<type> </type>
<code value="markdown"/> <type>
</type> <code value="Quantity"/>
<type> </type>
<code value="Annotation"/> <type>
</type> <code value="Range"/>
<type> </type>
<code value="Attachment"/> <type>
</type> <code value="Period"/>
<type> </type>
<code value="Identifier"/> <type>
</type> <code value="Ratio"/>
<type> </type>
<code value="CodeableConcept"/> <type>
</type> <code value="SampledData"/>
<type> </type>
<code value="Coding"/> <type>
</type> <code value="Signature"/>
<type> </type>
<code value="Quantity"/> <type>
</type> <code value="HumanName"/>
<type> </type>
<code value="Range"/> <type>
</type> <code value="Address"/>
<type> </type>
<code value="Period"/> <type>
</type> <code value="ContactPoint"/>
<type> </type>
<code value="Ratio"/> <type>
</type> <code value="Timing"/>
<type> </type>
<code value="SampledData"/> <type>
</type> <code value="Reference"/>
<type> </type>
<code value="Signature"/> <type>
</type> <code value="Meta"/>
<type> </type>
<code value="HumanName"/> <mapping>
</type> <identity value="rim"/>
<type> <map value="N/A"/>
<code value="Address"/> </mapping>
</type> </element>
<type> </snapshot>
<code value="ContactPoint"/> <differential>
</type> <element>
<type> <path value="Extension"/>
<code value="Timing"/> <definition value="Optional Extensions Element - found in all resources."/>
</type> <min value="0"/>
<type> <max value="*"/>
<code value="Reference"/> <type>
</type> <code value="Element"/>
<type> </type>
<code value="Meta"/> <mapping>
</type> <identity value="rim"/>
<mapping> <map value="N/A"/>
<identity value="rim"/> </mapping>
<map value="N/A"/> </element>
</mapping> <element>
</element> <path value="Extension.url"/>
</snapshot> <representation value="xmlAttr"/>
<differential> <short value="identifies the meaning of the extension"/>
<element> <definition value="Source of the definition for the extension code - a logical name or a URL."/>
<path value="Extension"/> <comments 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 should be version specific. This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #."/>
<definition value="Optional Extensions Element - found in all resources."/> <min value="1"/>
<min value="0"/> <max value="1"/>
<max value="*"/> <type>
<type> <code value="uri"/>
<code value="Element"/> </type>
</type> <mapping>
<mapping> <identity value="rim"/>
<identity value="rim"/> <map value="N/A"/>
<map value="N/A"/> </mapping>
</mapping> </element>
</element> <element>
<element> <path value="Extension.value[x]"/>
<path value="Extension.url"/> <short value="Value of extension"/>
<representation value="xmlAttr"/> <definition value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
<short value="identifies the meaning of the extension"/> <min value="0"/>
<definition value="Source of the definition for the extension code - a logical name or a URL."/> <max value="1"/>
<comments 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 should be version specific. This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #."/> <type>
<min value="1"/> <code value="boolean"/>
<max value="1"/> </type>
<type> <type>
<code value="uri"/> <code value="integer"/>
</type> </type>
<mapping> <type>
<identity value="rim"/> <code value="decimal"/>
<map value="N/A"/> </type>
</mapping> <type>
</element> <code value="base64Binary"/>
<element> </type>
<path value="Extension.value[x]"/> <type>
<short value="Value of extension"/> <code value="instant"/>
<definition value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/> </type>
<min value="0"/> <type>
<max value="1"/> <code value="string"/>
<type> </type>
<code value="boolean"/> <type>
</type> <code value="uri"/>
<type> </type>
<code value="integer"/> <type>
</type> <code value="date"/>
<type> </type>
<code value="decimal"/> <type>
</type> <code value="dateTime"/>
<type> </type>
<code value="base64Binary"/> <type>
</type> <code value="time"/>
<type> </type>
<code value="instant"/> <type>
</type> <code value="code"/>
<type> </type>
<code value="string"/> <type>
</type> <code value="oid"/>
<type> </type>
<code value="uri"/> <type>
</type> <code value="id"/>
<type> </type>
<code value="date"/> <type>
</type> <code value="unsignedInt"/>
<type> </type>
<code value="dateTime"/> <type>
</type> <code value="positiveInt"/>
<type> </type>
<code value="time"/> <type>
</type> <code value="markdown"/>
<type> </type>
<code value="code"/> <type>
</type> <code value="Annotation"/>
<type> </type>
<code value="oid"/> <type>
</type> <code value="Attachment"/>
<type> </type>
<code value="id"/> <type>
</type> <code value="Identifier"/>
<type> </type>
<code value="unsignedInt"/> <type>
</type> <code value="CodeableConcept"/>
<type> </type>
<code value="positiveInt"/> <type>
</type> <code value="Coding"/>
<type> </type>
<code value="markdown"/> <type>
</type> <code value="Quantity"/>
<type> </type>
<code value="Annotation"/> <type>
</type> <code value="Range"/>
<type> </type>
<code value="Attachment"/> <type>
</type> <code value="Period"/>
<type> </type>
<code value="Identifier"/> <type>
</type> <code value="Ratio"/>
<type> </type>
<code value="CodeableConcept"/> <type>
</type> <code value="SampledData"/>
<type> </type>
<code value="Coding"/> <type>
</type> <code value="Signature"/>
<type> </type>
<code value="Quantity"/> <type>
</type> <code value="HumanName"/>
<type> </type>
<code value="Range"/> <type>
</type> <code value="Address"/>
<type> </type>
<code value="Period"/> <type>
</type> <code value="ContactPoint"/>
<type> </type>
<code value="Ratio"/> <type>
</type> <code value="Timing"/>
<type> </type>
<code value="SampledData"/> <type>
</type> <code value="Reference"/>
<type> </type>
<code value="Signature"/> <type>
</type> <code value="Meta"/>
<type> </type>
<code value="HumanName"/> <mapping>
</type> <identity value="rim"/>
<type> <map value="N/A"/>
<code value="Address"/> </mapping>
</type> </element>
<type> </differential>
<code value="ContactPoint"/> </StructureDefinition>
</type>
<type>
<code value="Timing"/>
</type>
<type>
<code value="Reference"/>
</type>
<type>
<code value="Meta"/>
</type>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
</differential>
</StructureDefinition>

View File

@ -1,128 +1,122 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="id"/> <id value="id"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/id"/>
<status value="generated"/> <name value="id"/>
<div xmlns="http://www.w3.org/1999/xhtml">to do</div> <status value="draft"/>
</text> <publisher value="HL7 FHIR Standard"/>
<url value="http://hl7.org/fhir/StructureDefinition/id"/> <contact>
<name value="id"/> <telecom>
<status value="draft"/> <system value="other"/>
<publisher value="HL7 FHIR Standard"/> <value value="http://hl7.org/fhir"/>
<contact> </telecom>
<telecom> </contact>
<system value="other"/> <date value="2015-11-11T10:54:01-05:00"/>
<value value="http://hl7.org/fhir"/> <description value="Base StructureDefinition for id type: Any combination of letters, numerals, &quot;-&quot; and &quot;.&quot;, with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive."/>
</telecom> <fhirVersion value="1.0.2"/>
</contact> <kind value="datatype"/>
<date value="2015-11-11T10:54:01-05:00"/> <constrainedType value="string"/>
<description value="Base StructureDefinition for id type: Any combination of letters, numerals, &quot;-&quot; and &quot;.&quot;, with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive."/> <abstract value="false"/>
<fhirVersion value="1.0.2"/> <base value="http://hl7.org/fhir/StructureDefinition/string"/>
<kind value="datatype"/> <snapshot>
<constrainedType value="string"/> <element>
<abstract value="false"/> <path value="string"/>
<base value="http://hl7.org/fhir/StructureDefinition/string"/> <short value="Primitive Type id"/>
<snapshot> <definition value="Any combination of letters, numerals, &quot;-&quot; and &quot;.&quot;, with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive."/>
<element> <comments value="RFC 4122"/>
<path value="string"/> <min value="0"/>
<short value="Primitive Type id"/> <max value="*"/>
<definition value="Any combination of letters, numerals, &quot;-&quot; and &quot;.&quot;, with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive."/> <base>
<comments value="RFC 4122"/> <path value="string"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<base> </base>
<path value="string"/> <type>
<min value="0"/> <code value="Element"/>
<max value="*"/> </type>
</base> </element>
<type> <element>
<code value="Element"/> <path value="string.extension"/>
</type> <short value="Additional Content defined by implementations"/>
</element> <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/>
<element> <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."/>
<path value="string.extension"/> <alias value="extensions"/>
<short value="Additional Content defined by implementations"/> <alias value="user content"/>
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/> <min value="0"/>
<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."/> <max value="*"/>
<alias value="extensions"/> <base>
<alias value="user content"/> <path value="string.extension"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<base> </base>
<path value="string.extension"/> <type>
<min value="0"/> <code value="Extension"/>
<max value="*"/> </type>
</base> </element>
<type> <element>
<code value="Extension"/> <path value="string.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for id"/>
<element> <definition value="Primitive value for id"/>
<path value="string.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for id"/> <base>
<definition value="Primitive value for id"/> <path value="string.value"/>
<min value="0"/> <min value="0"/>
<max value="1"/> <max value="1"/>
<base> </base>
<path value="string.value"/> <!-- Note: primitive values do not have an assigned type
<min value="0"/> e.g. this is compiler magic
<max value="1"/> XML and JSON types provided by extension -->
</base> <type>
<!-- Note: primitive values do not have an assigned type <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
e.g. this is compiler magic <valueString value="[A-Za-z0-9\-\.]{1,64}"/>
XML and JSON types provided by extension --> </extension>
<type> <code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex"> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="[A-Za-z0-9\-\.]{1,64}"/> <valueString value="string"/>
</extension> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="xs:string+"/>
<valueString value="string"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="xs:string+"/> </element>
</extension> </snapshot>
</code> <differential>
</type> <element>
</element> <path value="string"/>
</snapshot> <short value="Primitive Type id"/>
<differential> <definition value="Any combination of letters, numerals, &quot;-&quot; and &quot;.&quot;, with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive."/>
<element> <comments value="RFC 4122"/>
<path value="string"/> <min value="0"/>
<short value="Primitive Type id"/> <max value="*"/>
<definition value="Any combination of letters, numerals, &quot;-&quot; and &quot;.&quot;, with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive."/> <type>
<comments value="RFC 4122"/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="string.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for id"/>
<element> <definition value="Primitive value for id"/>
<path value="string.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for id"/> <!-- Note: primitive values do not have an assigned type
<definition value="Primitive value for id"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
e.g. this is compiler magic <valueString value="[A-Za-z0-9\-\.]{1,64}"/>
XML and JSON types provided by extension --> </extension>
<type> <code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex"> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="[A-Za-z0-9\-\.]{1,64}"/> <valueString value="string"/>
</extension> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="xs:string+"/>
<valueString value="string"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="xs:string+"/> </element>
</extension> </differential>
</code> </StructureDefinition>
</type>
</element>
</differential>
</StructureDefinition>

View File

@ -1,122 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="instant"/> <id value="instant"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/instant"/>
<status value="generated"/> <name value="instant"/>
<div xmlns="http://www.w3.org/1999/xhtml">to do</div> <status value="draft"/>
</text> <publisher value="HL7 FHIR Standard"/>
<url value="http://hl7.org/fhir/StructureDefinition/instant"/> <contact>
<name value="instant"/> <telecom>
<status value="draft"/> <system value="other"/>
<publisher value="HL7 FHIR Standard"/> <value value="http://hl7.org/fhir"/>
<contact> </telecom>
<telecom> </contact>
<system value="other"/> <date value="2015-11-11T10:54:01-05:00"/>
<value value="http://hl7.org/fhir"/> <description value="Base StructureDefinition for instant Type: An instant in time - known at least to the second"/>
</telecom> <fhirVersion value="1.0.2"/>
</contact> <kind value="datatype"/>
<date value="2015-11-11T10:54:01-05:00"/> <abstract value="false"/>
<description value="Base StructureDefinition for instant Type: An instant in time - known at least to the second"/> <base value="http://hl7.org/fhir/StructureDefinition/Element"/>
<fhirVersion value="1.0.2"/> <snapshot>
<kind value="datatype"/> <element>
<abstract value="false"/> <path value="instant"/>
<base value="http://hl7.org/fhir/StructureDefinition/Element"/> <short value="Primitive Type instant"/>
<snapshot> <definition value="An instant in time - known at least to the second"/>
<element> <comments value="Note: This is intended for precisely observed times, typically system logs etc., and not human-reported times - for them, see date and dateTime below. Time zone is always required"/>
<path value="instant"/> <min value="0"/>
<short value="Primitive Type instant"/> <max value="*"/>
<definition value="An instant in time - known at least to the second"/> <type>
<comments value="Note: This is intended for precisely observed times, typically system logs etc., and not human-reported times - for them, see date and dateTime below. Time zone is always required"/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="instant.id"/>
</type> <representation value="xmlAttr"/>
</element> <short value="xml:id (or equivalent in JSON)"/>
<element> <definition value="unique id for the element within a resource (for internal references)"/>
<path value="instant.id"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="xml:id (or equivalent in JSON)"/> <type>
<definition value="unique id for the element within a resource (for internal references)"/> <code value="id"/>
<min value="0"/> </type>
<max value="1"/> </element>
<type> <element>
<code value="id"/> <path value="instant.extension"/>
</type> <short value="Additional Content defined by implementations"/>
</element> <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/>
<element> <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."/>
<path value="instant.extension"/> <alias value="extensions"/>
<short value="Additional Content defined by implementations"/> <alias value="user content"/>
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/> <min value="0"/>
<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."/> <max value="*"/>
<alias value="extensions"/> <base>
<alias value="user content"/> <path value="instant.extension"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<base> </base>
<path value="instant.extension"/> <type>
<min value="0"/> <code value="Extension"/>
<max value="*"/> </type>
</base> </element>
<type> <element>
<code value="Extension"/> <path value="instant.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for instant"/>
<element> <definition value="The actual value"/>
<path value="instant.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for instant"/> <!-- Note: primitive values do not have an assigned type
<definition value="The actual value"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <code>
e.g. this is compiler magic <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
XML and JSON types provided by extension --> <valueString value="string"/>
<type> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="dateTime"/>
<valueString value="string"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="dateTime"/> </element>
</extension> </snapshot>
</code> <differential>
</type> <element>
</element> <path value="instant"/>
</snapshot> <short value="Primitive Type instant"/>
<differential> <definition value="An instant in time - known at least to the second"/>
<element> <comments value="Note: This is intended for precisely observed times, typically system logs etc., and not human-reported times - for them, see date and dateTime below. Time zone is always required"/>
<path value="instant"/> <min value="0"/>
<short value="Primitive Type instant"/> <max value="*"/>
<definition value="An instant in time - known at least to the second"/> <type>
<comments value="Note: This is intended for precisely observed times, typically system logs etc., and not human-reported times - for them, see date and dateTime below. Time zone is always required"/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="instant.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for instant"/>
<element> <definition value="Primitive value for instant"/>
<path value="instant.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for instant"/> <!-- Note: primitive values do not have an assigned type
<definition value="Primitive value for instant"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <code>
e.g. this is compiler magic <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
XML and JSON types provided by extension --> <valueString value="string"/>
<type> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="dateTime"/>
<valueString value="string"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="dateTime"/> </element>
</extension> </differential>
</code> </StructureDefinition>
</type>
</element>
</differential>
</StructureDefinition>

View File

@ -1,132 +1,126 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="integer"/> <id value="integer"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/integer"/>
<status value="generated"/> <name value="integer"/>
<div xmlns="http://www.w3.org/1999/xhtml">to do</div> <status value="draft"/>
</text> <publisher value="HL7 FHIR Standard"/>
<url value="http://hl7.org/fhir/StructureDefinition/integer"/> <contact>
<name value="integer"/> <telecom>
<status value="draft"/> <system value="other"/>
<publisher value="HL7 FHIR Standard"/> <value value="http://hl7.org/fhir"/>
<contact> </telecom>
<telecom> </contact>
<system value="other"/> <date value="2015-11-11T10:54:01-05:00"/>
<value value="http://hl7.org/fhir"/> <description value="Base StructureDefinition for integer Type: A whole number"/>
</telecom> <fhirVersion value="1.0.2"/>
</contact> <kind value="datatype"/>
<date value="2015-11-11T10:54:01-05:00"/> <abstract value="false"/>
<description value="Base StructureDefinition for integer Type: A whole number"/> <base value="http://hl7.org/fhir/StructureDefinition/Element"/>
<fhirVersion value="1.0.2"/> <snapshot>
<kind value="datatype"/> <element>
<abstract value="false"/> <path value="integer"/>
<base value="http://hl7.org/fhir/StructureDefinition/Element"/> <short value="Primitive Type integer"/>
<snapshot> <definition value="A whole number"/>
<element> <comments value="32 bit number; for values larger than this, use decimal"/>
<path value="integer"/> <min value="0"/>
<short value="Primitive Type integer"/> <max value="*"/>
<definition value="A whole number"/> <type>
<comments value="32 bit number; for values larger than this, use decimal"/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="integer.id"/>
</type> <representation value="xmlAttr"/>
</element> <short value="xml:id (or equivalent in JSON)"/>
<element> <definition value="unique id for the element within a resource (for internal references)"/>
<path value="integer.id"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="xml:id (or equivalent in JSON)"/> <type>
<definition value="unique id for the element within a resource (for internal references)"/> <code value="id"/>
<min value="0"/> </type>
<max value="1"/> </element>
<type> <element>
<code value="id"/> <path value="integer.extension"/>
</type> <short value="Additional Content defined by implementations"/>
</element> <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/>
<element> <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."/>
<path value="integer.extension"/> <alias value="extensions"/>
<short value="Additional Content defined by implementations"/> <alias value="user content"/>
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/> <min value="0"/>
<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."/> <max value="*"/>
<alias value="extensions"/> <base>
<alias value="user content"/> <path value="integer.extension"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<base> </base>
<path value="integer.extension"/> <type>
<min value="0"/> <code value="Extension"/>
<max value="*"/> </type>
</base> </element>
<type> <element>
<code value="Extension"/> <path value="integer.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for integer"/>
<element> <definition value="The actual value"/>
<path value="integer.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for integer"/> <!-- Note: primitive values do not have an assigned type
<definition value="The actual value"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
e.g. this is compiler magic <valueString value="-?([0]|([1-9][0-9]*))"/>
XML and JSON types provided by extension --> </extension>
<type> <code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex"> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="-?([0]|([1-9][0-9]*))"/> <valueString value="number"/>
</extension> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="int"/>
<valueString value="number"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="int"/> <minValueInteger value="-2147483648"/>
</extension> <maxValueInteger value="2147483647"/>
</code> </element>
</type> </snapshot>
<minValueInteger value="-2147483648"/> <differential>
<maxValueInteger value="2147483647"/> <element>
</element> <path value="integer"/>
</snapshot> <short value="Primitive Type integer"/>
<differential> <definition value="A whole number"/>
<element> <comments value="32 bit number; for values larger than this, use decimal"/>
<path value="integer"/> <min value="0"/>
<short value="Primitive Type integer"/> <max value="*"/>
<definition value="A whole number"/> <type>
<comments value="32 bit number; for values larger than this, use decimal"/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="integer.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for integer"/>
<element> <definition value="Primitive value for integer"/>
<path value="integer.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for integer"/> <!-- Note: primitive values do not have an assigned type
<definition value="Primitive value for integer"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex">
e.g. this is compiler magic <valueString value="-?([0]|([1-9][0-9]*))"/>
XML and JSON types provided by extension --> </extension>
<type> <code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-regex"> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
<valueString value="-?([0]|([1-9][0-9]*))"/> <valueString value="number"/>
</extension> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="int"/>
<valueString value="number"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="int"/> <minValueInteger value="-2147483648"/>
</extension> <maxValueInteger value="2147483647"/>
</code> </element>
</type> </differential>
<minValueInteger value="-2147483648"/> </StructureDefinition>
<maxValueInteger value="2147483647"/>
</element>
</differential>
</StructureDefinition>

View File

@ -1,122 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="markdown"/> <id value="markdown"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/markdown"/>
<status value="generated"/> <name value="markdown"/>
<div xmlns="http://www.w3.org/1999/xhtml">to do</div> <status value="draft"/>
</text> <publisher value="HL7 FHIR Standard"/>
<url value="http://hl7.org/fhir/StructureDefinition/markdown"/> <contact>
<name value="markdown"/> <telecom>
<status value="draft"/> <system value="other"/>
<publisher value="HL7 FHIR Standard"/> <value value="http://hl7.org/fhir"/>
<contact> </telecom>
<telecom> </contact>
<system value="other"/> <date value="2015-11-11T10:54:01-05:00"/>
<value value="http://hl7.org/fhir"/> <description value="Base StructureDefinition for markdown type: A string that may contain markdown syntax for optional processing by a mark down presentation engine"/>
</telecom> <fhirVersion value="1.0.2"/>
</contact> <kind value="datatype"/>
<date value="2015-11-11T10:54:01-05:00"/> <constrainedType value="string"/>
<description value="Base StructureDefinition for markdown type: A string that may contain markdown syntax for optional processing by a mark down presentation engine"/> <abstract value="false"/>
<fhirVersion value="1.0.2"/> <base value="http://hl7.org/fhir/StructureDefinition/string"/>
<kind value="datatype"/> <snapshot>
<constrainedType value="string"/> <element>
<abstract value="false"/> <path value="string"/>
<base value="http://hl7.org/fhir/StructureDefinition/string"/> <short value="Primitive Type markdown"/>
<snapshot> <definition value="A string that may contain markdown syntax for optional processing by a mark down presentation engine"/>
<element> <comments value="Systems are not required to have markdown support, and there is considerable variation in markdown syntax, so the text should be readable without markdown processing. The preferred markdown syntax is described here: http://daringfireball.net/projects/markdown/syntax (and tests here: http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip)"/>
<path value="string"/> <min value="0"/>
<short value="Primitive Type markdown"/> <max value="*"/>
<definition value="A string that may contain markdown syntax for optional processing by a mark down presentation engine"/> <base>
<comments value="Systems are not required to have markdown support, and there is considerable variation in markdown syntax, so the text should be readable without markdown processing. The preferred markdown syntax is described here: http://daringfireball.net/projects/markdown/syntax (and tests here: http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip)"/> <path value="string"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<base> </base>
<path value="string"/> <type>
<min value="0"/> <code value="Element"/>
<max value="*"/> </type>
</base> </element>
<type> <element>
<code value="Element"/> <path value="string.extension"/>
</type> <short value="Additional Content defined by implementations"/>
</element> <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/>
<element> <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."/>
<path value="string.extension"/> <alias value="extensions"/>
<short value="Additional Content defined by implementations"/> <alias value="user content"/>
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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."/> <min value="0"/>
<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."/> <max value="*"/>
<alias value="extensions"/> <base>
<alias value="user content"/> <path value="string.extension"/>
<min value="0"/> <min value="0"/>
<max value="*"/> <max value="*"/>
<base> </base>
<path value="string.extension"/> <type>
<min value="0"/> <code value="Extension"/>
<max value="*"/> </type>
</base> </element>
<type> <element>
<code value="Extension"/> <path value="string.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for markdown"/>
<element> <definition value="Primitive value for markdown"/>
<path value="string.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for markdown"/> <base>
<definition value="Primitive value for markdown"/> <path value="string.value"/>
<min value="0"/> <min value="0"/>
<max value="1"/> <max value="1"/>
<base> </base>
<path value="string.value"/> <!-- Note: primitive values do not have an assigned type
<min value="0"/> e.g. this is compiler magic
<max value="1"/> XML and JSON types provided by extension -->
</base> <type>
<!-- Note: primitive values do not have an assigned type <code>
e.g. this is compiler magic <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
XML and JSON types provided by extension --> <valueString value="string"/>
<type> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="xs:string"/>
<valueString value="string"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="xs:string"/> </element>
</extension> </snapshot>
</code> <differential>
</type> <element>
</element> <path value="string"/>
</snapshot> <short value="Primitive Type markdown"/>
<differential> <definition value="A string that may contain markdown syntax for optional processing by a mark down presentation engine"/>
<element> <comments value="Systems are not required to have markdown support, and there is considerable variation in markdown syntax, so the text should be readable without markdown processing. The preferred markdown syntax is described here: http://daringfireball.net/projects/markdown/syntax (and tests here: http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip)"/>
<path value="string"/> <min value="0"/>
<short value="Primitive Type markdown"/> <max value="*"/>
<definition value="A string that may contain markdown syntax for optional processing by a mark down presentation engine"/> <type>
<comments value="Systems are not required to have markdown support, and there is considerable variation in markdown syntax, so the text should be readable without markdown processing. The preferred markdown syntax is described here: http://daringfireball.net/projects/markdown/syntax (and tests here: http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip)"/> <code value="Element"/>
<min value="0"/> </type>
<max value="*"/> </element>
<type> <element>
<code value="Element"/> <path value="string.value"/>
</type> <representation value="xmlAttr"/>
</element> <short value="Primitive value for markdown"/>
<element> <definition value="Primitive value for markdown"/>
<path value="string.value"/> <min value="0"/>
<representation value="xmlAttr"/> <max value="1"/>
<short value="Primitive value for markdown"/> <!-- Note: primitive values do not have an assigned type
<definition value="Primitive value for markdown"/> e.g. this is compiler magic
<min value="0"/> XML and JSON types provided by extension -->
<max value="1"/> <type>
<!-- Note: primitive values do not have an assigned type <code>
e.g. this is compiler magic <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
XML and JSON types provided by extension --> <valueString value="string"/>
<type> </extension>
<code> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"> <valueString value="xs:string"/>
<valueString value="string"/> </extension>
</extension> </code>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"> </type>
<valueString value="xs:string"/> </element>
</extension> </differential>
</code> </StructureDefinition>
</type>
</element>
</differential>
</StructureDefinition>

View File

@ -1,374 +1,224 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir"> <StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Meta"/> <id value="Meta"/>
<text> <url value="http://hl7.org/fhir/StructureDefinition/Meta"/>
<status value="generated"/> <name value="Meta"/>
<div xmlns="http://www.w3.org/1999/xhtml"> <status value="draft"/>
<table border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 11px; font-family: verdana; vertical-align: top;"> <publisher value="HL7 FHIR Standard"/>
<tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"> <contact>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <telecom>
<a href="formats.html#table" title="The logical name of the element">Name</a> <system value="other"/>
</th> <value value="http://hl7.org/fhir"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </telecom>
<a href="formats.html#table" title="Information about the use of the element">Flags</a> </contact>
</th> <date value="2015-11-11T10:54:01-05:00"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <description value="Base StructureDefinition for Meta Type"/>
<a href="formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> <fhirVersion value="1.0.2"/>
</th> <mapping>
<th style="width: 100px" class="hierarchy"> <identity value="rim"/>
<a href="formats.html#table" title="Reference to the type of the element">Type</a> <uri value="http://hl7.org/v3"/>
</th> <name value="RIM"/>
<th style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> </mapping>
<a href="formats.html#table" title="Additional information about the element">Description &amp; Constraints</a> <kind value="datatype"/>
<span style="float: right"> <abstract value="false"/>
<a href="formats.html#table" title="Legend for this format"> <base value="http://hl7.org/fhir/StructureDefinition/Element"/>
<img src="help16.png" alt="doco" style="background-color: inherit"/> <snapshot>
</a> <element>
</span> <path value="Meta"/>
</th> <short value="Metadata about a resource"/>
</tr> <definition value="The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <min value="0"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy"> <max value="*"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/> <type>
<img src="data: image/png;base64,R0lGODlhEAAQAMQfAOvGUf7ztuvPMf/78/fkl/Pbg+u8Rvjqteu2Pf3zxPz36Pz0z+vTmPzurPvuw/npofbjquvNefHVduuyN+uuMu3Oafbgjfnqvf/3zv/3xevPi+vRjP/20/bmsP///////yH5BAEAAB8ALAAAAAAQABAAAAV24CeOZGmepqeqqOgxjBZFa+19r4ftWQUAgqDgltthMshMIJAZ4jYDHsBARSAmFOJvq+g6HIdEFgcYmBWNxoNAsDjGHgBnmV5bCoUDHLBIq9sFEhIdcAYJdYASFRUQhQkLCwkOFwcdEBAXhVabE52ecDahKy0oIQA7" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <code value="Element"/>
<a href="resource-definitions.html#Meta" title="Meta : The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.">Meta</a> </type>
<a name="Meta"> </a> <isSummary value="true"/>
</td> </element>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <element>
<span title="This element is included in summaries">Σ</span> <path value="Meta.id"/>
</td> <representation value="xmlAttr"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"></td> <short value="xml:id (or equivalent in JSON)"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy"> <definition value="unique id for the element within a resource (for internal references)."/>
<a href="element.html">Element</a> <min value="0"/>
</td> <max value="1"/>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Metadata about a resource</td> <type>
</tr> <code value="id"/>
</type>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;"> <mapping>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="resource-definitions.html#Meta.versionId" title="Meta.versionId : The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.">versionId</a>
<a name="Meta.versionId"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#id">id</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Version specific identifier</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="resource-definitions.html#Meta.lastUpdated" title="Meta.lastUpdated : When the resource last changed - e.g. when the version changed.">lastUpdated</a>
<a name="Meta.lastUpdated"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#instant">instant</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">When the resource version last changed</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYBFzI0BrFQCwAAAERJREFUOMtj/P//PwMlgImBQjDwBrCcOnWKokBgYWBgYDCU+06W5i8MUggvnH/EOVJjAW4AuQHJ+O75LYqikXE0LzAAALePEntTkEoSAAAAAElFTkSuQmCC" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
<a href="resource-definitions.html#Meta.profile" title="Meta.profile : A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].">profile</a>
<a name="Meta.profile"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#uri">uri</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Profiles this resource claims to conform to</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAL0lEQVR42u3XsQ0AQAgCQHdl/xn8jxvYWB3JlTR0VJLa+OltBwAAYP6EEQAAgCsPVYVAgIJrA/sAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzI3XJ6V3QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+2RsQ0AIAzDav7/2VzQwoCY4iWbZSmo1QGoUgNMghvWaIejPQW/CrrNCylIwcOCDYfLNRcNer4SAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/>
<a href="resource-definitions.html#Meta.security" title="Meta.security : Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.">security</a>
<a name="Meta.security"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#Coding">Coding</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Security Labels applied to this resource
<br/>
<a href="valueset-security-labels.html" title="Security Labels from the Healthcare Privacy and Security Classification System.">All Security Labels</a> (
<a href="terminologies.html#extensible" title="To be conformant, instances of this element SHALL include a code from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the valueset does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.">Extensible</a>)
</td>
</tr>
<tr style="border: 0px; padding:0px; vertical-align: top; background-color: white;">
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAI0lEQVR42u3QIQEAAAACIL/6/4MvTAQOkLYBAAB4kAAAANwMad9AqkRjgNAAAAAASUVORK5CYII=)" class="hierarchy">
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzIs1vtcMQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAE0lEQVQI12P4//8/AxMDAwNdCABMPwMo2ctnoQAAAABJRU5ErkJggg==" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAYAAADJqhx8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wYeFzME+lXFigAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAANklEQVQ4y+3OsRUAIAjEUOL+O8cJABttJM11/x1qZAGqRBEVcNIqdWj1efDqQbb3HwwwwEfABmQUHSPM9dtDAAAAAElFTkSuQmCC" alt="." style="background-color: inherit" class="hierarchy"/>
<img src="data: image/png;base64,R0lGODlhEAAQAOZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKBQaFyF/369M2vdaqHRPz58/HNh/vowufFhfroxO3OkPrluv779tK0e6JzGProwvrow9m4eOnIifPTlPDPkP78+Naxaf3v0/zowfXRi+bFhLWUVv379/rnwPvszv3rye3LiPvnv+3MjPDasKiIS/789/3x2f747eXDg+7Mifvu0tu7f+/QkfDTnPXWmPrjsvrjtPbPgrqZW+/QlPz48K2EMv36866OUPvowat8Ivvgq/Pbrvzgq/PguvrgrqN0Gda2evfYm9+7d/rpw9q6e/LSku/Rl/XVl/LSlfrkt+zVqe7Wqv3x1/bNffbOf59wFdS6if3u0vrqyP3owPvepfXQivDQkO/PkKh9K7STVf779P///////yH5BAEAAH8ALAAAAAAQABAAAAfNgH+Cg36FfoOIhH4JBxBghYl/hQkNAV0IVT5GkJKLCwtQaSsSdx9aR26Gcwt2IkQaNRI6dBERIzCFDSgWSW8WCDkbBnoOQ3uFARc/JQJfCAZlT0x4ZFyFBxdNQT9ZCBNWKQoKUQ+FEDgcdTIAV14YDmg2CgSFA0hmQC5TLE4VRTdrKJAoxOeFCzZSwsw4U6BCizwUQhQyEaAPiAwCVNCY0FCNnA6GPAwYoETIFgY9loiRA4dToTYnsOxg8CBGHE6ICvEYQ4AKzkidfgoKBAA7" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/>
<a href="resource-definitions.html#Meta.tag" title="Meta.tag : Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.">tag</a>
<a name="Meta.tag"> </a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<span title="This element is included in summaries">Σ</span>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">0..*</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">
<a href="datatypes.html#Coding">Coding</a>
</td>
<td style="vertical-align: top; text-align : left; background-color: white; padding:0px 4px 0px 4px" class="hierarchy">Tags applied to this resource</td>
</tr>
<tr>
<td colspan="5" class="hierarchy">
<br/>
<a href="formats.html#table" title="Legend for this format">
<img src="help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format
</a>
</td>
</tr>
</table>
</div>
</text>
<url value="http://hl7.org/fhir/StructureDefinition/Meta"/>
<name value="Meta"/>
<status value="draft"/>
<publisher value="HL7 FHIR Standard"/>
<contact>
<telecom>
<system value="other"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<date value="2015-11-11T10:54:01-05:00"/>
<description value="Base StructureDefinition for Meta Type"/>
<fhirVersion value="1.0.2"/>
<mapping>
<identity value="rim"/> <identity value="rim"/>
<uri value="http://hl7.org/v3"/> <map value="n/a"/>
<name value="RIM"/> </mapping>
</mapping> </element>
<kind value="datatype"/> <element>
<abstract value="false"/> <path value="Meta.extension"/>
<base value="http://hl7.org/fhir/StructureDefinition/Element"/> <short value="Additional Content defined by implementations"/>
<snapshot> <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."/>
<element> <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."/>
<path value="Meta"/> <alias value="extensions"/>
<short value="Metadata about a resource"/> <alias value="user content"/>
<definition value="The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/> <min value="0"/>
<min value="0"/> <max value="*"/>
<max value="*"/> <type>
<type> <code value="Extension"/>
<code value="Element"/> </type>
</type> <mapping>
<isSummary value="true"/> <identity value="rim"/>
</element> <map value="n/a"/>
<element> </mapping>
<path value="Meta.id"/> </element>
<representation value="xmlAttr"/> <element>
<short value="xml:id (or equivalent in JSON)"/> <path value="Meta.versionId"/>
<definition value="unique id for the element within a resource (for internal references)."/> <short value="Version specific identifier"/>
<min value="0"/> <definition value="The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted."/>
<max value="1"/> <comments value="The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes."/>
<type> <min value="0"/>
<code value="id"/> <max value="1"/>
</type> <type>
<mapping> <code value="id"/>
<identity value="rim"/> </type>
<map value="n/a"/> <isSummary value="true"/>
</mapping> </element>
</element> <element>
<element> <path value="Meta.lastUpdated"/>
<path value="Meta.extension"/> <short value="When the resource version last changed"/>
<short value="Additional Content defined by implementations"/> <definition value="When the resource last changed - e.g. when the version changed."/>
<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="This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant."/>
<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."/> <min value="0"/>
<alias value="extensions"/> <max value="1"/>
<alias value="user content"/> <type>
<min value="0"/> <code value="instant"/>
<max value="*"/> </type>
<type> <isSummary value="true"/>
<code value="Extension"/> </element>
</type> <element>
<mapping> <path value="Meta.profile"/>
<identity value="rim"/> <short value="Profiles this resource claims to conform to"/>
<map value="n/a"/> <definition value="A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]."/>
</mapping> <comments value="It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set."/>
</element> <min value="0"/>
<element> <max value="*"/>
<path value="Meta.versionId"/> <type>
<short value="Version specific identifier"/> <code value="uri"/>
<definition value="The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted."/> </type>
<comments value="The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes."/> <isSummary value="true"/>
<min value="0"/> </element>
<max value="1"/> <element>
<type> <path value="Meta.security"/>
<code value="id"/> <short value="Security Labels applied to this resource"/>
</type> <definition value="Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure."/>
<isSummary value="true"/> <comments value="The security labels can be updated without changing the stated version of the resource The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored."/>
</element> <min value="0"/>
<element> <max value="*"/>
<path value="Meta.lastUpdated"/> <type>
<short value="When the resource version last changed"/> <code value="Coding"/>
<definition value="When the resource last changed - e.g. when the version changed."/> </type>
<comments value="This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant."/> <isSummary value="true"/>
<min value="0"/> <binding>
<max value="1"/> <strength value="extensible"/>
<type> <description value="Security Labels from the Healthcare Privacy and Security Classification System."/>
<code value="instant"/> <valueSetReference>
</type> <reference value="http://hl7.org/fhir/ValueSet/security-labels"/>
<isSummary value="true"/> </valueSetReference>
</element> </binding>
<element> </element>
<path value="Meta.profile"/> <element>
<short value="Profiles this resource claims to conform to"/> <path value="Meta.tag"/>
<definition value="A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]."/> <short value="Tags applied to this resource"/>
<comments value="It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set."/> <definition value="Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource."/>
<min value="0"/> <comments value="The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored."/>
<max value="*"/> <min value="0"/>
<type> <max value="*"/>
<code value="uri"/> <type>
</type> <code value="Coding"/>
<isSummary value="true"/> </type>
</element> <isSummary value="true"/>
<element> <binding>
<path value="Meta.security"/> <strength value="example"/>
<short value="Security Labels applied to this resource"/> <description value="Codes that represent various types of tags, commonly workflow-related; e.g. &quot;Needs review by Dr. Jones&quot;"/>
<definition value="Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure."/> </binding>
<comments value="The security labels can be updated without changing the stated version of the resource The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored."/> </element>
<min value="0"/> </snapshot>
<max value="*"/> <differential>
<type> <element>
<code value="Coding"/> <path value="Meta"/>
</type> <short value="Metadata about a resource"/>
<isSummary value="true"/> <definition value="The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
<binding> <min value="0"/>
<strength value="extensible"/> <max value="*"/>
<description value="Security Labels from the Healthcare Privacy and Security Classification System."/> <type>
<valueSetReference> <code value="Element"/>
<reference value="http://hl7.org/fhir/ValueSet/security-labels"/> </type>
</valueSetReference> <isSummary value="true"/>
</binding> </element>
</element> <element>
<element> <path value="Meta.versionId"/>
<path value="Meta.tag"/> <short value="Version specific identifier"/>
<short value="Tags applied to this resource"/> <definition value="The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted."/>
<definition value="Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource."/> <comments value="The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes."/>
<comments value="The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored."/> <min value="0"/>
<min value="0"/> <max value="1"/>
<max value="*"/> <type>
<type> <code value="id"/>
<code value="Coding"/> </type>
</type> <isSummary value="true"/>
<isSummary value="true"/> </element>
<binding> <element>
<strength value="example"/> <path value="Meta.lastUpdated"/>
<description value="Codes that represent various types of tags, commonly workflow-related; e.g. &quot;Needs review by Dr. Jones&quot;"/> <short value="When the resource version last changed"/>
</binding> <definition value="When the resource last changed - e.g. when the version changed."/>
</element> <comments value="This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant."/>
</snapshot> <min value="0"/>
<differential> <max value="1"/>
<element> <type>
<path value="Meta"/> <code value="instant"/>
<short value="Metadata about a resource"/> </type>
<definition value="The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/> <isSummary value="true"/>
<min value="0"/> </element>
<max value="*"/> <element>
<type> <path value="Meta.profile"/>
<code value="Element"/> <short value="Profiles this resource claims to conform to"/>
</type> <definition value="A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]."/>
<isSummary value="true"/> <comments value="It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set."/>
</element> <min value="0"/>
<element> <max value="*"/>
<path value="Meta.versionId"/> <type>
<short value="Version specific identifier"/> <code value="uri"/>
<definition value="The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted."/> </type>
<comments value="The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes."/> <isSummary value="true"/>
<min value="0"/> </element>
<max value="1"/> <element>
<type> <path value="Meta.security"/>
<code value="id"/> <short value="Security Labels applied to this resource"/>
</type> <definition value="Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure."/>
<isSummary value="true"/> <comments value="The security labels can be updated without changing the stated version of the resource The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored."/>
</element> <min value="0"/>
<element> <max value="*"/>
<path value="Meta.lastUpdated"/> <type>
<short value="When the resource version last changed"/> <code value="Coding"/>
<definition value="When the resource last changed - e.g. when the version changed."/> </type>
<comments value="This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant."/> <isSummary value="true"/>
<min value="0"/> <binding>
<max value="1"/> <strength value="extensible"/>
<type> <description value="Security Labels from the Healthcare Privacy and Security Classification System."/>
<code value="instant"/> <valueSetReference>
</type> <reference value="http://hl7.org/fhir/ValueSet/security-labels"/>
<isSummary value="true"/> </valueSetReference>
</element> </binding>
<element> </element>
<path value="Meta.profile"/> <element>
<short value="Profiles this resource claims to conform to"/> <path value="Meta.tag"/>
<definition value="A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]."/> <short value="Tags applied to this resource"/>
<comments value="It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set."/> <definition value="Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource."/>
<min value="0"/> <comments value="The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored."/>
<max value="*"/> <min value="0"/>
<type> <max value="*"/>
<code value="uri"/> <type>
</type> <code value="Coding"/>
<isSummary value="true"/> </type>
</element> <isSummary value="true"/>
<element> <binding>
<path value="Meta.security"/> <strength value="example"/>
<short value="Security Labels applied to this resource"/> <description value="Codes that represent various types of tags, commonly workflow-related; e.g. &quot;Needs review by Dr. Jones&quot;"/>
<definition value="Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure."/> </binding>
<comments value="The security labels can be updated without changing the stated version of the resource The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored."/> </element>
<min value="0"/> </differential>
<max value="*"/> </StructureDefinition>
<type>
<code value="Coding"/>
</type>
<isSummary value="true"/>
<binding>
<strength value="extensible"/>
<description value="Security Labels from the Healthcare Privacy and Security Classification System."/>
<valueSetReference>
<reference value="http://hl7.org/fhir/ValueSet/security-labels"/>
</valueSetReference>
</binding>
</element>
<element>
<path value="Meta.tag"/>
<short value="Tags applied to this resource"/>
<definition value="Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource."/>
<comments value="The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored."/>
<min value="0"/>
<max value="*"/>
<type>
<code value="Coding"/>
</type>
<isSummary value="true"/>
<binding>
<strength value="example"/>
<description value="Codes that represent various types of tags, commonly workflow-related; e.g. &quot;Needs review by Dr. Jones&quot;"/>
</binding>
</element>
</differential>
</StructureDefinition>

Some files were not shown because too many files have changed in this diff Show More