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

[Bug]: Extracted code field may be missing content #428

Open
AnalogJ opened this issue Feb 22, 2024 · 3 comments
Open

[Bug]: Extracted code field may be missing content #428

AnalogJ opened this issue Feb 22, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@AnalogJ
Copy link
Member

AnalogJ commented Feb 22, 2024

Contact Details

No response

What happened?

The code database column is populated as [] because the documented code is blank (only Text is provided).

Flavor

Docker

Version

No response

Relevant log output

{
    "resourceType": "AllergyIntolerance",
    "id": "43ZU.9YY0T8NvTsQACfdhbr8O-rmXUqHNcKTL-UEyYI",
    "meta": {
        "lastUpdated": "2023-01-30T17:58:43.000-05:00",
        "profile": [
            "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance"
        ]
    },
    "text": {
        "status": "generated",
        "div": "\u003cdiv xmlns=\"http://www.w3.org/1999/xhtml\"\u003e\u003ctable border=\"1\"\u003e\u003ctbody\u003e\u003ctr\u003e\u003ctd\u003eStatus\u003c/td\u003e\u003ctd\u003e\u003cspan\u003eactive\u003c/span\u003e\u003c/td\u003e\u003c/tr\u003e\u003cspan\u003e\u003ctr\u003e\u003cspan\u003e\u003ctd\u003eAllergyIntolerance Name\u003c/td\u003e\u003ctd\u003e\u003cspan\u003emilk (May be Milk-related Compounds)\u003c/span\u003e\u003c/td\u003e\u003c/span\u003e\u003c/tr\u003e\u003c/span\u003e  \u003c!-- \u003ctr th:if=\"${resource.onset instanceof org.hl7.fhir.r4.model.DateTimeType}\"\u003e\u003ctd\u003eAllergyIntolerance date\u003c/td\u003e\u003ctd\u003e\u003cspan th:text=\"${#dates.format(resource.onsetDateTime.value,'dd MMMM yyyy')}\"\u003e\u003c/span\u003e\u003c/td\u003e\u003c/tr\u003e --\u003e\u003c/tbody\u003e\u003c/table\u003e\u003c/div\u003e"
    },
    "clinicalStatus": {
        "coding": [
            {
                "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
                "code": "active",
                "display": "Active"
            }
        ],
        "text": "Active"
    },
    "verificationStatus": {
        "coding": [
            {
                "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
                "code": "confirmed",
                "display": "Confirmed"
            }
        ],
        "text": "Confirmed"
    },
    "code": {
        "text": "milk (May be Milk-related Compounds)"
    },
    "patient": {
        "reference": "Patient/43ZU.9YY0T8NvTsQACfdhS-f4GgqOZw6UkUSPcyFzek",
        "type": "Patient"
    },
    "asserter": {
        "reference": "Practitioner/43ZU.9YY0T8NvTsQACfdhe5TMNNJZrkIJrpJkYDL3aI",
        "type": "Practitioner"
    }
}
@AnalogJ AnalogJ added the bug Something isn't working label Feb 22, 2024
@AnalogJ AnalogJ self-assigned this Feb 22, 2024
@AnalogJ
Copy link
Member Author

AnalogJ commented Feb 23, 2024

"reaction": [
        {
            "manifestation": [
                {
                    "text": "Side Effects : rash"
                }
            ]
        }
    ]

AllergyIntolerance manifestation is incorrectly set to []

@AnalogJ
Copy link
Member Author

AnalogJ commented Feb 23, 2024

    "onsetDateTime": "2023-01-28T00:00:00-05:00",

Incorrectly parsed as 0001-01-01 00:00:00+00:00?

@AnalogJ
Copy link
Member Author

AnalogJ commented Feb 23, 2024

Just realized that ☝️ may be incorrect, I'm using a database backup from a older version of Fasten that did not have fixes for document extraction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant