openIMIS FHIR R4 Implementation Guide
1.0.0 - ci-build

openIMIS FHIR R4 Implementation Guide - Local Development build (v1.0.0). See the Directory of published versions

Extension: Unit Price (Medication|ActivityDefinition)

Official URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/unit-price Version: 1.0.0
Active as of 2022-05-31 Responsible: openIMIS Initiative Computable Name: UnitPriceExtension

The unit price for a Medication or ActivityDefinition.

Context of Use

This extension may be used on the following element(s):

  • OpenIMISMedication
  • OpenIMISActivityDefinition
  • OpenIMISInvoice

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Mandatory: 0 element (1 nested mandatory element)
Fixed Value: 1 element
Prohibited: 1 element

Slices

This structure defines the following Slices:

  • The element Extension.value[x] is sliced based on the value of type:$this

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Extension.value[x]:valueMoney.currencyrequiredCurrencies

Constraints

IdGradePathDetailsRequirements
ele-1errorExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueMoneyAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueMoney.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.value[x]:valueMoney.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.value[x]:valueMoney.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueMoney.currencyAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())