For an imaginary use case you want to reuse a set of profile, however, your system mandates that some elements are always present. To make sure only the required elements are processed and to provide documantation for implementation (derived) profile can be created.
Packages make it very easy to reuse profiles. A whole versioned set of profiles for further authoring can be obtained by downloading a package. Package dependencies ensure that the used profiles do not need to be included in your own project/package.
This exercise demonstrates how to create a derived profile based on a profile in the acme.base.r4 4.0.0 package.
acme.base.r4
All the profiles in the installed packages are now available in Forge. This makes creating a derived profile easy.
Create a derived profile of ACMEbaseObservationLab
acme.base.r4 4.0.1
package
We are now entering the FHIR profiling domain. Let's add some constraints to the profile to make it suitable for our imaginary FHIR implementation. The following steps show how to profile three different types of constraints. These are adjusting the cardinality of an element, constraining the type of an element and requiring the use of codes from a bound ValueSet by adjusting the ValueSet binding strength. Happy profiling!
Observation.value[x]
mandatory and constrain Observation.value[x]
to a Quantity DataType
Observation.value[x]
, set the cardinality 1..1 in the Element Properties screen on the right.
Observation.interpretation
interpretation
in the Element Tree
You have now created your own profile!
Powered by SIMPLIFIER.NET