public static class OccupationalData.OccupationalDataUsualWorkComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
duration
Total of all periods of time a person has spent in the usual occupation, not including intermittent period(s) where the person was not working in that occupation.
|
protected CodeableConcept |
industry
A code that represents the type of business a person has worked in for the longest total time while in the usual occupation.
|
protected CodeableConcept |
occupation
A code that represents the type of work a person has held for the longest amount of time during his or her life.
|
protected DateTimeType |
start
The date when a person first started working in their usual occupation.
|
modifierExtension| Constructor and Description |
|---|
OccupationalDataUsualWorkComponent()
Constructor
|
OccupationalDataUsualWorkComponent(CodeableConcept occupation,
CodeableConcept industry)
Constructor
|
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected CodeableConcept occupation
protected CodeableConcept industry
protected DateTimeType start
public OccupationalDataUsualWorkComponent()
public OccupationalDataUsualWorkComponent(CodeableConcept occupation, CodeableConcept industry)
public CodeableConcept getOccupation()
occupation (A code that represents the type of work a person has held for the longest amount of time during his or her life.)public boolean hasOccupation()
public OccupationalData.OccupationalDataUsualWorkComponent setOccupation(CodeableConcept value)
value - occupation (A code that represents the type of work a person has held for the longest amount of time during his or her life.)public CodeableConcept getIndustry()
industry (A code that represents the type of business a person has worked in for the longest total time while in the usual occupation.)public boolean hasIndustry()
public OccupationalData.OccupationalDataUsualWorkComponent setIndustry(CodeableConcept value)
value - industry (A code that represents the type of business a person has worked in for the longest total time while in the usual occupation.)public DateTimeType getStartElement()
start (The date when a person first started working in their usual occupation.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the valuepublic boolean hasStartElement()
public boolean hasStart()
public OccupationalData.OccupationalDataUsualWorkComponent setStartElement(DateTimeType value)
value - start (The date when a person first started working in their usual occupation.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the valuepublic Date getStart()
public OccupationalData.OccupationalDataUsualWorkComponent setStart(Date value)
value - The date when a person first started working in their usual occupation.public Duration getDuration()
duration (Total of all periods of time a person has spent in the usual occupation, not including intermittent period(s) where the person was not working in that occupation.)public boolean hasDuration()
public OccupationalData.OccupationalDataUsualWorkComponent setDuration(Duration value)
value - duration (Total of all periods of time a person has spent in the usual occupation, not including intermittent period(s) where the person was not working in that occupation.)protected void listChildren(List<Property> children)
listChildren in class BackboneElementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic OccupationalData.OccupationalDataUsualWorkComponent copy()
copy in class BackboneElementpublic boolean equalsDeep(Base other_)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other_)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in class BackboneElementCopyright © 2014–2018 University Health Network. All rights reserved.