Skip to content

Commit

Permalink
Merge pull request #35750 from dimagi/nh/fhir_docs
Browse files Browse the repository at this point in the history
Update FHIR documentation URLs
  • Loading branch information
kaapstorm authored Feb 11, 2025
2 parents f882180 + 22609be commit 828f2f1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion corehq/motech/fhir/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Tools for FHIR Bundles
For more information about Bundles, including examples, see the
`FHIR reference <https://www.hl7.org/fhir/bundle.html>`_.
`FHIR reference <https://hl7.org/fhir/R4/bundle.html>`_.
"""
from typing import Generator, Optional
Expand Down
4 changes: 2 additions & 2 deletions corehq/motech/fhir/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
(OWNER_TYPE_USER, _('User')),
]

# See https://www.hl7.org/fhir/valueset-bundle-type.html
# See https://hl7.org/fhir/R4/valueset-bundle-type.html
FHIR_BUNDLE_TYPES = {
'document',
'message',
Expand All @@ -35,7 +35,7 @@
XMLNS_FHIR = 'http://commcarehq.org/x/fhir/engine-read'

# The URI to identify CommCare as the system responsible for allocating
# case IDs. See https://www.hl7.org/fhir/datatypes.html#Identifier
# case IDs. See https://hl7.org/fhir/R4/datatypes.html#Identifier
SYSTEM_URI_CASE_ID = 'http://commcarehq.org/x/fhir/case-id'

FHIR_DATA_TYPE_LIST_OF_STRING = 'fhir_list_of_string'
Expand Down
2 changes: 1 addition & 1 deletion corehq/motech/fhir/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def claim_service_request(requests, service_request, case_id, attempt=0):
"""
Uses `ETag`_ to prevent a race condition.
.. _ETag: https://www.hl7.org/fhir/http.html#concurrency
.. _ETag: https://hl7.org/fhir/R4/http.html#concurrency
"""
endpoint = f"ServiceRequest/{service_request['id']}"
response = requests.get(endpoint, raise_for_status=True)
Expand Down
2 changes: 1 addition & 1 deletion docs/fhir/fhir_import_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ some of the imported values before overwriting existing values on the
case. It is wise to confirm with the delivery team how to treat case
properties that can be edited.

.. _Patient search parameters: https://www.hl7.org/fhir/patient.html#search
.. _Patient search parameters: https://hl7.org/fhir/R4/patient.html#search


Configuring related resources
Expand Down
2 changes: 1 addition & 1 deletion docs/fhir/fhir_repeater.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,4 @@ Testing as the app is built catches problems early, and increases
confidence in the app and the integration.


.. _fhir-ref: https://www.hl7.org/fhir/
.. _fhir-ref: https://hl7.org/fhir/R4/
4 changes: 2 additions & 2 deletions docs/fhir/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ to become more familiar with JSONPath.


.. _JSONPath: https://goessner.net/articles/JsonPath/
.. _FHIR Patient: https://www.hl7.org/fhir/patient.html#resource
.. _HumanName: https://www.hl7.org/fhir/datatypes.html#HumanName
.. _FHIR Patient: https://hl7.org/fhir/R4/patient.html#resource
.. _HumanName: https://hl7.org/fhir/R4/datatypes.html#HumanName
.. _JSONPath expression syntax: https://goessner.net/articles/JsonPath/index.html#e2
.. _JSONPath Online Evaluator: https://jsonpath.com/
.. _Postman REST Client: https://www.postman.com/product/rest-client/
Expand Down

0 comments on commit 828f2f1

Please sign in to comment.