{"abstract":false,"baseDefinition":"http://hl7.org/fhir/StructureDefinition/Extension","contact":[{"telecom":[{"system":"other","value":"HL7"}]}],"context":["MedicationDispense"],"contextType":"resource","date":"2015-02-17","derivation":"constraint","description":"The time interval when the medication must be administered. The start and end times must be expressed as dateTimes, not times relative to the dispensing time (e.g. use within 24 hours).","differential":{"element":[{"definition":"The time interval when the medication must be administered. The start and end times must be expressed as dateTimes, not times relative to the dispensing time (e.g. use within 24 hours).","id":"Extension:timeintervalformedicationadministration","max":"1","min":0,"path":"Extension","short":"Time interval for medication administration"},{"id":"Extension:timeintervalformedicationadministration.extension:extension","max":"0","name":"extension","path":"Extension.extension"},{"fixedUri":"http://hl7.org/fhir/StructureDefinition/medicationdispense-validityPeriod","id":"Extension:timeintervalformedicationadministration.url","path":"Extension.url","type":[{"code":"uri"}]},{"id":"Extension:timeintervalformedicationadministration.value[x]","min":1,"path":"Extension.value[x]","type":[{"code":"Period"}]}]},"display":"validityPeriod","fhirVersion":"1.6.0","id":"medicationdispense-validityPeriod","kind":"complex-type","mapping":[{"identity":"rim","name":"RIM Mapping","uri":"http://hl7.org/v3"}],"name":"Time interval for medication administration","publisher":"Health Level Seven, Inc. - FHIR WG","resourceType":"StructureDefinition","snapshot":{"element":[{"base":{"max":"*","min":0,"path":"Extension"},"condition":["ele-1"],"constraint":[{"expression":"children().count() > id.count()","human":"All FHIR elements must have a @value or children","key":"ele-1","severity":"error","xpath":"@value|f:*|h:div"},{"expression":"extension.exists() != value.exists()","human":"Must have either extensions or value[x], not both","key":"ext-1","severity":"error","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"}],"definition":"The time interval when the medication must be administered. The start and end times must be expressed as dateTimes, not times relative to the dispensing time (e.g. use within 24 hours).","id":"Extension:timeintervalformedicationadministration","max":"1","min":0,"path":"Extension","short":"Time interval for medication administration"},{"base":{"max":"*","min":0,"path":"Element.id"},"definition":"unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","id":"Extension:timeintervalformedicationadministration.id","mapping":[{"identity":"rim","map":"n/a"}],"max":"1","min":0,"path":"Extension.id","representation":["xmlAttr"],"short":"xml:id (or equivalent in JSON)","type":[{"code":"string"}]},{"base":{"max":"*","min":0,"path":"Element.extension"},"definition":"An Extension","id":"Extension:timeintervalformedicationadministration.extension:extension","max":"0","min":0,"name":"extension","path":"Extension.extension","short":"Extension","type":[{"code":"Extension"}]},{"base":{"max":"1","min":1,"path":"Extension.url"},"comments":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","definition":"Source of the definition for the extension code - a logical name or a URL.","fixedUri":"http://hl7.org/fhir/StructureDefinition/medicationdispense-validityPeriod","id":"Extension:timeintervalformedicationadministration.url","mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","type":[{"code":"uri"}]},{"base":{"max":"1","min":0,"path":"Extension.value[x]"},"definition":"Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).","id":"Extension:timeintervalformedicationadministration.valuePeriod","mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.valuePeriod","short":"Value of extension","type":[{"code":"Period"}]}]},"status":"draft","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/medicationdispense-validityPeriod"}