Class CompositionAccess

    • Constructor Detail

      • CompositionAccess

        public CompositionAccess​(org.jooq.DSLContext context,
                                 I_KnowledgeCache knowledgeManager,
                                 IntrospectService introspectCache,
                                 ServerConfig serverConfig,
                                 com.nedap.archie.rm.composition.Composition composition,
                                 UUID ehrId)
        Basic constructor for composition.
        Parameters:
        context - DB context object of current server context
        knowledgeManager - Knowledge cache object of current server context
        introspectCache - Introspect cache object of current server context
        serverConfig - Server config object of current server context
        composition - Object representation of given new composition
        ehrId - Given ID of EHR this composition will be created for
        Throws:
        IllegalArgumentException - when seeking language code, territory code or composer ID failed
      • CompositionAccess

        public CompositionAccess​(I_DomainAccess domainAccess,
                                 com.nedap.archie.rm.composition.Composition composition,
                                 UUID ehrId)
        Constructor with convenient I_DomainAccess parameter, for better readability.
        Parameters:
        domainAccess - Current domain access object
        composition - Object representation of given new composition
        ehrId - Given ID of EHR this composition will be created for
        Throws:
        IllegalArgumentException - when seeking language code, territory code or composer ID failed