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

Map CDA section loinc codes to valid loinc displays #5

Open
chaseastewart opened this issue Feb 23, 2024 · 2 comments
Open

Map CDA section loinc codes to valid loinc displays #5

chaseastewart opened this issue Feb 23, 2024 · 2 comments
Labels
CDA->FHIR CDA to FHIR conversion

Comments

@chaseastewart
Copy link
Owner

chaseastewart commented Feb 23, 2024

Sample Validation Error

Wrong Display Name 'History of medication use' for http://loinc.org#10160-0. Valid display is one of 48 choices: 'History of Medication use Narrative', 'Hx of Medication use' (en-US)

See Document Section Codes

@chaseastewart chaseastewart added enhancement New feature or request CDA->FHIR CDA to FHIR conversion and removed enhancement New feature or request labels Feb 23, 2024
@agentgill
Copy link

agentgill commented Feb 23, 2024

Here are errors I was seeing

<OperationOutcome xmlns="http://hl7.org/fhir"><issue><severity value="error" /><code value="invalid" /><diagnostics value="'active' is not a valid EventStatus" /></issue></OperationOutcome>

<OperationOutcome xmlns="http://hl7.org/fhir"><issue><severity value="error" /><code value="invalid" /><diagnostics value="'ordered' is not a valid MedicationStatementStatus" /></issue></OperationOutcome>

<OperationOutcome xmlns="http://hl7.org/fhir"><issue><severity value="error" /><code value="invalid" /><diagnostics value="'2023-09-04T21:28:00' is not a valid date-time" /></issue></OperationOutcome>

@chaseastewart
Copy link
Owner Author

@agentgill See #8. There are missing mappings though they wouldn't account for 'ordered' since its not in ActStatus. The get_property filter will use the source status code when a mapping is not defined. The other issue is most likely because of #9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CDA->FHIR CDA to FHIR conversion
Projects
None yet
Development

No branches or pull requests

2 participants