Skip to content

Comments

Transform relative URLs in search parameter documentation to absolu…#7509

Open
jkiddo wants to merge 1 commit intohapifhir:masterfrom
trifork:fix/adjust-generated-links
Open

Transform relative URLs in search parameter documentation to absolu…#7509
jkiddo wants to merge 1 commit intohapifhir:masterfrom
trifork:fix/adjust-generated-links

Conversation

@jkiddo
Copy link
Contributor

@jkiddo jkiddo commented Jan 29, 2026

…te HL7 FHIR URLs

Search parameter descriptions from the FHIR spec contain relative markdown
links like CarePlan which don't resolve correctly when
displayed in capability statements outside the HL7 website context.

This change transforms these relative links to absolute URLs pointing to
the correct FHIR version-specific HL7 specification, e.g.:
CarePlan -> CarePlan

The transformation is FHIR version-aware, using the appropriate base URL
for each version (DSTU2, STU3, R4, R4B, R5).

This relates to #7508

…e HL7 FHIR URLs

  Search parameter descriptions from the FHIR spec contain relative markdown
  links like [CarePlan](careplan.html) which don't resolve correctly when
  displayed in capability statements outside the HL7 website context.

  This change transforms these relative links to absolute URLs pointing to
  the correct FHIR version-specific HL7 specification, e.g.:
  [CarePlan](careplan.html) -> [CarePlan](https://hl7.org/fhir/R4/careplan.html)

  The transformation is FHIR version-aware, using the appropriate base URL
  for each version (DSTU2, STU3, R4, R4B, R5).
@jkiddo jkiddo marked this pull request as ready for review January 29, 2026 12:22
@robogary
Copy link
Contributor

Formatting check succeeded!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants