Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Model Driven Health Tools » how to extract sdtc:deceasedInd froma patient/patientrole CDA R2 xml
how to extract sdtc:deceasedInd froma patient/patientrole CDA R2 xml [message #1831288] Sun, 16 August 2020 18:47 Go to next message
Santosh kumar is currently offline Santosh kumarFriend
Messages: 3
Registered: February 2019
Junior Member
HI,

i am trying to parse cda R2 xml and i am unable to extract the

<sdtc:deceasedInd value="true"/>

from CDA R2 ml.

i have used CDAUtil.load(in, ccdaValidator.getValidationResult());to load file andparser it.

can anyone help or suggest better approach to extract it.
Re: how to extract sdtc:deceasedInd froma patient/patientrole CDA R2 xml [message #1831329 is a reply to message #1831288] Mon, 17 August 2020 14:23 Go to previous messageGo to next message
Sean Muir is currently offline Sean MuirFriend
Messages: 64
Registered: September 2015
Member
Here is the method off of subject

org.eclipse.mdht.uml.cda.SubjectPerson.getSDTCDeceasedInd()

this will return a boolean - from your snippet hard to tell if the extension was encoded correctly

hope this helps

sean
Re: how to extract sdtc:deceasedInd froma patient/patientrole CDA R2 xml [message #1831336 is a reply to message #1831329] Mon, 17 August 2020 16:18 Go to previous messageGo to next message
Santosh kumar is currently offline Santosh kumarFriend
Messages: 3
Registered: February 2019
Junior Member
HI Sean,
Thanks for reply.

Here is the example which am referring http://cdasearch.hl7.org/examples/view/Header/Patient%20Deceased

<patient>
            <name use="L">
                <given>Adam</given>
                <family>Deadman</family>
            </name>
            <!-- Sex at birth and gender identity may be specified in social history -->
            <administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1" displayName="Male" codeSystemName="AdministrativeGender"/>
            <birthTime value="19521022"/>
            <!-- A full CDA example may include the Deceased Observation to indicate cause of death -->
            <!-- A Deceased Observation may be present in any section -- Problem List is a suitable location -->
            <sdtc:deceasedInd value="true" />
            <sdtc:deceasedTime value="20180315" />
            <maritalStatusCode code="M" displayName="Married" codeSystem="2.16.840.1.113883.5.2" codeSystemName="MaritalStatus"/>
            <religiousAffiliationCode code="1013" displayName="Christian (non-Catholic, non-specific)" codeSystem="2.16.840.1.113883.5.1076" codeSystemName="HL7 Religious Affiliation"/>
            <!-- CDC Race and Ethnicity code set contains the five minimum race and ethnicity categories defined by OMB Standards -->
            <raceCode code="2106-3" displayName="White" codeSystem="2.16.840.1.113883.6.238" codeSystemName="OMB Standards for Race and Ethnicity"/>
            <ethnicGroupCode code="2186-5" displayName="Not Hispanic or Latino" codeSystem="2.16.840.1.113883.6.238" codeSystemName="OMB Standards for Race and Ethnicity"/>
            <languageCommunication>
                <languageCode code="en-US"/>
                <!-- "eng" is ISO 639-2 alpha-3 code for "English" -->
                <modeCode code="ESP" displayName="Expressed spoken" codeSystem="2.16.840.1.113883.5.60" codeSystemName="LanguageAbilityMode"/>
                <proficiencyLevelCode code="E" displayName="Excellent" codeSystem="2.16.840.1.113883.5.61" codeSystemName="LanguageAbilityProficiency"/>
                <preferenceInd value="true"/>
            </languageCommunication>
        </patient>


how i get subject person using cda utils. Can you directly me any example code for it.

[Updated on: Mon, 17 August 2020 16:22]

Report message to a moderator

Re: how to extract sdtc:deceasedInd froma patient/patientrole CDA R2 xml [message #1831379 is a reply to message #1831329] Tue, 18 August 2020 15:58 Go to previous message
Santosh kumar is currently offline Santosh kumarFriend
Messages: 3
Registered: February 2019
Junior Member
i am unable to get subjectperson . can you please help me.
Previous Topic:Problems with installing the MDHT on mac
Next Topic:Exception when reading CCD in multithreading
Goto Forum:
  


Current Time: Sat Oct 12 20:06:15 GMT 2024

Powered by FUDForum. Page generated in 0.03288 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top