This page is part of the Da Vinci Prior Authorization Support (PAS) FHIR IG (v0.1.0: STU 1 Ballot 1) based on FHIR R4. The current version which supercedes this version is 1.1.0. For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-timing
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Timing
This structure is derived from Timing
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Timing | 0..* | |||
repeat | S | 0..1 | Element | |
boundsDuration | S | 0..1 | Duration | |
duration | S | 0..1 | decimal | |
durationUnit | S | 0..1 | code | |
period | S | 0..1 | decimal | |
periodUnit | S | 0..1 | code | |
dayOfWeek | S | 0..* | code | |
extension-calendarPattern | S | 0..* | code | Extension URL: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-calendarPattern |
when | S | 0..* | code | |
extension-deliveryPattern | S | 0..* | code | Extension URL: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-deliveryPattern |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Timing | 0..* | A timing schedule that specifies an event that may occur multiple times | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
event | Σ | 0..* | dateTime | When the event occurs |
repeat | SΣI | 0..1 | Element | When the event is to occur |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
bounds[x] | Σ | (Slice Definition) | Length/Range of lengths, or (Start and/or end) limits Slice: Unordered, Closed by type:$this | |
boundsDuration | SΣ | 0..1 | Duration | Length/Range of lengths, or (Start and/or end) limits |
count | Σ | 0..1 | positiveInt | Number of times to repeat |
countMax | Σ | 0..1 | positiveInt | Maximum number of times to repeat |
duration | SΣ | 0..1 | decimal | How long when it happens |
durationMax | Σ | 0..1 | decimal | How long when it happens (Max) |
durationUnit | SΣ | 0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required) |
frequency | Σ | 0..1 | positiveInt | Event occurs frequency times per period |
frequencyMax | Σ | 0..1 | positiveInt | Event occurs up to frequencyMax times per period |
period | SΣ | 0..1 | decimal | Event occurs frequency times per period |
periodMax | Σ | 0..1 | decimal | Upper limit of period (3-4 hours) |
periodUnit | SΣ | 0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required) |
dayOfWeek | SΣ | 0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required) |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
extension-calendarPattern | SI | 0..* | code | Extension URL: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-calendarPattern |
value | 0..1 | string | Primitive value for code | |
timeOfDay | Σ | 0..* | time | Time of day for action |
when | SΣ | 0..* | code | Code for time period of occurrence Binding: EventTiming (required) |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
extension-deliveryPattern | SI | 0..* | code | Extension URL: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-deliveryPattern |
value | 0..1 | string | Primitive value for code | |
offset | Σ | 0..1 | unsignedInt | Minutes from event (before or after) |
code | Σ | 0..1 | CodeableConcept | BID | TID | QID | AM | PM | QD | QOD | + Binding: TimingAbbreviation (preferred) |
Documentation for this format |
This structure is derived from Timing
Differential View
This structure is derived from Timing
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Timing | 0..* | |||
repeat | S | 0..1 | Element | |
boundsDuration | S | 0..1 | Duration | |
duration | S | 0..1 | decimal | |
durationUnit | S | 0..1 | code | |
period | S | 0..1 | decimal | |
periodUnit | S | 0..1 | code | |
dayOfWeek | S | 0..* | code | |
extension-calendarPattern | S | 0..* | code | Extension URL: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-calendarPattern |
when | S | 0..* | code | |
extension-deliveryPattern | S | 0..* | code | Extension URL: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-deliveryPattern |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Timing | 0..* | A timing schedule that specifies an event that may occur multiple times | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
event | Σ | 0..* | dateTime | When the event occurs |
repeat | SΣI | 0..1 | Element | When the event is to occur |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
bounds[x] | Σ | (Slice Definition) | Length/Range of lengths, or (Start and/or end) limits Slice: Unordered, Closed by type:$this | |
boundsDuration | SΣ | 0..1 | Duration | Length/Range of lengths, or (Start and/or end) limits |
count | Σ | 0..1 | positiveInt | Number of times to repeat |
countMax | Σ | 0..1 | positiveInt | Maximum number of times to repeat |
duration | SΣ | 0..1 | decimal | How long when it happens |
durationMax | Σ | 0..1 | decimal | How long when it happens (Max) |
durationUnit | SΣ | 0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required) |
frequency | Σ | 0..1 | positiveInt | Event occurs frequency times per period |
frequencyMax | Σ | 0..1 | positiveInt | Event occurs up to frequencyMax times per period |
period | SΣ | 0..1 | decimal | Event occurs frequency times per period |
periodMax | Σ | 0..1 | decimal | Upper limit of period (3-4 hours) |
periodUnit | SΣ | 0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required) |
dayOfWeek | SΣ | 0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required) |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
extension-calendarPattern | SI | 0..* | code | Extension URL: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-calendarPattern |
value | 0..1 | string | Primitive value for code | |
timeOfDay | Σ | 0..* | time | Time of day for action |
when | SΣ | 0..* | code | Code for time period of occurrence Binding: EventTiming (required) |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
extension-deliveryPattern | SI | 0..* | code | Extension URL: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-deliveryPattern |
value | 0..1 | string | Primitive value for code | |
offset | Σ | 0..1 | unsignedInt | Minutes from event (before or after) |
code | Σ | 0..1 | CodeableConcept | BID | TID | QID | AM | PM | QD | QOD | + Binding: TimingAbbreviation (preferred) |
Documentation for this format |
Other representations of profile: Schematron
Path | Conformance | ValueSet |
Timing.repeat.durationUnit | required | UnitsOfTime |
Timing.repeat.periodUnit | required | UnitsOfTime |
Timing.repeat.dayOfWeek | required | DaysOfWeek |
Timing.repeat.when | required | EventTiming |
Timing.code | preferred | TimingAbbreviation |
Id | Path | Details | Requirements |
ele-1 | Timing.repeat | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
tim-9 | Timing.repeat | If there's an offset, there must be a when (and not C, CM, CD, CV) : offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not())) | |
tim-5 | Timing.repeat | period SHALL be a non-negative value : period.exists() implies period >= 0 | |
tim-6 | Timing.repeat | If there's a periodMax, there must be a period : periodMax.empty() or period.exists() | |
tim-7 | Timing.repeat | If there's a durationMax, there must be a duration : durationMax.empty() or duration.exists() | |
tim-8 | Timing.repeat | If there's a countMax, there must be a count : countMax.empty() or count.exists() | |
tim-1 | Timing.repeat | if there's a duration, there needs to be duration units : duration.empty() or durationUnit.exists() | |
tim-10 | Timing.repeat | If there's a timeOfDay, there cannot be a when, or vice versa : timeOfDay.empty() or when.empty() | |
tim-2 | Timing.repeat | if there's a period, there needs to be period units : period.empty() or periodUnit.exists() | |
tim-4 | Timing.repeat | duration SHALL be a non-negative value : duration.exists() implies duration >= 0 | |
ele-1 | Timing.repeat.dayOfWeek.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Timing.repeat.dayOfWeek.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Timing.repeat.dayOfWeek.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Timing.repeat.dayOfWeek.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Timing.repeat.when.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Timing.repeat.when.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Timing.repeat.when.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Timing.repeat.when.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |