1.0.0 - ci-build

JPCoreV1 - Local Development build (v1.0.0). See the Directory of published versions

Resource Profile: JP_Medication

Defining URL:http://jpfhir.jp/fhir/core/StructureDefinition/JP_Medication
Version:1.0.0
Name:JP_Medication
Status:Active as of 12/4/21, 9:24 AM
Definition:

このプロファイルはMedicationリソースに対して、主に薬剤データを送受信するための基礎となる制約と拡張を定めたものである。

Publisher:JAMI
Copyright:

FHIR® Japanese implementation research working group in Japan Association of Medical Informatics (JAMI)

Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://jpfhir.jp/fhir/core/StructureDefinition/JP_Medication

Formal Views of Profile Content

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

This structure is derived from Medication

Summary

Mandatory: 1 element (1 nested mandatory element)
Must-Support: 2 elements
Fixed Value: 1 element

Extensions

This structure refers to these extensions:

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..*MedicationMedication Resourceの定義
... id 0..1stringこのアーチファクトに対する論理ID
... meta 0..1Metaこのresourceに対するメタデータ。
... identifier 0..*Identifierこの薬剤に関する業務用のID
... status 1..1codeactive | inactive | entered-in-error
Fixed Value: active
... manufacturer 0..1Reference(Organization)製品の製造者
... form 0..1CodeableConceptpowder | tablets | capsule +
... amount 0..1Ratioパッケージ中の薬剤の量
... ingredient 0..*BackboneElement薬効がある、あるいは薬効を伴わない成分
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... JP_Medication_Ingredient_DrugNo 0..*integerRP内の薬剤の連番
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Medication_Ingredient_DrugNo
.... item[x] S1..1CodeableConcept有効な成分あるいは含有物
.... isActive 0..1boolean有効成分の指標
.... strength S1..1Ratio成分の活性量
..... JP_Medication_IngredientStrength_StrengthType 0..*CodeableConcept力価区分
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Medication_IngredientStrength_StrengthType
... batch 0..1BackboneElement分包された薬剤についての詳細な解説
.... lotNumber 0..1stringバッチのID
.... expirationDate 0..1dateTimeこのバッチの期限が切れるとき

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..*MedicationMedication Resourceの定義
... id Σ0..1stringこのアーチファクトに対する論理ID
... meta Σ0..1Metaこのresourceに対するメタデータ。
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*Identifierこの薬剤に関する業務用のID
... code Σ0..1CodeableConceptこの薬剤を特定するコード
Binding: SNOMEDCTMedicationCodes (preferred): 薬品の種類を規定するコード化された概念

... status ?!Σ1..1codeactive | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.


Fixed Value: active
... manufacturer Σ0..1Reference(Organization)製品の製造者
... form 0..1CodeableConceptpowder | tablets | capsule +
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.

... amount Σ0..1Ratioパッケージ中の薬剤の量
... ingredient 0..*BackboneElement薬効がある、あるいは薬効を伴わない成分
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... JP_Medication_Ingredient_DrugNo 0..*integerRP内の薬剤の連番
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Medication_Ingredient_DrugNo
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... item[x] S1..1CodeableConcept有効な成分あるいは含有物
.... isActive 0..1boolean有効成分の指標
.... strength S1..1Ratio成分の活性量
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... JP_Medication_IngredientStrength_StrengthType 0..*CodeableConcept力価区分
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Medication_IngredientStrength_StrengthType
..... numerator Σ0..1QuantityNumerator value
..... denominator Σ0..1QuantityDenominator value
... batch 0..1BackboneElement分包された薬剤についての詳細な解説
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... lotNumber 0..1stringバッチのID
.... expirationDate 0..1dateTimeこのバッチの期限が切れるとき

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..*MedicationMedication Resourceの定義
... ingredient 0..*BackboneElement薬効がある、あるいは薬効を伴わない成分
.... item[x] 1..1CodeableConcept有効な成分あるいは含有物
.... strength 1..1Ratio成分の活性量

doco Documentation for this format

This structure is derived from Medication

Summary

Mandatory: 1 element (1 nested mandatory element)
Must-Support: 2 elements
Fixed Value: 1 element

Extensions

This structure refers to these extensions:

Differential View

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..*MedicationMedication Resourceの定義
... id 0..1stringこのアーチファクトに対する論理ID
... meta 0..1Metaこのresourceに対するメタデータ。
... identifier 0..*Identifierこの薬剤に関する業務用のID
... status 1..1codeactive | inactive | entered-in-error
Fixed Value: active
... manufacturer 0..1Reference(Organization)製品の製造者
... form 0..1CodeableConceptpowder | tablets | capsule +
... amount 0..1Ratioパッケージ中の薬剤の量
... ingredient 0..*BackboneElement薬効がある、あるいは薬効を伴わない成分
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... JP_Medication_Ingredient_DrugNo 0..*integerRP内の薬剤の連番
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Medication_Ingredient_DrugNo
.... item[x] S1..1CodeableConcept有効な成分あるいは含有物
.... isActive 0..1boolean有効成分の指標
.... strength S1..1Ratio成分の活性量
..... JP_Medication_IngredientStrength_StrengthType 0..*CodeableConcept力価区分
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Medication_IngredientStrength_StrengthType
... batch 0..1BackboneElement分包された薬剤についての詳細な解説
.... lotNumber 0..1stringバッチのID
.... expirationDate 0..1dateTimeこのバッチの期限が切れるとき

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..*MedicationMedication Resourceの定義
... id Σ0..1stringこのアーチファクトに対する論理ID
... meta Σ0..1Metaこのresourceに対するメタデータ。
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*Identifierこの薬剤に関する業務用のID
... code Σ0..1CodeableConceptこの薬剤を特定するコード
Binding: SNOMEDCTMedicationCodes (preferred): 薬品の種類を規定するコード化された概念

... status ?!Σ1..1codeactive | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.


Fixed Value: active
... manufacturer Σ0..1Reference(Organization)製品の製造者
... form 0..1CodeableConceptpowder | tablets | capsule +
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.

... amount Σ0..1Ratioパッケージ中の薬剤の量
... ingredient 0..*BackboneElement薬効がある、あるいは薬効を伴わない成分
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... JP_Medication_Ingredient_DrugNo 0..*integerRP内の薬剤の連番
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Medication_Ingredient_DrugNo
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... item[x] S1..1CodeableConcept有効な成分あるいは含有物
.... isActive 0..1boolean有効成分の指標
.... strength S1..1Ratio成分の活性量
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... JP_Medication_IngredientStrength_StrengthType 0..*CodeableConcept力価区分
URL: http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Medication_IngredientStrength_StrengthType
..... numerator Σ0..1QuantityNumerator value
..... denominator Σ0..1QuantityDenominator value
... batch 0..1BackboneElement分包された薬剤についての詳細な解説
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... lotNumber 0..1stringバッチのID
.... expirationDate 0..1dateTimeこのバッチの期限が切れるとき

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / Code
Medication.languagepreferredCommonLanguages
Max Binding: AllLanguages
Medication.codepreferredSNOMEDCTMedicationCodes
Medication.statusrequiredFixed Value: active
Medication.formexampleSNOMEDCTFormCodes

Constraints

IdGradePathDetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6Best PracticeMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1errorMedication.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedication.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedication.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedication.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedication.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.manufacturerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.formAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.amountAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.ingredientAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.ingredient.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedication.ingredient.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedication.ingredient.extension:DrugNoAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedication.ingredient.extension:DrugNoMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedication.ingredient.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedication.ingredient.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedication.ingredient.item[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.ingredient.isActiveAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.ingredient.strengthAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.ingredient.strength.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedication.ingredient.strength.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedication.ingredient.strength.extension:StrenghtTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedication.ingredient.strength.extension:StrenghtTypeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedication.ingredient.strength.numeratorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.ingredient.strength.denominatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.batchAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.batch.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedication.batch.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedication.batch.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedication.batch.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedication.batch.lotNumberAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedication.batch.expirationDateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())