HL7 FHIR JP Core ImplementationGuide
1.1.1 - release Japan flag

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

Data Type Profile: JP Core MedicationDosage DataType

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

JP_MedicationDosage

Title

JP Core MedicationDosage DataType

Status Active ( 2022-10-24 )
Copyright

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

このデータタイプは内服用法の制約と拡張のうち共通部分を定めている。


Usage:

プロファイル詳細

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Dosage 0..*JP_MedicationDosageBase薬の服用方法・服用した方法、または服用すべき方法
... periodOfUse 0..1Period投与期間の開始日を明示するための拡張
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_MedicationDosage_PeriodOfUse
... usageDuration 0..1Duration実投与日数
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_MedicationDosage_UsageDuration
... timing
.... repeat
..... boundsDuration 0..1Duration服用・注射開始日から服用・注射終了日までの全日数
...... value 0..1decimal投薬日数
...... unit 0..1string投薬日数の単位
Fixed Value:
...... system 0..1uriUCUM
Fixed Value: http://unitsofmeasure.org
...... code 0..1code投与日数の単位
Fixed Value: d
.... code 0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +
Binding: JP Core Medication JAMI Usage ValueSet (preferred)
... doseAndRate
.... doseQuantity 0..1JP_MedicationSimpleQuantity1回投与量
.... rateRatio 0..1JP_MedicationRatio_DosePerDay1日当たりでの薬剤の投入量
.... rateRange 0..1JP_MedicationRange_UnitOfTime範囲指定された時間の上限下限
.... rateQuantity 0..1SimpleQuantity投与速度(量/時間)を指定する

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Dosage 0..*JP_MedicationDosageBase薬の服用方法・服用した方法、または服用すべき方法
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... periodOfUse 0..1Period投与期間の開始日を明示するための拡張
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_MedicationDosage_PeriodOfUse
... usageDuration 0..1Duration実投与日数
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_MedicationDosage_UsageDuration
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
... sequence Σ0..1integer服用指示の順番
... text Σ0..1string投与⽅法のテキスト表現
... additionalInstruction Σ0..*CodeableConcept患者に対する補足指示や注意。たとえば、「食事と一緒に」「眠くなることがある」
Binding: JP Core Medication JAMI Additional Usage ValueSet (preferred)
... patientInstruction Σ0..1string患者あるいは消費者向けの指示
... timing 0..1JP_MedicationTiming投与日時
.... 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
..... Slices for bounds[x] Σ0..1服用・注射開始日から服用・注射終了日までの全日数
Slice: Unordered, Open by type:$this
...... boundsDurationDuration
...... boundsRangeRange
...... boundsPeriodPeriod
...... bounds[x]:boundsDuration Σ0..1Duration服用・注射開始日から服用・注射終了日までの全日数
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... value Σ0..1decimal投薬日数
....... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

....... unit Σ0..1string投薬日数の単位
Fixed Value:
....... system ΣC0..1uriUCUM
Fixed Value: http://unitsofmeasure.org
....... code Σ0..1code投与日数の単位
Fixed Value: d
..... 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: JP Core Medication JAMI Usage ValueSet (preferred)
... asNeeded[x] Σ0..1boolean「頓用」指示
... site Σ0..1CodeableConcept投与される身体部位
Binding: JP Core Medication JAMI External Body Site ValueSet (preferred)
... route Σ0..1CodeableConcept投与経路
Binding: JP Core Medication HL70162-based Route ValueSet (preferred)
... method Σ0..1CodeableConcept投与方法
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ0..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:unitDigit1 Σ0..1Coding投与⽅法に対応するJAMI 用法コード表基本用法1桁コード
Binding: JP Core Medication JAMI Basic Usage Type ValueSet (preferred)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: urn:oid:1.2.392.200250.2.2.20.30
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:unitDigit2 Σ0..1Coding投与⽅法に対応するJAMI 用法コード表基本用法2桁コード
Binding: JP Core Medication JAMI Detail Usage ValueSet (preferred)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: urn:oid:1.2.392.200250.2.2.20.40
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1string投与⽅法のテキスト表現
... doseAndRate Σ0..*Element薬剤の投与量
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... type Σ0..1CodeableConcept力価区分
Binding: JP Core Medication IngredientStrength StrengthType ValueSet (preferred)
.... Slices for dose[x] C0..1SimpleQuantityA fixed quantity (no comparator)
Slice: Unordered, Closed by type:$this
..... dose[x]:doseQuantity C0..1JP_MedicationSimpleQuantity1回投与量
.... Slices for rate[x] Σ0..1薬剤の投与量速度
Slice: Unordered, Closed by type:$this
..... rateRatioRatio
..... rateRangeRange
..... rateQuantityQuantity(SimpleQuantity)
..... rate[x]:rateRatio C0..1JP_MedicationRatio_DosePerDay1日当たりでの薬剤の投入量
..... rate[x]:rateRange C0..1JP_MedicationRange_UnitOfTime範囲指定された時間の上限下限
..... rate[x]:rateQuantity C0..1SimpleQuantity投与速度(量/時間)を指定する
... maxDosePerPeriod C0..1JP_MedicationRatio_DosePerPeriod単位時間当たりの投薬量の上限
... maxDosePerAdministration C0..1JP_MedicationSimpleQuantity1回あたりの投薬量の上限
... maxDosePerLifetime C0..1JP_MedicationSimpleQuantity生涯の投薬量の上限

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Dosage.additionalInstructionpreferredJP_MedicationUsageJAMIAdditional_VS (a valid code from urn:oid:1.2.392.200250.2.2.20.22)
Dosage.timing.repeat.bounds[x]:boundsDuration.comparatorrequiredQuantityComparator
Dosage.timing.repeat.durationUnitrequiredUnitsOfTime
Dosage.timing.repeat.periodUnitrequiredUnitsOfTime
Dosage.timing.repeat.dayOfWeekrequiredDaysOfWeek
Dosage.timing.repeat.whenrequiredEventTiming
Dosage.timing.codepreferredJP_MedicationUsageJAMI_VS (a valid code from urn:oid:1.2.392.200250.2.2.20)
Dosage.sitepreferredJP_MedicationBodySiteJAMIExternal_VS (a valid code from urn:oid:1.2.392.200250.2.2.20.32)
Dosage.routepreferredJP_MedicationRouteHL70162_VS (a valid code from http://jpfhir.jp/fhir/core/CodeSystem/route-codes)
Dosage.methodexampleSNOMEDCTAdministrationMethodCodes
Dosage.method.coding:unitDigit1preferredJP_MedicationMethodJAMIBasicUsage_VS (a valid code from urn:oid:1.2.392.200250.2.2.20.30)
Dosage.method.coding:unitDigit2preferredJP_MedicationMethodJAMIDetailUsage_VS (a valid code from urn:oid:1.2.392.200250.2.2.20.40)
Dosage.doseAndRate.typepreferredJP_MedicationIngredientStrengthStrengthType_VS (a valid code from urn:oid:1.2.392.100495.20.2.22)

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()
qty-3errorDosage.doseAndRate.dose[x], Dosage.doseAndRate.dose[x]:doseQuantity, Dosage.doseAndRate.rate[x]:rateQuantity, Dosage.maxDosePerAdministration, Dosage.maxDosePerLifetimeIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
rat-1errorDosage.doseAndRate.rate[x]:rateRatio, Dosage.maxDosePerPeriodNumerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
: (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())
rng-2errorDosage.doseAndRate.rate[x]:rateRangeIf present, low SHALL have a lower value than high
: low.empty() or high.empty() or (low <= high)
sqty-1errorDosage.doseAndRate.dose[x], Dosage.doseAndRate.dose[x]:doseQuantity, Dosage.maxDosePerAdministration, Dosage.maxDosePerLifetimeThe comparator is not used on a SimpleQuantity
: comparator.empty()
sqty-1errorDosage.doseAndRate.rate[x]:rateQuantityThe comparator is not used on a SimpleQuantity
: comparator.empty()
tim-1errorDosage.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorDosage.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorDosage.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorDosage.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorDosage.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorDosage.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorDosage.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorDosage.timing.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-10errorDosage.timing.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Dosage 0..*JP_MedicationDosageBase薬の服用方法・服用した方法、または服用すべき方法
... periodOfUse 0..1Period投与期間の開始日を明示するための拡張
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_MedicationDosage_PeriodOfUse
... usageDuration 0..1Duration実投与日数
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_MedicationDosage_UsageDuration
... timing
.... repeat
..... boundsDuration 0..1Duration服用・注射開始日から服用・注射終了日までの全日数
...... value 0..1decimal投薬日数
...... unit 0..1string投薬日数の単位
Fixed Value:
...... system 0..1uriUCUM
Fixed Value: http://unitsofmeasure.org
...... code 0..1code投与日数の単位
Fixed Value: d
.... code 0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +
Binding: JP Core Medication JAMI Usage ValueSet (preferred)
... doseAndRate
.... doseQuantity 0..1JP_MedicationSimpleQuantity1回投与量
.... rateRatio 0..1JP_MedicationRatio_DosePerDay1日当たりでの薬剤の投入量
.... rateRange 0..1JP_MedicationRange_UnitOfTime範囲指定された時間の上限下限
.... rateQuantity 0..1SimpleQuantity投与速度(量/時間)を指定する

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Dosage 0..*JP_MedicationDosageBase薬の服用方法・服用した方法、または服用すべき方法
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... periodOfUse 0..1Period投与期間の開始日を明示するための拡張
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_MedicationDosage_PeriodOfUse
... usageDuration 0..1Duration実投与日数
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_MedicationDosage_UsageDuration
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
... sequence Σ0..1integer服用指示の順番
... text Σ0..1string投与⽅法のテキスト表現
... additionalInstruction Σ0..*CodeableConcept患者に対する補足指示や注意。たとえば、「食事と一緒に」「眠くなることがある」
Binding: JP Core Medication JAMI Additional Usage ValueSet (preferred)
... patientInstruction Σ0..1string患者あるいは消費者向けの指示
... timing 0..1JP_MedicationTiming投与日時
.... 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
..... Slices for bounds[x] Σ0..1服用・注射開始日から服用・注射終了日までの全日数
Slice: Unordered, Open by type:$this
...... boundsDurationDuration
...... boundsRangeRange
...... boundsPeriodPeriod
...... bounds[x]:boundsDuration Σ0..1Duration服用・注射開始日から服用・注射終了日までの全日数
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... value Σ0..1decimal投薬日数
....... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

....... unit Σ0..1string投薬日数の単位
Fixed Value:
....... system ΣC0..1uriUCUM
Fixed Value: http://unitsofmeasure.org
....... code Σ0..1code投与日数の単位
Fixed Value: d
..... 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: JP Core Medication JAMI Usage ValueSet (preferred)
... asNeeded[x] Σ0..1boolean「頓用」指示
... site Σ0..1CodeableConcept投与される身体部位
Binding: JP Core Medication JAMI External Body Site ValueSet (preferred)
... route Σ0..1CodeableConcept投与経路
Binding: JP Core Medication HL70162-based Route ValueSet (preferred)
... method Σ0..1CodeableConcept投与方法
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ0..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:unitDigit1 Σ0..1Coding投与⽅法に対応するJAMI 用法コード表基本用法1桁コード
Binding: JP Core Medication JAMI Basic Usage Type ValueSet (preferred)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: urn:oid:1.2.392.200250.2.2.20.30
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:unitDigit2 Σ0..1Coding投与⽅法に対応するJAMI 用法コード表基本用法2桁コード
Binding: JP Core Medication JAMI Detail Usage ValueSet (preferred)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: urn:oid:1.2.392.200250.2.2.20.40
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1string投与⽅法のテキスト表現
... doseAndRate Σ0..*Element薬剤の投与量
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... type Σ0..1CodeableConcept力価区分
Binding: JP Core Medication IngredientStrength StrengthType ValueSet (preferred)
.... Slices for dose[x] C0..1SimpleQuantityA fixed quantity (no comparator)
Slice: Unordered, Closed by type:$this
..... dose[x]:doseQuantity C0..1JP_MedicationSimpleQuantity1回投与量
.... Slices for rate[x] Σ0..1薬剤の投与量速度
Slice: Unordered, Closed by type:$this
..... rateRatioRatio
..... rateRangeRange
..... rateQuantityQuantity(SimpleQuantity)
..... rate[x]:rateRatio C0..1JP_MedicationRatio_DosePerDay1日当たりでの薬剤の投入量
..... rate[x]:rateRange C0..1JP_MedicationRange_UnitOfTime範囲指定された時間の上限下限
..... rate[x]:rateQuantity C0..1SimpleQuantity投与速度(量/時間)を指定する
... maxDosePerPeriod C0..1JP_MedicationRatio_DosePerPeriod単位時間当たりの投薬量の上限
... maxDosePerAdministration C0..1JP_MedicationSimpleQuantity1回あたりの投薬量の上限
... maxDosePerLifetime C0..1JP_MedicationSimpleQuantity生涯の投薬量の上限

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Dosage.additionalInstructionpreferredJP_MedicationUsageJAMIAdditional_VS (a valid code from urn:oid:1.2.392.200250.2.2.20.22)
Dosage.timing.repeat.bounds[x]:boundsDuration.comparatorrequiredQuantityComparator
Dosage.timing.repeat.durationUnitrequiredUnitsOfTime
Dosage.timing.repeat.periodUnitrequiredUnitsOfTime
Dosage.timing.repeat.dayOfWeekrequiredDaysOfWeek
Dosage.timing.repeat.whenrequiredEventTiming
Dosage.timing.codepreferredJP_MedicationUsageJAMI_VS (a valid code from urn:oid:1.2.392.200250.2.2.20)
Dosage.sitepreferredJP_MedicationBodySiteJAMIExternal_VS (a valid code from urn:oid:1.2.392.200250.2.2.20.32)
Dosage.routepreferredJP_MedicationRouteHL70162_VS (a valid code from http://jpfhir.jp/fhir/core/CodeSystem/route-codes)
Dosage.methodexampleSNOMEDCTAdministrationMethodCodes
Dosage.method.coding:unitDigit1preferredJP_MedicationMethodJAMIBasicUsage_VS (a valid code from urn:oid:1.2.392.200250.2.2.20.30)
Dosage.method.coding:unitDigit2preferredJP_MedicationMethodJAMIDetailUsage_VS (a valid code from urn:oid:1.2.392.200250.2.2.20.40)
Dosage.doseAndRate.typepreferredJP_MedicationIngredientStrengthStrengthType_VS (a valid code from urn:oid:1.2.392.100495.20.2.22)

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()
qty-3errorDosage.doseAndRate.dose[x], Dosage.doseAndRate.dose[x]:doseQuantity, Dosage.doseAndRate.rate[x]:rateQuantity, Dosage.maxDosePerAdministration, Dosage.maxDosePerLifetimeIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
rat-1errorDosage.doseAndRate.rate[x]:rateRatio, Dosage.maxDosePerPeriodNumerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
: (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())
rng-2errorDosage.doseAndRate.rate[x]:rateRangeIf present, low SHALL have a lower value than high
: low.empty() or high.empty() or (low <= high)
sqty-1errorDosage.doseAndRate.dose[x], Dosage.doseAndRate.dose[x]:doseQuantity, Dosage.maxDosePerAdministration, Dosage.maxDosePerLifetimeThe comparator is not used on a SimpleQuantity
: comparator.empty()
sqty-1errorDosage.doseAndRate.rate[x]:rateQuantityThe comparator is not used on a SimpleQuantity
: comparator.empty()
tim-1errorDosage.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorDosage.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorDosage.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorDosage.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorDosage.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorDosage.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorDosage.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorDosage.timing.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-10errorDosage.timing.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