- HSPC Implementation Guide

This page is part of the HSPC FHIR Implementation Guide (v0.1.0: Daft For Comment Draft) based on FHIR v1.9.0. This is the current published version. For a full list of available versions, see the Directory of published versions

Period

Source: XML, JSON, Turtle

Differential

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1
... url 1..1uri"http://fhir.org/guides/hspc/StructureDefinition/hspc-location-servicedeliverylocationPeriod"
... value[x] 0..1Period

doco Documentation for this format

Snapshot

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..1Extension
ext-1: Must have either extensions or value[x], not both
... id 0..1stringxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
... url 1..1uri"http://fhir.org/guides/hspc/StructureDefinition/hspc-location-servicedeliverylocationPeriod"
... valuePeriod I0..1PeriodTime range defined by start and end date/time
per-1: If present, start SHALL have a lower value than end

doco Documentation for this format

Definitions

Extension(Period)
Definition

This is the range of dates that the particular location has the role of Service Delivery Location.

Control0..1
InvariantsDefined on this element
ext-1: Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]))
Extension.id
Definition

unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Control0..1
Typestring
Extension.extension
Definition

May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Control0..*
TypeExtension
Alternate Namesextensions, user content
Comments

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.

Extension.url
Definition

Source of the definition for the extension code - a logical name or a URL.

Control1..1
Typeuri
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.

Fixed Valuehttp://fhir.org/guides/hspc/StructureDefinition/hspc-location-servicedeliverylocationPeriod
Extension.valuePeriod
Definition

A time period defined by a start and end date and optionally time.

Control0..1
TypePeriod(Period)
Comments

This is not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). If duration is required, specify the type as Interval|Duration.

InvariantsDefined on this element
per-1: If present, start SHALL have a lower value than end (xpath: not(exists(f:start)) or not(exists(f:end)) or (f:start/@value <= f:end/@value))