Standard Health Record FHIR Implementation Guide

SHR RecurrenceRange Extension

 

The official URL for this profile 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 profile builds on Extension.

This profile was published on Wed Dec 20 00:00:00 EST 2017 as a draft by The MITRE Corporation: Standard Health Record Collaborative.

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR RecurrenceRange Extension
choice-1: shr-core-RecurrenceRange-extension SHALL have either extension('timeperiod') or extension('numberofrepeats')
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-RecurrenceRange-extension"
... value[x] 0..0
... 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

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)
... 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')
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-RecurrenceRange-extension"
... value[x] 0..0
... 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

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)
... 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