Package org.hl7.fhir.convertors.misc
Class Convert
- java.lang.Object
-
- org.hl7.fhir.convertors.misc.Convert
-
-
Constructor Summary
Constructors Constructor Description Convert(CDAUtilities cda, org.fhir.ucum.UcumService ucumSvc, String defaultTimezone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getOids()booleanisGenerateMissingExtensions()booleanisGuid(String r)org.hl7.fhir.dstu3.model.AddressmakeAddressFromAD(Element e)org.hl7.fhir.dstu3.model.CodeableConceptmakeCodeableConceptFromCD(Element cv)org.hl7.fhir.dstu3.model.TypemakeCodeableConceptFromNullFlavor(String nf)org.hl7.fhir.dstu3.model.CodingmakeCodingFromCV(Element cd)org.hl7.fhir.dstu3.model.ContactPointmakeContactFromTEL(Element e)org.hl7.fhir.dstu3.model.DateTypemakeDateFromTS(Element ts)org.hl7.fhir.dstu3.model.DateTimeTypemakeDateTimeFromIVL(Element ivl)org.hl7.fhir.dstu3.model.DateTimeTypemakeDateTimeFromTS(Element ts)org.hl7.fhir.dstu3.model.Enumerations.AdministrativeGendermakeGenderFromCD(Element cd)org.hl7.fhir.dstu3.model.IdentifiermakeIdentifierFromII(Element e)org.hl7.fhir.dstu3.model.InstantTypemakeInstantFromTS(Element child)org.hl7.fhir.dstu3.model.TypemakeMatchingTypeFromIVL(Element ivl)org.hl7.fhir.dstu3.model.HumanNamemakeNameFromEN(Element e)org.hl7.fhir.dstu3.model.PeriodmakePeriodFromIVL(Element ivl)org.hl7.fhir.dstu3.model.QuantitymakeQuantityFromPQ(Element pq)org.hl7.fhir.dstu3.model.QuantitymakeQuantityFromPQ(Element pq, String units)org.hl7.fhir.dstu3.model.RangemakeRangeFromIVLPQ(Element ivlpq)org.hl7.fhir.dstu3.model.SimpleQuantitymakeSimpleQuantityFromPQ(Element pq, String units)org.hl7.fhir.dstu3.model.TypemakeSomethingFromGTS(List<Element> children)org.hl7.fhir.dstu3.model.StringTypemakeString(String v)org.hl7.fhir.dstu3.model.TypemakeStringFromED(Element e)org.hl7.fhir.dstu3.model.TypemakeTypeFromANY(Element e)StringmakeURIfromII(Element e)voidsetGenerateMissingExtensions(boolean generateMissingExtensions)
-
-
-
Constructor Detail
-
Convert
public Convert(CDAUtilities cda, org.fhir.ucum.UcumService ucumSvc, String defaultTimezone)
-
-
Method Detail
-
makeIdentifierFromII
public org.hl7.fhir.dstu3.model.Identifier makeIdentifierFromII(Element e) throws Exception
- Throws:
Exception
-
makeURIfromII
public String makeURIfromII(Element e)
-
makeInstantFromTS
public org.hl7.fhir.dstu3.model.InstantType makeInstantFromTS(Element child) throws Exception
- Throws:
Exception
-
makeCodeableConceptFromCD
public org.hl7.fhir.dstu3.model.CodeableConcept makeCodeableConceptFromCD(Element cv) throws Exception
- Throws:
Exception
-
makeCodingFromCV
public org.hl7.fhir.dstu3.model.Coding makeCodingFromCV(Element cd) throws Exception
- Throws:
Exception
-
makeAddressFromAD
public org.hl7.fhir.dstu3.model.Address makeAddressFromAD(Element e)
-
makeString
public org.hl7.fhir.dstu3.model.StringType makeString(String v)
-
makeContactFromTEL
public org.hl7.fhir.dstu3.model.ContactPoint makeContactFromTEL(Element e) throws Exception
- Throws:
Exception
-
makeNameFromEN
public org.hl7.fhir.dstu3.model.HumanName makeNameFromEN(Element e)
-
makeDateTimeFromTS
public org.hl7.fhir.dstu3.model.DateTimeType makeDateTimeFromTS(Element ts) throws Exception
- Throws:
Exception
-
makeDateFromTS
public org.hl7.fhir.dstu3.model.DateType makeDateFromTS(Element ts) throws Exception
- Throws:
Exception
-
makePeriodFromIVL
public org.hl7.fhir.dstu3.model.Period makePeriodFromIVL(Element ivl) throws Exception
- Throws:
Exception
-
makeDateTimeFromIVL
public org.hl7.fhir.dstu3.model.DateTimeType makeDateTimeFromIVL(Element ivl) throws Exception
- Throws:
Exception
-
makeStringFromED
public org.hl7.fhir.dstu3.model.Type makeStringFromED(Element e) throws Exception
- Throws:
Exception
-
makeTypeFromANY
public org.hl7.fhir.dstu3.model.Type makeTypeFromANY(Element e) throws Exception
- Throws:
Exception
-
makeMatchingTypeFromIVL
public org.hl7.fhir.dstu3.model.Type makeMatchingTypeFromIVL(Element ivl) throws Exception
- Throws:
Exception
-
makeCodeableConceptFromNullFlavor
public org.hl7.fhir.dstu3.model.Type makeCodeableConceptFromNullFlavor(String nf) throws Exception
- Throws:
Exception
-
makeRangeFromIVLPQ
public org.hl7.fhir.dstu3.model.Range makeRangeFromIVLPQ(Element ivlpq) throws Exception
- Throws:
Exception
-
makeQuantityFromPQ
public org.hl7.fhir.dstu3.model.Quantity makeQuantityFromPQ(Element pq) throws Exception
- Throws:
Exception
-
makeQuantityFromPQ
public org.hl7.fhir.dstu3.model.Quantity makeQuantityFromPQ(Element pq, String units) throws Exception
- Throws:
Exception
-
makeSimpleQuantityFromPQ
public org.hl7.fhir.dstu3.model.SimpleQuantity makeSimpleQuantityFromPQ(Element pq, String units) throws Exception
- Throws:
Exception
-
makeGenderFromCD
public org.hl7.fhir.dstu3.model.Enumerations.AdministrativeGender makeGenderFromCD(Element cd) throws Exception
- Throws:
Exception
-
makeSomethingFromGTS
public org.hl7.fhir.dstu3.model.Type makeSomethingFromGTS(List<Element> children) throws Exception
- Throws:
Exception
-
isGenerateMissingExtensions
public boolean isGenerateMissingExtensions()
-
setGenerateMissingExtensions
public void setGenerateMissingExtensions(boolean generateMissingExtensions)
-
-