-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
This occurs with the frequently used meta.lastUpdated field. If this is changed, it will break any code that currently uses the name meta_tag_lastUpated.*.
E.g.
generic_codeable_to_dict({
'tag': [
{
"system": "http://lifeomic.com/fhir/group",
"code": "group-code-id",
},
],
'other': 'ok',
})
>>>
{'tag_other': 'ok',
'tag_system__lifeomic.com/fhir/group__code': 'group-code-id'}
Code references:
phc-sdk-py/phc/easy/codeable.py
Lines 94 to 98 in 4aeee26
| if "tag" in codeable_dict: | |
| return ( | |
| [without_keys(codeable_dict, ["tag"]), *codeable_dict["tag"]], | |
| join_underscore([prefix, "tag"]), | |
| ) |
phc-sdk-py/tests/test_codeable.py
Line 54 in 0638200
| "tag_lastUpdated": "2019-08-13T17:47:18.957Z", |
HL7 FHIR Resources docs. See Meta.lastUpdated and Meta.tag:
Metadata
Metadata
Assignees
Labels
No labels