time.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="time" />
  4   <meta>
  5     <lastUpdated value="2019-10-31T23:29:23.356+01:00" />
  6   </meta>
  7   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
  8     <valueCode value="normative" />
  9   </extension>
 10   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
 11     <valueCode value="4.0.0" />
 12   </extension>
 13   <url value="http://hl7.org/fhir/StructureDefinition/time" />
 14   <version value="4.0.1" />
 15   <name value="time" />
 16   <status value="active" />
 17   <date value="2019-10-31T23:29:23.0000000+01:00" />
 18   <publisher value="HL7 FHIR Standard" />
 19   <contact>
 20     <telecom>
 21       <system value="url" />
 22       <value value="http://hl7.org/fhir" />
 23     </telecom>
 24   </contact>
 25   <description value="Base StructureDefinition for time Type: A time during the day, with no date specified" />
 26   <fhirVersion value="4.0.1" />
 27   <kind value="primitive-type" />
 28   <abstract value="false" />
 29   <type value="time" />
 30   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
 31   <derivation value="specialization" />
 32   <snapshot>
 33     <element id="time">
 34       <path value="time" />
 35       <short value="Primitive Type time" />
 36       <definition value="A time during the day, with no date specified" />
 37       <min value="0" />
 38       <max value="*" />
 39       <base>
 40         <path value="time" />
 41         <min value="0" />
 42         <max value="*" />
 43       </base>
 44       <constraint>
 45         <key value="ele-1" />
 46         <severity value="error" />
 47         <human value="All FHIR elements must have a @value or children" />
 48         <expression value="hasValue() or (children().count() > id.count())" />
 49         <xpath value="@value|f:*|h:div" />
 50         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 51       </constraint>
 52       <isModifier value="false" />
 53       <isSummary value="false" />
 54     </element>
 55     <element id="time.id">
 56       <path value="time.id" />
 57       <representation value="xmlAttr" />
 58       <short value="xml:id (or equivalent in JSON)" />
 59       <definition value="unique id for the element within a resource (for internal references)" />
 60       <min value="0" />
 61       <max value="1" />
 62       <base>
 63         <path value="Element.id" />
 64         <min value="0" />
 65         <max value="1" />
 66       </base>
 67       <type>
 68         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
 69           <valueUrl value="string" />
 70         </extension>
 71         <code value="http://hl7.org/fhirpath/System.String" />
 72       </type>
 73       <isModifier value="false" />
 74       <isSummary value="false" />
 75     </element>
 76     <element id="time.extension">
 77       <path value="time.extension" />
 78       <short value="Additional content defined by implementations" />
 79       <definition value="May be used to represent additional information that is not part of the basic definition of the resource. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
 80       <comment 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." />
 81       <alias value="extensions" />
 82       <alias value="user content" />
 83       <min value="0" />
 84       <max value="*" />
 85       <base>
 86         <path value="Element.extension" />
 87         <min value="0" />
 88         <max value="*" />
 89       </base>
 90       <type>
 91         <code value="Extension" />
 92       </type>
 93       <constraint>
 94         <key value="ele-1" />
 95         <severity value="error" />
 96         <human value="All FHIR elements must have a @value or children" />
 97         <expression value="hasValue() or (children().count() > id.count())" />
 98         <xpath value="@value|f:*|h:div" />
 99         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
100       </constraint>
101       <constraint>
102         <key value="ext-1" />
103         <severity value="error" />
104         <human value="Must have either extensions or value[x], not both" />
105         <expression value="extension.exists() != value.exists()" />
106         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
107         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
108       </constraint>
109       <isModifier value="false" />
110       <isSummary value="false" />
111     </element>
112     <element id="time.value">
113       <path value="time.value" />
114       <representation value="xmlAttr" />
115       <short value="Primitive value for time" />
116       <definition value="The actual value" />
117       <min value="0" />
118       <max value="1" />
119       <base>
120         <path value="time.value" />
121         <min value="0" />
122         <max value="1" />
123       </base>
124       <type>
125         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
126           <valueUrl value="time" />
127         </extension>
128         <extension url="http://hl7.org/fhir/StructureDefinition/regex">
129           <valueString value="([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]+)?" />
130         </extension>
131         <code value="http://hl7.org/fhirpath/System.Time" />
132       </type>
133       <isModifier value="false" />
134       <isSummary value="false" />
135     </element>
136   </snapshot>
137   <differential>
138     <element id="time">
139       <path value="time" />
140       <short value="Primitive Type time" />
141       <definition value="A time during the day, with no date specified" />
142       <min value="0" />
143       <max value="*" />
144     </element>
145     <element id="time.value">
146       <path value="time.value" />
147       <representation value="xmlAttr" />
148       <short value="Primitive value for time" />
149       <definition value="Primitive value for time" />
150       <min value="0" />
151       <max value="1" />
152       <type>
153         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
154           <valueUrl value="time" />
155         </extension>
156         <extension url="http://hl7.org/fhir/StructureDefinition/regex">
157           <valueString value="([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]+)?" />
158         </extension>
159         <code value="http://hl7.org/fhirpath/System.Time" />
160       </type>
161     </element>
162   </differential>
163 </StructureDefinition>