The Character String with Code (SC) data type contains a character string that optionally may have a code attached. The text must always be present if a code is present. The code is often a local code.
If the name of the software(e.g. RamboRavage) is known
< softwareName> RamboRavage < /softwareName >
To indicate the name of software (RamboRavage)and code of the software(RaRv)
< softwareName code="1" codeSystem=" 22.214.171.124.222126.96.36.199.2.2222" displayName=" RamboRavage" >RaRv</softwareName>
To indicate that the software name is unknown
<softwareName nullFlavor=" UNK" />
1.NI -no information- This is the most general and default exceptional value. There is no information which can be inferred from this exceptional value.
2.MSK- masked – This particular item has a known proper value, but it cannot be released in a given context due to security, privacy or other reasons.
3. OTH- other -There is a value, but it is not an element in the value domain of a variable
NINF negative infinity of numbers
PINF positive infinity of numbers
4.UNK- unknown - proper value is applicable, but not known.
- ASKU - asked but unknown – information was sought from the source but not known (e.g., patient was asked but didn't know)
- NAV temporarily not available - Information is not available at this time but it is expected that it will be available later.
- NASK not asked - The Information was not requested from the patient
- QS Sufficient quantity – The actual quantity is not known but sufficient enough to achieve a specific goal. For example the advice can be add sufficient quantity of water to 10 mg of medicine
- TRC trace – The content is tool small to measure but a nonzero value
5. NA not applicable – There is no proper value for this data item for this patient; for example the date of last menstrual period is not applicable for a male.
The practical use of null can be gauged from different scenarios. For example a unconscious patient brought to the hospital have to be registered and most Patient Administration systems need at least one address. If the patient address is not known the patient address element <addr> can be set to UNK and sent to other down stream systems or repositories. If Sensitive/VIP patients need to be sent to other systems and if they do not have the same levels of security and control as the sending system have the sending system can send a null flavor of MSK indicating that they do not wish to expose the patients address.
But the usage of nullflavor has come under for huge criticism from different quarters notably from Barry Smith(Ref:http://hl7-watch.blogspot.com) where it was pointed out that the different nullflavors might lead to the need for different reasoning services and might become an overhead for message processing by applications. The other criticism of nullflavor is that the need for mandatory values for attributes would force systems to be modified to restrict users who normally ignore non-mandatory fields on screen to fill them with nullflavors. They need to be manually filled in with the real reason for that null value and proper nullflavor need to be entered on the screen. Some of the nullflavors like NAV (temporarily unavailable) are not very user intuitive terms for them to be selected. The values of +infinity and –infinity are mathematical conceptual numbers and does not indicate non-availability of data in any manner.
Organization such as CEN have rejected HL7V3 data types apart from Australia opposing the current draft ISO health data types standard (ISO 20190) based on HL7 v3 data types and one of the reasons it has been rejected or opposed is the huge confusion over usage of nullflavors(see the debate on nullflavors on openEHR website).