Standard Health Record

RecurrenceRangeExtension

 

The official URL for this extension is:

http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-RecurrenceRange-extension

The start and end of the overall recurrence pattern in terms of dates/times or in terms of number of repeats. Could also be an event, such as when all doses are taken.

This extension was published on Wed Aug 22 00:00:00 EDT 2018 as a draft by The MITRE Corporation: Standard Health Record Collaborative.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR RecurrenceRange Extension
choice-1: shr-core-RecurrenceRange-extension SHALL have either extension('timeperiod') or extension('numberofrepeats')
... shr-core-TimePeriod-extension 0..1PeriodSHR TimePeriod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension
... shr-core-NumberOfRepeats-extension 0..1positiveIntSHR NumberOfRepeats Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-NumberOfRepeats-extension
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-RecurrenceRange-extension"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR RecurrenceRange Extension
choice-1: shr-core-RecurrenceRange-extension SHALL have either extension('timeperiod') or extension('numberofrepeats')
... id 0..1stringxml:id (or equivalent in JSON)
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... shr-core-TimePeriod-extension 0..1PeriodSHR TimePeriod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension
... shr-core-NumberOfRepeats-extension 0..1positiveIntSHR NumberOfRepeats Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-NumberOfRepeats-extension
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-RecurrenceRange-extension"

doco Documentation for this format

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR RecurrenceRange Extension
choice-1: shr-core-RecurrenceRange-extension SHALL have either extension('timeperiod') or extension('numberofrepeats')
... shr-core-TimePeriod-extension 0..1PeriodSHR TimePeriod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension
... shr-core-NumberOfRepeats-extension 0..1positiveIntSHR NumberOfRepeats Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-NumberOfRepeats-extension
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-RecurrenceRange-extension"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR RecurrenceRange Extension
choice-1: shr-core-RecurrenceRange-extension SHALL have either extension('timeperiod') or extension('numberofrepeats')
... id 0..1stringxml:id (or equivalent in JSON)
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... shr-core-TimePeriod-extension 0..1PeriodSHR TimePeriod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension
... shr-core-NumberOfRepeats-extension 0..1positiveIntSHR NumberOfRepeats Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-NumberOfRepeats-extension
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-RecurrenceRange-extension"

doco Documentation for this format

Downloads: StructureDefinition: (XML, JSON, TTL), Schema: XML Schematron

 

 

Constraints

IdPathDetailsRequirements
ele-1ExtensionAll FHIR elements must have a @value or children
: children().count() > id.count()
ext-1ExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
choice-1Extensionshr-core-RecurrenceRange-extension SHALL have either extension('timeperiod') or extension('numberofrepeats')
: ( extension('timeperiod').url | extension('numberofrepeats').url ).distinct().count() == 1