Create Extensions Using FHIR Profiling

Create extensions using FHIR profiling to meet the business requirements.

To create an extension using FHIR profiling, perform the following steps:
  1. Define an extension.

    For more information, see Define the ExtensionInformation published on non-SAP site.

  2. Register an extension.

    The defined extension is registered using FHIR packages. The defined extension is brought as part of a custom FHIR package. For more information, see Custom FHIR Package.

  3. Use an extension in the instance of the resource.

    For more information, see Use it in the InstanceInformation published on non-SAP site.

Example

Let's consider a scenario where you need to store information about the patient being an organ donor or not. The default FHIR profile doesn't have such a field where this data can be stored, but you can extend it to include a new field for this purpose.
  1. Define the extension to store the donor status.

  2. Add the extension in the Patient profile.

  3. Create an instance of the Patient resource and include donor status information. For example, a patient named Peter KM who is a donor.