Package net.ihe.gazelle.hl7v3.datatypes
Class PQ
java.lang.Object
net.ihe.gazelle.gen.common.CommonOperations
net.ihe.gazelle.hl7v3.datatypes.ANY
net.ihe.gazelle.hl7v3.datatypes.QTY
net.ihe.gazelle.hl7v3.datatypes.PQ
- All Implemented Interfaces:
Serializable
Description of the class PQ.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionAn alternative representation of the same physical quantity expressed in a different unit, of a different unit code system and possibly with a different value. .The unit of measure specified in the Unified Code for Units of Measure (UCUM) [http://aurora.rg.iupui.edu/UCUM]. .The magnitude of the quantity measured in terms of the unit. .Fields inherited from class net.ihe.gazelle.hl7v3.datatypes.ANY
mixed, nullFlavor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTranslation
(PQR translation_elt) Add a translation to the translation collection.Return translation.getUnit()
Return unit.getValue()
Return value.void
removeTranslation
(PQR translation_elt) Remove a translation to the translation collection.void
set_xmlNodePresentation
(Node _xmlNodePresentation) void
setTranslation
(List<PQR> translation) Set a value to attribute translation.void
Set a value to attribute unit.void
Set a value to attribute value.static void
validateByModule
(PQ pQ, String _location, ConstraintValidatorModule cvm, List<Notification> diagnostic) validate by a module of validationMethods inherited from class net.ihe.gazelle.hl7v3.datatypes.QTY
validateByModule
Methods inherited from class net.ihe.gazelle.hl7v3.datatypes.ANY
getNullFlavor, setNullFlavor, validateByModule
Methods inherited from class net.ihe.gazelle.gen.common.CommonOperations
getValuesetChecker, isBIN, isCSType, isDTM, isOID, isRUID, isSTType, isTSType, isUID, isUUID, isXCN, isXON, isXPN, matches, matches, matches, matches, matchesCodeToValueSet, matchesValueSet, matchesValueSetWithDisplayName, setValuesetChecker, setValueSetProvider
-
Field Details
-
translation
An alternative representation of the same physical quantity expressed in a different unit, of a different unit code system and possibly with a different value. . -
unit
The unit of measure specified in the Unified Code for Units of Measure (UCUM) [http://aurora.rg.iupui.edu/UCUM]. . -
value
The magnitude of the quantity measured in terms of the unit. .
-
-
Constructor Details
-
PQ
public PQ()
-
-
Method Details
-
getTranslation
Return translation.- Returns:
- translation : An alternative representation of the same physical quantity expressed in a different unit, of a different unit code system and possibly with a different value.
-
setTranslation
Set a value to attribute translation.- Parameters:
translation
- : An alternative representation of the same physical quantity expressed in a different unit, of a different unit code system and possibly with a different value.
-
addTranslation
Add a translation to the translation collection.- Parameters:
translation_elt
- Element to add.
-
removeTranslation
Remove a translation to the translation collection.- Parameters:
translation_elt
- Element to remove
-
getUnit
Return unit.- Returns:
- unit : The unit of measure specified in the Unified Code for Units of Measure (UCUM) [http://aurora.rg.iupui.edu/UCUM].
-
setUnit
Set a value to attribute unit.- Parameters:
unit
- : The unit of measure specified in the Unified Code for Units of Measure (UCUM) [http://aurora.rg.iupui.edu/UCUM].
-
getValue
Return value.- Returns:
- value : The magnitude of the quantity measured in terms of the unit.
-
setValue
Set a value to attribute value.- Parameters:
value
- : The magnitude of the quantity measured in terms of the unit.
-
get_xmlNodePresentation
- Overrides:
get_xmlNodePresentation
in classQTY
-
set_xmlNodePresentation
- Overrides:
set_xmlNodePresentation
in classQTY
-
validateByModule
public static void validateByModule(PQ pQ, String _location, ConstraintValidatorModule cvm, List<Notification> diagnostic) validate by a module of validation
-