Class ChEmedEprPractitioner

java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.model.BaseResource
org.hl7.fhir.r4.model.Resource
org.hl7.fhir.r4.model.DomainResource
org.hl7.fhir.r4.model.Practitioner
All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IAnyResource, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions, org.hl7.fhir.instance.model.api.IBaseResource, org.hl7.fhir.instance.model.api.IDomainResource

public class ChEmedEprPractitioner extends ChCorePractitionerEpr
The HAPI custom structure for CH-EMED-EPR Practitioner.
Author:
Quentin Ligier
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.hl7.fhir.r4.model.Practitioner

    org.hl7.fhir.r4.model.Practitioner.PractitionerQualificationComponent
  • Field Summary

    Fields inherited from class org.hl7.fhir.r4.model.Practitioner

    active, ACTIVE, address, ADDRESS, ADDRESS_CITY, ADDRESS_COUNTRY, ADDRESS_POSTALCODE, ADDRESS_STATE, ADDRESS_USE, birthDate, communication, COMMUNICATION, EMAIL, FAMILY, gender, GENDER, GIVEN, identifier, IDENTIFIER, name, NAME, PHONE, PHONETIC, photo, qualification, SP_ACTIVE, SP_ADDRESS, SP_ADDRESS_CITY, SP_ADDRESS_COUNTRY, SP_ADDRESS_POSTALCODE, SP_ADDRESS_STATE, SP_ADDRESS_USE, SP_COMMUNICATION, SP_EMAIL, SP_FAMILY, SP_GENDER, SP_GIVEN, SP_IDENTIFIER, SP_NAME, SP_PHONE, SP_PHONETIC, SP_TELECOM, telecom, TELECOM

    Fields inherited from class org.hl7.fhir.r4.model.DomainResource

    contained, extension, modifierExtension, text

    Fields inherited from class org.hl7.fhir.r4.model.Resource

    id, implicitRules, language, meta

    Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource

    RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG

    Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource

    INCLUDE_ALL, WILDCARD_ALL_SET
  • Constructor Summary

    Constructors
    Constructor
    Description
    Empty constructor for the parser.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.hl7.fhir.r4.model.Address
    Resolves the address.
    Resolves the practitioner's GLN identifier.
    org.hl7.fhir.r4.model.HumanName
    Resolves the human name.
    setAddress(org.hl7.fhir.r4.model.Address address)
    Sets the practitioner's address.
    setName(org.hl7.fhir.r4.model.HumanName humanName)
    Sets the practitioner's name.

    Methods inherited from class org.projecthusky.fhir.core.ch.resource.r4.ChCorePractitioner

    addZsr, resolveZsr, setGln

    Methods inherited from class org.hl7.fhir.r4.model.Practitioner

    addAddress, addAddress, addChild, addCommunication, addCommunication, addIdentifier, addIdentifier, addName, addName, addPhoto, addPhoto, addQualification, addQualification, addTelecom, addTelecom, copyValues, equalsDeep, equalsShallow, fhirType, getActive, getActiveElement, getAddress, getAddressFirstRep, getBirthDate, getBirthDateElement, getCommunication, getCommunicationFirstRep, getGender, getGenderElement, getIdentifier, getIdentifierFirstRep, getName, getNamedProperty, getNameFirstRep, getPhoto, getPhotoFirstRep, getProperty, getQualification, getQualificationFirstRep, getResourceType, getTelecom, getTelecomFirstRep, getTypesForProperty, hasActive, hasActiveElement, hasAddress, hasBirthDate, hasBirthDateElement, hasCommunication, hasGender, hasGenderElement, hasIdentifier, hasName, hasPhoto, hasQualification, hasTelecom, isEmpty, listChildren, makeProperty, removeChild, setActive, setActiveElement, setAddress, setBirthDate, setBirthDateElement, setCommunication, setGender, setGenderElement, setIdentifier, setName, setPhoto, setProperty, setProperty, setQualification, setTelecom, typedCopy

    Methods inherited from class org.hl7.fhir.r4.model.DomainResource

    addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasPrimitiveExtension, hasText, setContained, setExtension, setModifierExtension, setText

    Methods inherited from class org.hl7.fhir.r4.model.Resource

    copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta

    Methods inherited from class org.hl7.fhir.r4.model.BaseResource

    getStructureFhirVersionEnum, isResource, setId

    Methods inherited from class org.hl7.fhir.r4.model.Base

    castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, 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, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN, setXhtml

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource

    getId, getIdElement, getLanguageElement, getUserData, setId, setUserData

    Methods inherited from interface org.hl7.fhir.instance.model.api.IBase

    getFormatCommentsPost, getFormatCommentsPre, hasFormatComment

    Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource

    getMeta, getStructureFhirVersionEnum, isDeleted, setId
  • Constructor Details

    • ChEmedEprPractitioner

      public ChEmedEprPractitioner()
      Empty constructor for the parser.
  • Method Details

    • resolveGln

      @ExpectsValidResource public String resolveGln()
      Resolves the practitioner's GLN identifier. A single identifier is expected.
      Overrides:
      resolveGln in class ChCorePractitioner
      Returns:
      the GLN identifier.
      Throws:
      InvalidEmedContentException - if the GLN is missing.
    • resolveName

      @ExpectsValidResource public org.hl7.fhir.r4.model.HumanName resolveName()
      Resolves the human name.
      Returns:
      the human name.
      Throws:
      InvalidEmedContentException - if the human name is missing.
    • resolveAddress

      @ExpectsValidResource public org.hl7.fhir.r4.model.Address resolveAddress()
      Resolves the address.
      Returns:
      the address.
      Throws:
      InvalidEmedContentException - if the address is missing.
    • setName

      public ChEmedEprPractitioner setName(org.hl7.fhir.r4.model.HumanName humanName)
      Sets the practitioner's name. If the name already exists, it's replaced.
      Parameters:
      humanName - the practitioner's name.
      Returns:
      this.
    • setAddress

      public ChEmedEprPractitioner setAddress(org.hl7.fhir.r4.model.Address address)
      Sets the practitioner's address. If the address already exists, it's replaced.
      Parameters:
      address - the practitioner's address.
      Returns:
      this.
    • copy

      public ChEmedEprPractitioner copy()
      Overrides:
      copy in class org.hl7.fhir.r4.model.Practitioner