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

feat(schema): add support for extensions on primitive types #7

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

mikix
Copy link
Contributor

@mikix mikix commented Nov 1, 2024

i.e. add support for "sunder" fields like _status (sibling of status).

See http://hl7.org/fhir/R4/json.html#primitive for more details.

Example:

{
  "birthDate": "1970-03-30",
  "_birthDate": {
    "id": "314159",
    "extension": [ {
       "url": "http://example.org/fhir/StructureDefinition/text",
       "valueString": "Easter 1970"
    }]
  }
}

These fields will be in the resulting schema if they are present in the input rows, else they will be left off.

Copy link

github-actions bot commented Nov 1, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
151 151 100% 99% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
cumulus_fhir_support/init.py 100% 🟢
cumulus_fhir_support/schemas.py 100% 🟢
TOTAL 100% 🟢

updated for commit: 538d1a6 by action🐍

Copy link

github-actions bot commented Nov 1, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
152 152 100% 99% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
cumulus_fhir_support/init.py 100% 🟢
cumulus_fhir_support/schemas.py 100% 🟢
TOTAL 100% 🟢

updated for commit: fa30247 by action🐍

i.e. add support for "sunder" fields like _status (sibling of status).

See http://hl7.org/fhir/R4/json.html#primitive for more details.

Example:
{
  "birthDate": "1970-03-30",
  "_birthDate": {
    "id": "314159",
    "extension": [ {
       "url": "http://example.org/fhir/StructureDefinition/text",
       "valueString": "Easter 1970"
    }]
  }
}

These fields will be in the resulting schema if they are present in the
input rows, else they will be left off.
@mikix mikix merged commit 0da25c6 into main Nov 1, 2024
6 checks passed
@mikix mikix deleted the mikix/sunders branch November 1, 2024 19:23
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