Interface I_ConceptAccess


  • public interface I_ConceptAccess
    access layer to Concepts ETHERCIS Project ehrservice Created by Christian Chevalley on 4/27/2015.
    • Method Detail

      • fetchConcept

        static UUID fetchConcept​(I_DomainAccess domainAccess,
                                 Integer conceptId,
                                 String language)
        retrieve a concept
        Parameters:
        domainAccess - SQL context
        conceptId - integer code
        language - language code ('en', 'fr' etc.)
        Returns:
        the record UUID or null if not found
      • fetchConceptText

        static com.nedap.archie.rm.datavalues.DvCodedText fetchConceptText​(I_DomainAccess domainAccess,
                                                                           UUID uuid)
      • fetchContributionChangeType

        static UUID fetchContributionChangeType​(I_DomainAccess domainAccess,
                                                String changeTypeStr)
        retrieve a concept
        Parameters:
        domainAccess - SQL context
        changeTypeStr - String representation of change type
        Returns:
        the record UUID
        Throws:
        IllegalArgumentException - when the given change type can't be found
      • getVlcsDraft

        static UUID getVlcsDraft​(I_DomainAccess domainAccess)
        convenience statics to get VERSION.lifecycle_state DRAFT (code: 244)
        Parameters:
        domainAccess - SQL context
        Returns:
        the record UUID
      • getVlcsActive

        static UUID getVlcsActive​(I_DomainAccess domainAccess)
        convenience statics to get VERSION.lifecycle_state ACTIVE (code: 245)
        Parameters:
        domainAccess - SQL context
        Returns:
        the record UUID
      • getVlcsInactive

        static UUID getVlcsInactive​(I_DomainAccess domainAccess)
        convenience statics to get VERSION.lifecycle_state INACTIVE (code: 246)
        Parameters:
        domainAccess - SQL context
        Returns:
        the record UUID
      • getVlcsAwaitingApproval

        static UUID getVlcsAwaitingApproval​(I_DomainAccess domainAccess)
        convenience statics to get VERSION.lifecycle_state AWAITING APPROVAL (code: 247)
        Parameters:
        domainAccess - SQL context
        Returns:
        the record UUID