Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FHIR documentation URLs #35750

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading