HL7 FHIR JP Core ImplementationGuide
1.1.1 - ci-build Japan flag

HL7 FHIR JP Core ImplementationGuide - Local Development build (v1.1.1). See the Directory of published versions

Data Type Profile: JP Core Medication Timing DataType

項目内容
定義URL http://jpfhir.jp/fhir/core/StructureDefinition/JP_MedicationTiming
Version 1.1.1
Name

JP_MedicationTiming

Title

JP Core Medication Timing DataType

Status Active ( 2022-10-24 )
Copyright

Copyright FHIR Japanese implementation research working group in Japan Association of Medical Informatics (JAMI) 一般社団法人日本医療情報学会NeXEHRS課題研究会FHIR日本実装検討WG

このデータタイプはTiming DataTypeに対して、薬剤に関するタイミング定義を行なったものである


Usage:

プロファイル詳細

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

This structure is derived from Timing

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. Timing 0..*Timing投与日時
... event 0..*dateTime服用もしくは注射を行なうタイミングを示す時刻
... repeat 0..1Elementイベントが発生する時刻
.... bounds[x] 0..1Duration, Range, Period服用・注射開始日から服用・注射終了日までの全日数
.... count 0..1positiveInt繰り返し服用もしくは注射回数
.... countMax 0..1positiveInt繰り返しの最大回数
.... duration 0..1decimal継続時間
.... durationMax 0..1decimal継続時間(最大値)
.... durationUnit 0..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
.... frequency 0..1positiveInt期間内にイベントが発生する回数、頻度
.... frequencyMax 0..1positiveInt期間内にイベントが発生する最大回数、最大頻度
.... period 0..1decimalイベントが発生する頻度に対応する期間
.... periodMax 0..1decimal期間の上限(3-4時間)
.... periodUnit 0..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
.... dayOfWeek 0..*codemon | tue | wed | thu | fri | sat | sun
.... timeOfDay 0..*time一日の間で投与される時刻
.... when 0..*code投薬期間についてのコード
.... offset 0..1unsignedIntイベントからの時間(分、前後)
... code 0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Timing 0..*Timing投与日時
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
... event Σ0..*dateTime服用もしくは注射を行なうタイミングを示す時刻
... repeat ΣC0..1Elementイベントが発生する時刻
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... bounds[x] Σ0..1服用・注射開始日から服用・注射終了日までの全日数
..... boundsDurationDuration
..... boundsRangeRange
..... boundsPeriodPeriod
.... count Σ0..1positiveInt繰り返し服用もしくは注射回数
.... countMax Σ0..1positiveInt繰り返しの最大回数
.... duration Σ0..1decimal継続時間
.... durationMax Σ0..1decimal継続時間(最大値)
.... durationUnit Σ0..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).

.... frequency Σ0..1positiveInt期間内にイベントが発生する回数、頻度
.... frequencyMax Σ0..1positiveInt期間内にイベントが発生する最大回数、最大頻度
.... period Σ0..1decimalイベントが発生する頻度に対応する期間
.... periodMax Σ0..1decimal期間の上限(3-4時間)
.... periodUnit Σ0..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).

.... dayOfWeek Σ0..*codemon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
.... timeOfDay Σ0..*time一日の間で投与される時刻
.... when Σ0..*code投薬期間についてのコード
Binding: EventTiming (required): Real world event relating to the schedule.


.... offset Σ0..1unsignedIntイベントからの時間(分、前後)
... code Σ0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.


doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Timing.repeat.durationUnitrequiredUnitsOfTime
Timing.repeat.periodUnitrequiredUnitsOfTime
Timing.repeat.dayOfWeekrequiredDaysOfWeek
Timing.repeat.whenrequiredEventTiming
Timing.codepreferredTimingAbbreviation

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
tim-1errorTiming.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorTiming.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorTiming.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorTiming.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorTiming.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorTiming.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorTiming.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorTiming.repeatIf 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-10errorTiming.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

This structure is derived from Timing

Summary

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Timing 0..*Timing投与日時
... event 0..*dateTime服用もしくは注射を行なうタイミングを示す時刻
... repeat 0..1Elementイベントが発生する時刻
.... bounds[x] 0..1Duration, Range, Period服用・注射開始日から服用・注射終了日までの全日数
.... count 0..1positiveInt繰り返し服用もしくは注射回数
.... countMax 0..1positiveInt繰り返しの最大回数
.... duration 0..1decimal継続時間
.... durationMax 0..1decimal継続時間(最大値)
.... durationUnit 0..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
.... frequency 0..1positiveInt期間内にイベントが発生する回数、頻度
.... frequencyMax 0..1positiveInt期間内にイベントが発生する最大回数、最大頻度
.... period 0..1decimalイベントが発生する頻度に対応する期間
.... periodMax 0..1decimal期間の上限(3-4時間)
.... periodUnit 0..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
.... dayOfWeek 0..*codemon | tue | wed | thu | fri | sat | sun
.... timeOfDay 0..*time一日の間で投与される時刻
.... when 0..*code投薬期間についてのコード
.... offset 0..1unsignedIntイベントからの時間(分、前後)
... code 0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Timing 0..*Timing投与日時
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
... event Σ0..*dateTime服用もしくは注射を行なうタイミングを示す時刻
... repeat ΣC0..1Elementイベントが発生する時刻
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... bounds[x] Σ0..1服用・注射開始日から服用・注射終了日までの全日数
..... boundsDurationDuration
..... boundsRangeRange
..... boundsPeriodPeriod
.... count Σ0..1positiveInt繰り返し服用もしくは注射回数
.... countMax Σ0..1positiveInt繰り返しの最大回数
.... duration Σ0..1decimal継続時間
.... durationMax Σ0..1decimal継続時間(最大値)
.... durationUnit Σ0..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).

.... frequency Σ0..1positiveInt期間内にイベントが発生する回数、頻度
.... frequencyMax Σ0..1positiveInt期間内にイベントが発生する最大回数、最大頻度
.... period Σ0..1decimalイベントが発生する頻度に対応する期間
.... periodMax Σ0..1decimal期間の上限(3-4時間)
.... periodUnit Σ0..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).

.... dayOfWeek Σ0..*codemon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
.... timeOfDay Σ0..*time一日の間で投与される時刻
.... when Σ0..*code投薬期間についてのコード
Binding: EventTiming (required): Real world event relating to the schedule.


.... offset Σ0..1unsignedIntイベントからの時間(分、前後)
... code Σ0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.


doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Timing.repeat.durationUnitrequiredUnitsOfTime
Timing.repeat.periodUnitrequiredUnitsOfTime
Timing.repeat.dayOfWeekrequiredDaysOfWeek
Timing.repeat.whenrequiredEventTiming
Timing.codepreferredTimingAbbreviation

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
tim-1errorTiming.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorTiming.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorTiming.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorTiming.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorTiming.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorTiming.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorTiming.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorTiming.repeatIf 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-10errorTiming.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

 

Other representations of profile: CSV, Excel, Schematron