public final class SourceMetadataUtil extends Object
Modifier and Type | Method and Description |
---|---|
static int |
getEncounterNum(SourceData sourcedata) |
static long |
getInstanceNum(SourceData sourcedata) |
static long |
getPatientNum(org.apache.uima.jcas.JCas jcas) |
static String |
getProviderId(SourceData sourcedata) |
static SourceData |
getSourceData(org.apache.uima.jcas.JCas jcas)
The first step in utilizing SourceData is getting it!
|
static Timestamp |
getStartDate(SourceData sourcedata) |
public static long getPatientNum(org.apache.uima.jcas.JCas jcas)
jcas
- ye olde jay-caspublic static SourceData getSourceData(org.apache.uima.jcas.JCas jcas)
jcas
- ye olde jay-caspublic static long getInstanceNum(SourceData sourcedata) throws org.apache.uima.resource.ResourceProcessException
sourcedata
- -org.apache.uima.resource.ResourceProcessException
- if the internal value is not parseable as longpublic static int getEncounterNum(SourceData sourcedata) throws org.apache.uima.resource.ResourceProcessException
sourcedata
- -org.apache.uima.resource.ResourceProcessException
- if the encounter id does not exist or is not parseable as an intpublic static String getProviderId(SourceData sourcedata)
sourcedata
- -public static Timestamp getStartDate(SourceData sourcedata)
sourcedata
- -Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.