Class HpdAddFeed
java.lang.Object
org.projecthusky.communication.requests.hpd.HpdRequest
org.projecthusky.communication.requests.hpd.HpdAddFeed
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.DsmlMessage
build()
Method implemented by all child classes which returns an instance ofDsmlMessage
void
createHCProfessional
(String dn, String uid, List<String> hcIdentifier, List<String> objectClass, Map<HpdAttributeName, List<String>> optionalAttributes, List<String> cn, String sn, String givenName, List<String> hcProfession, String displayName, List<String> hcRegistrationStatus) Responsible for filling the HPD Individual Provider Attributesvoid
createHCRegulatedOrganization
(String dn, String uid, List<String> hcIdentifier, List<String> objectClass, Map<HpdAttributeName, List<String>> optionalAttributes, List<String> businessCategory, List<String> hcRegisteredName, List<String> organizations) Responsible for filling the HPD Organizational Provider Attributesvoid
createHCRelationshipAttributes
(String owner, String commonName, String dn, List<String> objectClass, Map<HpdAttributeName, List<String>> optionalAttributes) Responsible for filling the HPD Relationship Attributesboolean
isValid()
Method implemented by all child classes used for validating mandatory constraints
-
Constructor Details
-
HpdAddFeed
public HpdAddFeed()
-
-
Method Details
-
createHCProfessional
public void createHCProfessional(String dn, String uid, List<String> hcIdentifier, List<String> objectClass, Map<HpdAttributeName, List<String>> optionalAttributes, List<String> cn, String sn, String givenName, List<String> hcProfession, String displayName, List<String> hcRegistrationStatus) Responsible for filling the HPD Individual Provider Attributes- Parameters:
dn
- Distinguished Name of the Provider Entry to be createduid
- Unique Entry IdentifierhcIdentifier
- Provider IdentifiersobjectClass
- The documentation above contains details about what objectClass isoptionalAttributes
- Optional Provider Attributescn
- Provider Known Namessn
- Provider Last NamegivenName
- Provider First NamehcProfession
- Provider TypedisplayName
- Provider Primary NamehcRegistrationStatus
- Only valid value is "Unknown" (case-insensitive)
-
createHCRegulatedOrganization
public void createHCRegulatedOrganization(String dn, String uid, List<String> hcIdentifier, List<String> objectClass, Map<HpdAttributeName, List<String>> optionalAttributes, List<String> businessCategory, List<String> hcRegisteredName, List<String> organizations) Responsible for filling the HPD Organizational Provider Attributes- Parameters:
dn
- Distinguished Name of the Provider Entry to be createduid
- Unique Entity IdentifierhcIdentifier
- Org IdentifiersobjectClass
- The documentation above contains details about what objectClass isoptionalAttributes
- Optional Org AttributesbusinessCategory
- Org TypehcRegisteredName
- Organization Nameorganizations
- Organization Known Names
-
createHCRelationshipAttributes
public void createHCRelationshipAttributes(String owner, String commonName, String dn, List<String> objectClass, Map<HpdAttributeName, List<String>> optionalAttributes) Responsible for filling the HPD Relationship Attributes- Parameters:
owner
- Owning OrganizationcommonName
- Relationship Namedn
- Distinguished Name of the Provider Entry to be createdobjectClass
- The documentation above contains details about what objectClass isoptionalAttributes
- Optional Relationship Attributes
-
build
public org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.DsmlMessage build()Description copied from class:HpdRequest
Method implemented by all child classes which returns an instance ofDsmlMessage
- Specified by:
build
in classHpdRequest
-
isValid
public boolean isValid()Description copied from class:HpdRequest
Method implemented by all child classes used for validating mandatory constraints- Overrides:
isValid
in classHpdRequest
-