HS.FHIR.DTL.Util.Element.TypeCast
class HS.FHIR.DTL.Util.Element.TypeCast
Method Inventory
- Base64Decode()
- Base64Encode()
- DateToFHIR()
- FHIRDateToSDA3()
- FromDiv()
- ToDiv()
- booleanTOcode()
- codeTOboolean()
- codeTOkeyword()
- codeTOuri()
- dateTimeTOdate()
- idTOstring()
- integerTOpositiveInt()
- integerTOunsignedInt()
- keywordTOcode()
- markdownTOstring()
- positiveIntTOinteger()
- positiveIntTOstring()
- stringTOid()
- stringTOmarkdown()
- stringTOpositiveInt()
- stringTOuri()
- unsignedIntTOinteger()
- uriTOcode()
- uriTOstring()
Methods
Base64 decode the source string
Base64 encode the source string.
Convert an SDA3 date format to a valid FHIR date. Can convert
to any of the FHIR date types - date, dateTime, time, instant.
fromVal - the SDA3 date
toType - the FHIR data type, used to determine which format to output
the date in.
Convert a FHIR date back to an SDA3 date. Any of the FHIR
date data types can be used as inputs. If the input is
detected as invalid, then this method will Throw an error.
Convert a valid div element in FHIR to a text
string.
Convert a standard text string to a format that
is a valid div element in FHIR.