Ask Your Question
4

How can the URLs in a FHIR bundle be revised to correspond to a different domain?

asked 2022-06-19 11:00:00 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-11-03 23:00:00 +0000

david gravatar image

To revise the URLs in a FHIR bundle to correspond to a different domain, you can use a FHIR server or a FHIR client. Here are the following steps:

  1. Get the FHIR Bundle: Obtain the FHIR bundle containing the resources that you want to update.

  2. Extract the Resource IDs: Extract the resource IDs from the URLs in the bundle using regular expressions, and store them in a list.

  3. Build the New URLs: Build the new URLs with the desired domain name using the resource IDs stored in the list.

  4. Update the Resource URLs: Update the URLs in the resources to the new domain URLs.

  5. Build the Updated Bundle: Build the updated bundle with the updated URLs.

  6. Save the Updated Bundle: Save the updated bundle to the FHIR server, or use it for further processing.

Note: It's essential to ensure that the new URLs are valid and conform to the FHIR standard before saving the updated bundle.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-06-19 11:00:00 +0000

Seen: 1 times

Last updated: Nov 03 '21