Skip to content

Commit

Permalink
Add replaces and replaced-by extensions (#6636)
Browse files Browse the repository at this point in the history
* add new extensions

* spotless
  • Loading branch information
nathandoef authored Jan 21, 2025
1 parent 31653b2 commit 09286bb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions hapi-fhir-base/src/main/java/ca/uhn/fhir/util/HapiExtensions.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,18 @@ public class HapiExtensions {
public static final String EXTENSION_SEARCHPARAM_CUSTOM_TARGET_RESOURCE =
"http://hl7.org/fhir/tools/CustomTargetResource";

/**
* When a resource is replacing another resource, this extension can be added
* to include a reference to the resource that is being replaced.
*/
public static final String EXTENSION_REPLACES = "http://hapifhir.io/fhir/StructureDefinition/replaces";

/**
* When a resource is replaced by another resource, this extension can be added
* to include a reference to the resource that is replacing it.
*/
public static final String EXTENSION_REPLACED_BY = "http://hapifhir.io/fhir/StructureDefinition/replaced-by";

/**
* Non instantiable
*/
Expand Down

0 comments on commit 09286bb

Please sign in to comment.